Character Browser Parse error
Reply
Parse error
What would cause the following error?

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in include\itemclass.php on line 64

This is running on a Windows server, with the newest PEQ database revision.

You can test it here: http://www.theorderofsin.com/charbrowser/
Wed Aug 11, 2010 12:46 pm
My immediate thought is that you in PHP 4, and that the public/private keywords are breaking it. Try editing includes/itemclass.php, go to line 64, and remove the "private". Rerun and see if you get a new error on a new line.
Wed Aug 11, 2010 4:04 pm
Project Lead
oh, and if that is the case, i would suggest upgrading php, or going through the files line by line and removing the "private/public"
Wed Aug 11, 2010 4:05 pm
Project Lead
Yes, I am using PHP4. I will give that a shot, and maybe I will update PHP if the rest fails. Thanks for the response.
Wed Aug 11, 2010 4:06 pm
As a follow-up, yes that fixed it. Thank you again, for your time.
Wed Aug 11, 2010 4:10 pm
You're welcome, im glad it was an easy fix
Wed Aug 11, 2010 7:45 pm
Project Lead
Character Browser Parse error
Reply