SOLVED: Fatal error: Undefined class name 'dataface_error'

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

SOLVED: Fatal error: Undefined class name 'dataface_error'

Postby Towncat » Thu Sep 04, 2008 1:13 pm

Hi,

I have a new installation of xataface. I created a database, a conf.ini, an index.php, according to the installation instructions (hopefuly), but I get this error:

Fatal error: Undefined class name 'dataface_error' in /var/hosting/web/domain.com/website/workshop/xataface/Dataface/Application.php on line 620

Googled it, without a result, too.

Any ideas?

Thanks,
tc.
Towncat
 
Posts: 2
Joined: Thu Sep 04, 2008 1:01 pm

Postby Towncat » Fri Sep 05, 2008 12:31 am

The solution was manyfold. First I deleted from Application.php line 620 the part Dataface_Error::PrintStackTrace(). This gave me a verbose error message, saying that I should either turn off php safe mode or make the tmp dir for xatace writeable. I did the first and it works now. Adding "session_save_path('/path/to/dir');" to index.php in the application, where dir is a server writable tmp dir, would probably help too, but I haven't tested this.

Cheers,
tc
Towncat
 
Posts: 2
Joined: Thu Sep 04, 2008 1:01 pm

Postby shannah » Fri Sep 05, 2008 1:22 pm

Hi,

Glad you solved it. It is also fixed in the dev version:
http://weblite.ca/svn/dataface/core/tru ... cation.php

This is an issue that appears to be happening with the current release of xataface when it can't find the temp directory.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby manskie » Mon Sep 22, 2008 11:04 pm

shannah wrote:Hi,

Glad you solved it. It is also fixed in the dev version:
http://weblite.ca/svn/dataface/core/tru ... cation.php

This is an issue that appears to be happening with the current release of xataface when it can't find the temp directory.

-Steve


Thx4 this post. Helped me 2 solve the same problem!
manskie
 
Posts: 6
Joined: Mon Sep 22, 2008 3:29 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 31 guests

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