forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: virexmachina on November 17, 2003, 06:15:39 am
-
I get this error just after install. Any page I try and go to, this message shows up:
Fatal error: Failed opening required 'include/config.inc.php' (include_path='/php/includes:/usr/share/pear') in /var/websites/adrian.clearspanmedia.com/html/gallery/include/init.inc.php on line 135
Any idea what that is?
-
Ok, I figgured out how to get arround it... i removed "include/" from 'include/config.inc.php' on line 135 in init.inc.php
That made it work for that... but then everything that gets included throws an error. I kept modifying them untill i got to the includes for the theme. that one only worked when I put the full system path in. But I stopped there cause it seemed like this shouldnt have to be done.
I ran this just fine on my windows pc... but putting it on my linux server has all these problems... :(
-
the problem is a result of the include path set by your webhost. Try to replace the include statement with absolute paths (ie
require '/var/websites/adrian.clearspanmedia.com/html/gallery/include/config.inc.php';
require '/var/websites/adrian.clearspanmedia.com/html/gallery/include/functions.inc.php';
instead ofrequire 'include/config.inc.php';
require 'include/functions.inc.php';
and so on). If this doesn't help, ask your webhost what can be done about this. If you run your own server, check the server config (don't set/force an inlcude path).
GauGau