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')."\");");

?>


wreck 08-19-2004 10:07 AM

right.... im really confused, i tried installing the original index which has had no hacks added to it and im getting the same thing again

Zachery 08-19-2004 10:10 AM

Quote:

Originally Posted by wreck
right.... im really confused, i tried installing the original index which has had no hacks added to it and im getting the same thing again

If you uploaded the original file you should not have any problems O.o

wreck 08-19-2004 10:30 AM

ive sorted it now

seems everytime i uploaded the original, another admin tried fixing the problem and was uploading the messed up file

cheers

Zachery 08-19-2004 10:31 AM

Quote:

Originally Posted by wreck
ive sorted it now

seems everytime i uploaded the original, another admin tried fixing the problem and was uploading the messed up file

cheers

Bad other admin, ^_^

Glad you fixed your problem, good luckw tih your forums :D

wreck 08-19-2004 11:16 AM

lol yeah bad other admin... he messed it up from trying to install a hack for his first time :-\

btw is there any hack that allows me to upload several template files at once? instead of me having to make them one by one?

and thanks for the good luck :D

Modin 08-19-2004 03:48 PM

lol, I usually tell my other admins to not touch anything without telling me first :p

it can be one of the most frustating things, glad you got it sorted :)

As for your template hack, I haven't seen one but someone else may have...

wreck 08-19-2004 06:24 PM

:Dthanks lol

i dont need the upload hack thingy now... i did them manually... but i cant get any custom vB/BB code working now :(


All times are GMT. The time now is 04:52 PM.

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.01117 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete