URL to your eFiction: http://www.the69corridor.de/writing/
Version of eFiction: 2.0
Have you bridged eFiction, if so with what?: No
Version of PHP: 4.3.0
Version of MySQL: 2.2.3
Have you searched for your problem: yes
If so, what terms did you try: Anything related to updating and dbfunctions
State the nature of your problem:
Well, I copied all new files on the server, I started the update (yes, I kept the config file) and after this steps
Configuration File Setup
Site settings have been moved to settings table.
Configuration file written.
I got this error:
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/includes/dbfunctions.php) is not within the allowed path(s): (/home/www/htdocs/the69corridor.de/.) in /home/www/htdocs/the69corridor.de/writing/config.php on line 9
Warning: main(includes/dbfunctions.php) [function.main]: failed to create stream: Operation not permitted in /home/www/htdocs/the69corridor.de/writing/config.php on line 9
Warning: main() [function.main]: Failed opening 'includes/dbfunctions.php' for inclusion (include_path='.:/usr/lib/php') in /home/www/htdocs/the69corridor.de/writing/config.php on line 9
Fatal error: Call to undefined function: dbconnect() in /home/www/htdocs/the69corridor.de/writing/config.php on line 10
Do you have a test account for us? No
Thank you!
I seem to be recieving a different error when I visit your site now:
A fatal MySQL error was encountered.
Query: SELECT * FROM test_fanfiction_blocks
Error: (1146) Table 'DB15967.test_fanfiction_blocks' doesn't exist
Perhaps you should try creating the sql tables manually. (They're located in the /docs folder.)
Then I get this
You have an error in your SQL syntax near 'ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 57
🙁
You appear to have started over. I ended up on the upgrade script at the beginning and followed along to step 3 where I got the open_basedir error. Make sure your config.php file is CHMOD'd to 666. If that doesn't solve your problem, come back here and we'll try to give you instructions to get around it.
Yep, the config.php is CHMOD 666. I also checked the config file after the third step and it was updated fine. So I don't think the problem is the config file?
This may or may not work, depending on your host. Create a file called .htaccess (create the file in notepad, and do not name it with the .txt extension) with the following line:
php_admin_value open_basedir none
Upload it to the same directory you are running efiction in.
I tried it with the .htaccess file and just got that
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@the69corridor.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
It looks like your original problem was because your host has misconfigured PHP.
- They have set the open_basedir setting to limit what files you can open to those in your site folder. This is OK.
- They have set the include_path setting to ".:/usr/lib/php" which means it will attempt to look in /usr/lib/php. This is not OK.
These two configuration options are incompatible with each other - if they set a base directory they should not set an include_path outside that folder as it will always generate warnings when it tries to search there.
Okay, I'll inform my host about what you said. Maybe they can solve the problem.
Thank you very much for your effort!
NOTE: I think the misconfiguration is just causing a misleading error message - there is still something else wrong that is the real cause of your problem but misconfiguration is causing the wrong warning/error message to show up.
