coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: ebai.net on August 26, 2004, 08:19:26 PM

Title: What mistake is this?
Post by: ebai.net 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
Title: Re: What mistake is this?
Post by: Joachim Müller 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...