vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Parse error (https://vborg.vbsupport.ru/showthread.php?t=68506)

wreck 08-19-2004 02:31 AM

Parse error
 
Parse error: parse error, unexpected $ in /home/mvzsvhjf/public_html/board/index.php on line 359

i tried installing the who was online today hack and for some reason it didnt work, so i have basically reversed it all and im getting the same parse error except its just pointing to a different line number

Modin 08-19-2004 03:15 AM

post that line and surrounding lines...

probably missing a ; or something...

wreck 08-19-2004 03:19 AM

Parse error: parse error, unexpected $ in /home/mvzsvhjf/public_html/board/index.php on line 368

after finsing some missing lines and putting them in im getting this parse

BUT i only have 367 lines not 368


heres my index just incase i've missed something

Code:

You are not allowed to post full vB files - assassingod

wreck 08-19-2004 03:29 AM

i really cant find anything :(

rs-host.net 08-19-2004 03:45 AM

Seems you installed a hack and left part of it out.

if you kept a back up of the file reupload it then try the install of the hack again.

Modin 08-19-2004 04:00 AM

can you attach the entire file so that we can see?

That sometimes happens when you're missing a { or }

Zachery 08-19-2004 07:28 AM

Quote:

Originally Posted by Modin
can you attach the entire file so that we can see?

That sometimes happens when you're missing a { or }

No he CANNOT attach a FULL vBulletin File

You are not allowed to post full vB files - assassingod <<

MindTrix 08-19-2004 08:17 AM

Take it easy Zachery ;) Some people arent aware they cannot post full files, and seeing as your vBulletin staff you think you could post a more friendlier/useful post ;)

Zachery 08-19-2004 09:17 AM

Quote:

Originally Posted by MindTrix
Take it easy Zachery ;) Some people arent aware they cannot post full files, and seeing as your vBulletin staff you think you could post a more friendlier/useful post ;)

As modin originaly stated you could post 5-10 lines before and after line 367

:)

Next time i feel i shall use the highlight code as well as a bold and an underline ;)

wreck 08-19-2004 10:00 AM

well sorry i didnt know you couldnt post full vb files.... i havent seen anything anywaywhere that i cant do it

ok well i tried re-installing the hack i tried doing, and i get this

Parse error: parse error, unexpected $ in /home/mvzsvhjf/public_html/board/index.php on line 424

but the file has 423 lines not 424 but heres the end of the file

Code:

  } // END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) {

  unset($iforumcache["$forumid"]);
  return $forumbits;
}

if (!isset($forumid) or $forumid==0 or $forumid=='') {
  $forumid=-1;
} else {
  // need to get permissions for this specific forum
  $permissions=getpermissions(intval($forumid));
}
$forumbits=makeforumbit(intval($forumid), 1, $permissions);

$unregwelcomemessage='';
if ($bbuserinfo['userid']==0) {
  eval("\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";");
}

eval("dooutput(\"".gettemplate('forumhome')."\");");

?>



All times are GMT. The time now is 06:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01141 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete