[Solved]: Problems with includes in Coppermine initial setup [Solved]: Problems with includes in Coppermine initial setup
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Problems with includes in Coppermine initial setup

Started by rigel2, July 21, 2008, 10:25:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rigel2

Hi

After I run install.php to set up Coppermine, I get the error message:

Warning: require_once(include/debugger.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/httpd/htdocs/cpg1418/include/init.inc.php on line 26

Fatal error: require_once() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='/usr/local/php/lib/php') in /home/httpd/htdocs/cpg1418/include/init.inc.php on line 26

I then edit init.inc.php on line 26, so that instead of 'include/debugger.inc.php' it now reads:
'./include/debugger.inc.php', or I even give it the absolute path, this works to a point, but then then it says there are other files it can't find. I would have to edit every single reference to include/ !!!! I upgraded my PHP version to 5.2.6, My previous version of PHP was 5.2.3 which I ran on MEPIS Linux 6.5, and I am now running MEPIS Linux 7.0. On before the upgrade it ran perfectly.

Any help would be greatly appreciated

Cheers


Nibbler

You need to fix your include_path setting. Change it to .:/usr/local/php/lib/php instead. The dot is required.

rigel2

THANKS!!!

I edited my php.ini file as you said, then restarted the Apache webserver, and it works.

Cheers