Unable to write config file 'include/config.inc.php' Unable to write config file 'include/config.inc.php'
 

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]

Main Menu

Unable to write config file 'include/config.inc.php'

Started by blarson, August 07, 2006, 04:10:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blarson

I am recieving this error when I try to install.   Could you please help.

eruss

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

Pantagruel

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)

Nibbler


Pantagruel

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

Nibbler

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.

Pantagruel

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.

Joachim Müller

OK, your issue is solved then. Keep out of this thread now. Back to blarson, the original thread starter.