Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Warning: main(include/config.inc.php): failed to open stream  (Read 3899 times)

0 Members and 1 Guest are viewing this topic.

snl

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Warning: main(include/config.inc.php): failed to open stream
« 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_";
?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Warning: main(include/config.inc.php): failed to open stream
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.