coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: snl on August 13, 2004, 05:36:56 AM

Title: Warning: main(include/config.inc.php): failed to open stream
Post by: snl on August 13, 2004, 05:36:56 AM
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_";
?>
Title: Re: Warning: main(include/config.inc.php): failed to open stream
Post by: Joachim Müller on August 13, 2004, 07:45:52 AM
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