unexpected T_OBJECT_OPERATOR in dataface-public-api.php

A place for users and developers of the Xataface to discuss and receive support.

unexpected T_OBJECT_OPERATOR in dataface-public-api.php

Postby egretta » Fri Nov 13, 2009 1:23 am

Hi,
i've just made a fresh install of xataface on a Linux webserver, but I get the following error message in my application directory:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /.../public_html/evaluation/admin/xataface/dataface-public-api.php on line 472

On my local (Windows) webserver everything works fine. The file dataface_info.php says, everything is installed correctly. I didn't touch any of the files in the xataface directory. Can anybody help me?
Thanks
Ralf
egretta
 
Posts: 3
Joined: Thu Nov 12, 2009 3:42 pm

Postby tomhousley » Fri Nov 13, 2009 5:12 am

What version of PHP are you running?

Try version 5.
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom

Postby egretta » Fri Nov 13, 2009 5:36 am

You are right, on the server is php4. But I have no possibility to upgrade to php5. Isn't there another possibility?
egretta
 
Posts: 3
Joined: Thu Nov 12, 2009 3:42 pm

Postby tomhousley » Fri Nov 13, 2009 6:23 am

As far as I'm aware latest version is only compatible with PHP5. Perhaps until someone can suggest a workaround, try an older version of xataface from: http://sourceforge.net/projects/dataface/files/
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom

Postby egretta » Fri Nov 13, 2009 8:32 am

Thanks for fast reply. I downgraded now to version 1.1.5
Probably it should work but as my server works in safe mode, I ran into other problems. Even if I create the tmp directory manually and include session_save_path() in my application directory, the created session files belong to another user group and everything stops...
egretta
 
Posts: 3
Joined: Thu Nov 12, 2009 3:42 pm

Postby shannah » Mon Nov 16, 2009 4:31 pm

Sorry. Safe mode is a no go with Xataface. It mucks with the permissions when creating directories which affects xataface's ability to manage its template compilation.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 18 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved