coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: blarson on August 07, 2006, 04:10:57 AM

Title: Unable to write config file 'include/config.inc.php'
Post by: blarson on August 07, 2006, 04:10:57 AM
I am recieving this error when I try to install.   Could you please help.
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: eruss on August 07, 2006, 04:14:20 AM
Quote from: blarson on August 07, 2006, 04:10:57 AM
I am recieving this error when I try to install.   Could you please help.

Check the documents.  Did you set the permissions?
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#how
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Pantagruel on August 08, 2006, 07:28:24 PM
Same here :(

-Unzipped package
-moved to http dir
-cd to cpg148 dir
-chmod 777 cpg148/ -R (checked permissions rwxrwxrwx)

but the installer still burps out: Unable to write config file 'include/config.inc.php'

I edited the config.inc.php.sample file to reflect the changes needed and saved it to config.inc.php, but browsing to the index page only spits out:

Warning: main(include/debugger.inc.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/cpg148/include/init.inc.php on line 26

Fatal error: main() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='/usr/share/php') in /srv/www/htdocs/cpg148/include/init.inc.php on line 26

Checked again and both required files do exist and are rwx

Thanks for your time.

Server spec's:
P3-866 clocked down to 433
512 MB SDRAM
OS: SuSe Linux 10 (Apache and php running, e.g phpsysinfo is working)
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Nibbler on August 08, 2006, 07:43:55 PM
Include path must include a dot.
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Pantagruel on August 08, 2006, 08:19:54 PM
Quote from: Nibbler on August 08, 2006, 07:43:55 PM
Include path must include a dot.

Could be so kind as to tell me where to put it ?

Thanks
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Nibbler on August 08, 2006, 09:12:26 PM
Don't tempt me  ;)

php.ini setting - include_path='.:/usr/share/php';

That then allows relative includes from the cwd such as

include('include/debugger.inc.php');

This is in no way related to the thread you hijacked.
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Pantagruel on August 08, 2006, 09:55:20 PM
Quote from: Nibbler on August 08, 2006, 09:12:26 PM
Don't tempt me  ;)

php.ini setting - include_path='.:/usr/share/php';

That then allows relative includes from the cwd such as

include('include/debugger.inc.php');

This is in no way related to the thread you hijacked.

I had no intention of hijacking this thread. I was trying to find a way around the install procedure just to get caught in another problem.
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Joachim Müller on August 08, 2006, 10:22:47 PM
OK, your issue is solved then. Keep out of this thread now. Back to blarson, the original thread starter.