Log in

View Full Version : parse error?


weaver
03-29-2004, 11:06 PM
Parse error: parse error, unexpected T_CASE in /home3/shb4_003/mysite.com/public_html/forums/includes/functions_online.php on line 703
What does this error mean? I was installing a new hack when my server went down last night. Now I'm getting an error when I try to view member profiles or view who's online. How do I figure out where line 703 is?

lasto
03-29-2004, 11:09 PM
sounds like u missing a ; on line 703 in the file functions_online.php

recheck what hack u was doing and make sure u added the code correct - if not revert to a backup

to find out what line 703 is use a program like Ultra edit which is better for php files anyway

http://www.ultraedit.com/

Good for php files :)

weaver
03-29-2004, 11:17 PM
Thanks... I think it is something that happened when installing the new hack because now I am getting this error and also my bot is no longer replying to posts. I am installing Ultra Edit and hoping it will pinpoint the problem.

When you say revert to a backup... I did a backup yesterday and have a SQL file. Do you mean I should do something with that?

lasto
03-29-2004, 11:48 PM
no m8 when u doing hacks u supposed to backup the files so u always have a copy to go back to incase soemthing goes wrong.So in this case u would of had a backup of functions_online.php.If not just retrace your steps and in future always save a copy of the file u are editing (BEFORE EDITING :) )to a seperate folder on your H/D so if anything goes wrong u can always use the file that u backedup

weaver
03-30-2004, 12:54 AM
Thanks... Unfortunately I had to learn your advice the hard way since I didn't back anything up. But I will remember to do this in the future! I was able to get the other program reverted and fixed the issues with viewing profiles... but the other program it affected is still not working correctly. *sigh*