Page 1 of 1

SOLVED: Fatal error: Undefined class name 'dataface_error'

PostPosted: Thu Sep 04, 2008 1:13 pm
by Towncat
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.

PostPosted: Fri Sep 05, 2008 12:31 am
by Towncat
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

PostPosted: Fri Sep 05, 2008 1:22 pm
by shannah
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

PostPosted: Mon Sep 22, 2008 11:04 pm
by manskie
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!