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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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