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: Unable to write config file 'include/config.inc.php'  (Read 4944 times)

0 Members and 1 Guest are viewing this topic.

blarson

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Unable to write config file 'include/config.inc.php'
« on: August 07, 2006, 04:10:57 am »

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

eruss

  • Supporter
  • Coppermine frequent poster
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 105
Re: Unable to write config file 'include/config.inc.php'
« Reply #1 on: August 07, 2006, 04:14:20 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
Logged

Pantagruel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Unable to write config file 'include/config.inc.php'
« Reply #2 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)
Logged

Nibbler

  • Guest
Re: Unable to write config file 'include/config.inc.php'
« Reply #3 on: August 08, 2006, 07:43:55 pm »

Include path must include a dot.
Logged

Pantagruel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Unable to write config file 'include/config.inc.php'
« Reply #4 on: August 08, 2006, 08:19:54 pm »

Include path must include a dot.

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

Thanks
Logged

Nibbler

  • Guest
Re: Unable to write config file 'include/config.inc.php'
« Reply #5 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

Code: [Select]
include('include/debugger.inc.php');
This is in no way related to the thread you hijacked.
Logged

Pantagruel

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Unable to write config file 'include/config.inc.php'
« Reply #6 on: August 08, 2006, 09:55:20 pm »

Don't tempt me  ;)

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

That then allows relative includes from the cwd such as

Code: [Select]
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.
Logged

Joachim Müller

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

Page created in 0.02 seconds with 15 queries.