Parse error: syntax error, unexpected T_OBJECT_OPERATOR

Archived from the Xataface Users forum.

TBriggs — Tue Dec 01, 2009 6:30 am

I had to move my database to a new host, so I installed a brand new version of xataface 1.2.2 on the new server. I brought all the ini files over from the old server, making the necessary changes. When I try to start xataface I get the following error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/4/d292789418/htdocs/GPATB/Interface/xataface/xataface-1.2.2/dataface-public-api.php on line 472

My hosting company is running PHP 4.

Any help in sorting this out would be very welcome - thanks!


Jean — Tue Dec 01, 2009 8:28 am

Hello,

For this version you need PHP5. I am afraid you need to downgrade your version of Xataface a bit.

I use xataface-1.1.2

Jean


TBriggs — Tue Dec 01, 2009 11:48 am

Jean wrote:Hello,
For this version you need PHP5. I am afraid you need to downgrade your version of Xataface a bit.
I use xataface-1.1.2
Jean

Thanks!

I see a place to download version 1.1.5. Would this work under PHP4? If not, do you know where I can still find 1.1.2?

Thanks again.


shannah — Tue Dec 01, 2009 1:49 pm

I believe 1.1.5 should work with PHP 4.