Warning fopen - failed to open stream Warning fopen - failed to open stream
 

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

Warning fopen - failed to open stream

Started by Spelly, November 10, 2004, 08:13:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spelly

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

Nibbler

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.

Spelly

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

Joachim Müller

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