PDA

View Full Version : T_string Error in index1.php


UP_Webmaster
07-17-2006, 03:40 AM
Well the other day I went to our site and it worked, but went back a few hours later and I got this error.

I posted this on vbulletin.com and they told me to come here.

Parse error: syntax error, unexpected T_STRING in ..../public_html/forums/modules/navigation.php on line 19

I have NO clue what that is. Can someone help me? Anyone know how to fix it?

Thanks

KW802
07-17-2006, 10:16 AM
A T_STRING error is usually the result of a bad edit or a file that was transferred with an error (EG: Some FTP clients like to transfer PHP file as ASCII instead of binary which can cause problems).

Let's start with the quickest 'try this' solution first.... re-upload a fresh copy the /modules/navigation.php file to your server and make sure it's transferred in binary mode.

Our Sponsors
 

UP_Webmaster
07-17-2006, 12:02 PM
I did that, then modules.php through a similiar error on line 43, onlineusers.php "Parse error: syntax error, unexpected T_STRING in ..../public_html/forums/modules/onlineusers.php on line 138"

WTF - Every damn file is throwing an error. This worked THursday night and friday, but friday night it was like this.....damn it!

Had to replace like every file in that folder, but now it works.....

KW802
07-17-2006, 02:08 PM
Any chance your host did a restore or anything?