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: Warning fopen - failed to open stream  (Read 2262 times)

0 Members and 1 Guest are viewing this topic.

Spelly

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Warning fopen - failed to open stream
« on: November 10, 2004, 08:13:11 pm »

I have a problem with Coppermine. After setting up the first window for the database and clicking on Okay, I get the error message:
"Warning: fopen(install.lock): failed to open stream: Permission denied in /home/www/web20/html/Galerie/install.php on line 593"
After clicking on "Lets continue" it starts from the beginning.
What happened?

And do I need ImageMagick or is it just an option?

Spelly
Logged

Nibbler

  • Guest
Re: Warning fopen - failed to open stream
« Reply #1 on: November 10, 2004, 08:17:52 pm »

Make sure you set permissions on the include directory correctly, they must allow the scrript to write to it during install. You must have either GD or IM.
Logged

Spelly

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Warning fopen - failed to open stream
« Reply #2 on: November 10, 2004, 09:10:17 pm »

Thank you for your quick reply, but I have set the permissions as described in the readme file. If I set other permissions I get an error, that I should set the permissions to 755. For this seems to be cared. At the end of my installation tries I see the message

"Warning : the installer could not create the 'install.lock' file. In order to secure your installation, you need to delete the 'install.php' file from your server!"

If I click on "Lets continue", the all installation begins from the first site. :-(

Spelly
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Warning fopen - failed to open stream
« Reply #3 on: November 11, 2004, 05:44:07 am »

take a look into the include folder that resides on your webserver (not the local copy on your client's hard disk): there should be two files after install that don't come with coppermine, but have been created by the installer: config.inc.php and install.lock. If those files don't exist, the installer didn't have the permission to write those files to the folder, you'll have to review your CHMOD settings.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.