Parse error: syntax error, unexpected T_OBJECT_OPERATOR

P.Anthony

Member
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
 

P.Anthony

Member
Thanks for the quick reply. I completely missed that. Hopefully, my client will consider upgrading to a VPS.
 

Mike

XenForo developer
Staff member
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.
 
Top