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: What mistake is this?  (Read 2575 times)

0 Members and 1 Guest are viewing this topic.

ebai.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
What mistake is this?
« on: August 26, 2004, 08:19:26 pm »

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/ebai/public_html/pic/include/init.inc.php on line 201

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



// Include config and functions files
if(file_exists('include/config.inc.php')){
  require 'include/config.inc.php';     201
} else {
  // error handling: if the config file doesn't exist go to install
  print <<< EOT
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What mistake is this?
« Reply #1 on: August 26, 2004, 09:36:45 pm »

did you actually run the installer? If yes, has the file include/config.inc.php been created by the installer (write access needed)? Make sure the file exists on your server. Another thing to look into is your server setup: does your webhost allow includes (the error message you get suggests so).

GauGau

P.S. post a link when replying...
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.