Warning: main(include/config.inc.php): failed to open stream Warning: main(include/config.inc.php): failed to open stream
 

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

Warning: main(include/config.inc.php): failed to open stream

Started by snl, August 13, 2004, 05:36:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

snl

I get this error when I install Coppermine:
Quote
Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/sarah/public_html/fresh/include/init.inc.php on line 200

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/sarah/public_html/fresh/include/init.inc.php on line 200

I saw another thread on this. I CHMOD'd everything I was supposed to, before I ran the install.php page.

Here is my config.inc.php if it's of any help.
Quote
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         "localhost";        // Your database server
$CONFIG['dbuser'] =                         "sarah_fresh";        // Your mysql username
$CONFIG['dbpass'] =                         "*******";                // Your mysql password
$CONFIG['dbname'] =                         "sarah_fresh";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                "cpg131_";
?>

Joachim Müller

your server is improperly set up - the error message says the script is looking for config.inc.php in '/usr/local/lib/php' or '/usr/lib/php'. Ask your webhost to allow you including files from elsewhere as well. If you're selfhosted, you at least know the admin you can talk to ;)

GauGau