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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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