Stop data retention! Click here & act! Are you a webmaster and want to participate? Here you can find all necessary material for your website - Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Chris Karakas Online Forum Index Karakas Online
 FAQFAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Fatal error: Failed opening required 'includes/sql_layer.php



 
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum RSS Feed of this Forum
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea  View previous topic :: View next topic  
Author Message
chris
Dark Lord of the Sith


Joined: 10 May 2003
Posts: 6262
Location: Outer Space

PostPosted: Fri May 30, 2003 10:16 am    Post subject: Fatal error: Failed opening required 'includes/sql_layer.php
Reply with quote

This is another FAQ on PHP-Nuke:

Question 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

Arrow Solution:

Your web server could not open includes/sql_layer.php. There are many reasons for this:

  • Idea The file is really not there, something went wrong with the installation - reinstall.
  • Idea The file is there but the web server does not have the right to open it - check permissions.
  • Idea There is a .htaccess file somewhere in the directory hierarchy that denies access even to you.
  • Idea 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 Wink ). 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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea 
Display posts from previous:   
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum
Page 1 of 1
This page contains valid HTML 4.01 Transitional - click here to check it!
This page contains a valid CSS - click here to check it!

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group