News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Error after install

Started by virexmachina, November 17, 2003, 06:15:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

virexmachina

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?

virexmachina

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... :(

Joachim Müller

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