PDA

View Full Version : Parse error


wreck
08-19-2004, 02:31 AM
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

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
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
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

} // 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
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
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 :(