chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
Posted: Fri May 30, 2003 10:16 am Post subject: Fatal error: Failed opening required 'includes/sql_layer.php |
|
|
|
This is another FAQ on PHP-Nuke:
Problem:I am trying to intall nuke for two days now but as soon as i try to enter my main page i am getting the message written below
Fatal error: Failed opening required 'includes/sql_layer.php' (include_path='.:/data/apache/php/mmp_lib') in mainfile.php on line 52
Solution:
Your web server could not open includes/sql_layer.php. There are many reasons for this:
-
The file is really not there, something went wrong with the installation - reinstall. -
The file is there but the web server does not have the right to open it - check permissions. -
There is a .htaccess file somewhere in the directory hierarchy that denies access even to you. -
There is something wrong with the include path of the PHP interpreter.
If the last case happens to be the cause, you could try the following (not tested though):
Suppose your nuke files are in /usr/local/httpd/htdocs/nuke/html (just an example ). Suppose that this is the directory that contains the includes directory beneath it. Then create a .htaccess file that contains the line
php_value include_path .:/usr/local/httpd/htdocs/nuke/html/include
(no equal signs, just copy it in the .htaccess file). Perhaps this will solve your problem.
You might see more information on the cause of your problem if you have access to the web server access and error logs.
There is an analyze.php file out there that you could use to track down problems. See
http://www.nukeforums.com/forums/viewtopic.php?topic=15185&forum=40
for a related thread and also
http://www.nukeforums.com/forums/viewtopic.php?topic=13615&forum=40
In the second thread above, you will find links to analyze.php and ConnectTest.php that you should try to use. _________________ Regards
Chris Karakas
www.karakas-online.de |
|