Page 1 of 1

Parse error: syntax error, unexpected T_STRING, expecting ')

PostPosted: Tue Apr 15, 2008 9:59 pm
Author: River
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://beta4.katanazone.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
Working in the PCP. Had to rename the CTracker to CTracker000 because it kept telling me about "attacks". Changed the name for user_interests from Interests to Current Gear. Then changed Holiday to On Vacation mode active. Renamed CTracker000 back to Ctracker and got the following error and I can't get back to the site.

Error =
Parse error: syntax error, unexpected T_STRING, expecting ')' in /KatanaZone4/profilcp/def/def_userfields.php on line 1390



What was done to try to solve the problem?
Before I got "kicked off" the ACP, I put everything back the way it was.



De.scription and Message

Problem discribed above...

Re: Parse error: syntax error, unexpected T_STRING, expectin

PostPosted: Tue Apr 15, 2008 11:47 pm
Author: Helter
replace profilcp/def/def_userfields.php with a fresh one. and check that it is chmod'd to 777

PostPosted: Wed Apr 16, 2008 6:29 am
Author: River
Worked like a charm - MUCH THANKS!!! <img>

PostPosted: Wed Apr 16, 2008 6:41 am
Author: River
What caused the file to puke?

Re: Parse error: syntax error, unexpected T_STRING, expectin

PostPosted: Wed Apr 16, 2008 6:11 pm
Author: Helter
i dont know why, but I have one forum that adds a <some> tag at the beginning and the end of all my cache files whenever the acp alters a file. On that site, i have to make my acp edits then open the file, usually def_tree.php and remove the tags and all is well again

PostPosted: Wed Apr 16, 2008 8:25 pm
Author: River
That sucks...

So many things you have to do, to do simple edits... <img>

Re: Parse error: syntax error, unexpected T_STRING, expectin

PostPosted: Wed Apr 16, 2008 11:07 pm
Author: Helter
I am sure this is caused by adding a mod incorrectly, but I have so many mods on that board and they all seem to work, so fixing it hasnt been one of my top priorities.