Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Mar 2004, 01:06
weaver weaver is offline
 
Join Date: Mar 2004
parse error?

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?
Reply With Quote
  #2  
Old 30 Mar 2004, 01:09
lasto lasto is offline
 
Join Date: Jan 2002
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
Reply With Quote
  #3  
Old 30 Mar 2004, 01:17
weaver weaver is offline
 
Join Date: Mar 2004
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?
Reply With Quote
  #4  
Old 30 Mar 2004, 01:48
lasto lasto is offline
 
Join Date: Jan 2002
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
Reply With Quote
  #5  
Old 30 Mar 2004, 02:54
weaver weaver is offline
 
Join Date: Mar 2004
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*
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:51.

Layout Options | Width: Wide Color: