Fatal Error after installing Coppermine Fatal Error after installing Coppermine
 

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

Fatal Error after installing Coppermine

Started by zaphod2003, June 10, 2007, 06:38:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zaphod2003

I have [just]downloaded the latest version of Coppermine and installed in on my local server, prior to uploading to my works intranet (If I can get the thing to work).

I ran the install script OK, did not report any errors and where possible I used the defaults.

I get this at the end:

Installation completed
Coppermine is now properly configured and ready to roll.

Login using the information you provided for your admin account. Do not hit back, do not re-submit the installer form!

Your server supports the following image package(s): ImageMagick (im), GD Library version 1.x (gd1), GD Library version 2.x (gd2), the installer selected 'im'. 

 

Then I click the 'Lets Continue' button and get this:


Warning: require_once(include/debugger.inc.php) [function.require-once]: failed to open stream: No such file or directory in Z:\website\ugallery\include\init.inc.php on line 26

Fatal error: require_once() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='C:\php\pear') in Z:\website\ugallery\include\init.inc.php on line 26

However, if I change it to this:
require_once('http://localhost/ugallery/include/debugger.inc.php');
Which is my full site URL

It seems to work (at least it doesn't error) -- until it finds the next include and then I have to do it again

As far as I can tell this works fine until I get to this section in init.inc.php

// Set UDB_INTEGRATION if enabled in admin
if ($CONFIG['bridge_enable'] == 1 && !defined('BRIDGEMGR_PHP')) {
    $BRIDGE = cpg_get_bridge_db_values();
} else {
  $BRIDGE['short_name'] = 'coppermine';
  $BRIDGE['use_standard_groups'] = 1;
  $BRIDGE['recovery_logon_failures'] = 0;
  $BRIDGE['use_post_based_groups'] = false;
}

define('UDB_INTEGRATION', $BRIDGE['short_name']);

require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';


Where, despite my best efforts it refuses to find the file coppermine.inc.php, even if I explicitly point to the file.
And yes, I can run the file directly.

Clearly I've missed something. Can someone point me in the right direction -- cant find anyone else having a similar issue and the install documentation does not say anything either.









Nibbler

Reverse all your modifications and then fix your php configuration. The include_path option must contain a dot for most applications to work correctly.

php.ini:
include_path = '.;C:\php\pear'