• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR

#1
I'm getting the following error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/somename/public_html/forum/install/index.php on line 8


Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/somename/public_html/forum/index.php on line 11

I have uploaded the "upload" contents 3 times already and the problem persists.

Server details:
cPanel Version

11.28.75


Apache version

1.3.42


PHP version

5.2.9


MySQL version

4.1.22-standard


Architecture

i686


Operating system

linux


Perl version

5.8.8


Kernel version

2.6.18-194.11.3.el5PAE
 

Mike

XenForo developer
Staff member
#4
I also think that PHP version may not be correct, as that error comes up before any MySQL stuff is involved. It seems to indicate a much older version of PHP being used, possibly even PHP 4.