MyBB Community Forums

Full Version: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTIO
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

"Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' "

I was having trouble with my MyBB installation (for some rerason the DB reverted to a copy of itself from many months before for no apparent reason, another story).

Anyway, I just copied over the 1.6 files to update my install...and the above error is the result.

Any advice? Thanks for any help, appreciated.

Cheers

Steve
there is no need to worry, read my thread http://community.mybb.com/thread-74962.html

but wait before you do any more changes, let an expert to reply to your thread.
Make sure you run the upgrade script after you upload the files also.

That error shouldn't be happening though so just try reuploading the files again.
You need PHP 5
5.1+ to be precise.