[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
Xataface Forums • View topic - Post Installation - Fatal error: Class 'Dataface_Error' ...

Post Installation - Fatal error: Class 'Dataface_Error' ...

A place to discuss and receive support for the Library DB application.

Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby pepo80 » Tue Jul 22, 2008 8:13 am

pepo80
 
Posts: 5
Joined: Wed Jul 16, 2008 8:43 am

Postby shannah » Tue Jul 22, 2008 3:43 pm

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

Postby pepo80 » Thu Jul 24, 2008 8:06 am

pepo80
 
Posts: 5
Joined: Wed Jul 16, 2008 8:43 am

Postby shannah » Fri Jul 25, 2008 4:18 pm

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

Postby pepo80 » Mon Jul 28, 2008 9:30 am

pepo80
 
Posts: 5
Joined: Wed Jul 16, 2008 8:43 am

Postby shannah » Mon Jul 28, 2008 4:03 pm

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

Postby aidan » Thu Oct 09, 2008 1:21 am

Hello Steve & All,

I found this thread because I experienced the same problem. I updated Application.php to the version posted here. It got me past the 1st problem (Fatal error: Class 'Dataface_Error' not found in...) but now I get:

Configuration Required

Dataface was unable to create the directory '/var/lib/php5/5c0d1584db6dca2105873f2314f544c0' to store its session files.
Possible reasons for this:

* The script does not have permission to create the directory.
* The server is operating in safe mode.

Possible Solutions for this:

* Make the /var/lib/php5 writable by the web server. E.g. chmod 0777 /var/lib/php5.
* Manually create the '/var/lib/php5/5c0d1584db6dca2105873f2314f544c0' directory and make it writable by the web server.
* Change the session save path to a directory to which you have write permissions by adding the following to the beginning of your application's index.php file:

session_save_path('/path/to/dir');

* If none of these solves the problem, visit the Dataface forum at http://fas.sfu.ca/dataface/forum and ask for help.

Debugging Information:
On line 675 of file /var/www/vhosts/cultures.cawthron.org.nz/httpdocs/xataface/Dataface/Application.php in function printStackTrace()
On line 1403 of file /var/www/vhosts/cultures.cawthron.org.nz/httpdocs/xataface/Dataface/Application.php in function startSession()
On line 5 of file /var/www/vhosts/cultures.cawthron.org.nz/httpdocs/admin/index.php in function display()


By the way, I do not have shell access to the server, just FTP and Plesk access.

Any help appreciated.

Regards,
Aidan Curran
aidan
 
Posts: 11
Joined: Thu Oct 09, 2008 1:15 am
Location: New Zealand

Postby shannah » Fri Oct 17, 2008 8:10 am

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

Postby aidan » Sun Oct 19, 2008 3:55 pm

aidan
 
Posts: 11
Joined: Thu Oct 09, 2008 1:15 am
Location: New Zealand

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby ebookbox » Sun May 09, 2010 6:27 pm

hello Steve

i was also running in Fatal error: Class 'Dataface_Error'
after installation.
after reading this threat
i changed the
/users/myusername/librariandb-0.2/dataface/Dataface/Application.php
with the "new" at
http://weblite.ca/svn/dataface/core/tru ... cation.php
i added to my user dir:
/home/fh/users/i/s/myusername/www/
a temp dir
/home/fh/users/i/s/myusername/www/temp/
("userroot"/temp/)
altered
/users/myusername/librariandb-0.2/index.php
like this
----file:index.php----start
<?php
session_save_path('/home/fh/users/i/s/myusername/www/temp/');
$install = false;
.......following lines not listet.........

and it runs well till to the book list screen
named : books - Dataface Application
on a server at save mod

thanks ebookbox
ebookbox
 
Posts: 4
Joined: Sun May 09, 2010 4:36 pm

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby ebookbox » Sun May 09, 2010 7:40 pm

hello Steve

after a bright sunbeam here comes a cloud:

as admin:
after set altering record 1 :A Harmony of Samuel, Kings, and Chronicles
i got this meassages several times (33x repeated):

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/share/pear/Dataface/FormTool/textarea.php) is not within the allowed path(s): (/home/fh/users/i/s/myusername/www:/home/tmp/php) in /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/Dataface/FormTool.php on line 629

start altering
cause:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/share/pear/Dataface/FormTool/static.php) is not within the allowed path(s): (/home/fh/users/i/s/myusername/www:/home/tmp/php) in /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/Dataface/FormTool.php on line 629

Warning: Cannot modify header information - headers already sent by (output started at /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/Dataface/FormTool.php:629) in /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/actions/edit.php on line 188

maybe the colon after www is the reason?

creating a new record is also not possible same reason?

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/share/pear/Dataface/FormTool/static.php) is not within the allowed path(s): (/home/fh/users/i/s/myusername/www:/home/tmp/php) in /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/Dataface/FormTool.php on line 629

Warning: Cannot modify header information - headers already sent by (output started at /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/Dataface/FormTool.php:629) in /home/fh/users/i/s/myusername/www/librariandb-0.2/dataface/actions/new.php on line 156

is it possible to remove the colon after www ?
in order to make it run in save mode !

please ebookbox
ebookbox
 
Posts: 4
Joined: Sun May 09, 2010 4:36 pm

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby shannah » Sun May 09, 2010 8:40 pm

Hi. The problem would appear to be the open_basedir restrictions. Why is it looking in the /usr/local/share/pear for Dataface files? Is this a shared server or do you run it? You either need to add /usr/local/share/pear to your open_basedir directories or remove it from your include path.

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

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby ebookbox » Sat May 15, 2010 5:30 am

ebookbox
 
Posts: 4
Joined: Sun May 09, 2010 4:36 pm

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby shannah » Sat May 15, 2010 8:29 am

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

Re: Post Installation - Fatal error: Class 'Dataface_Error' ...

Postby ebookbox » Wed May 19, 2010 2:23 pm

Hello steve

i gave Library DB (xataface) a last try, and updated the
/librariandb-0.2/dataface/ directory with the new "xataface-1.2.4" version

i renamed the /xataface-1.2.4/ directory to /dataface/ and copied it to

/librariandb-0.2/ in order to replace /librariandb-0.2/dataface/

no i am able of creating and altering database entries.

The Sun is rising

thanks steve

i am suggesting updating the Library DB download file also.

p.s
by the way is it possible to create a user, who is able to create but not to alter or delete an database entry?
ebookbox
 
Posts: 4
Joined: Sun May 09, 2010 4:36 pm


Return to Library DB Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

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