coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Spelly on November 10, 2004, 08:13:11 PM

Title: Warning fopen - failed to open stream
Post by: Spelly 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
Title: Re: Warning fopen - failed to open stream
Post by: Nibbler 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.
Title: Re: Warning fopen - failed to open stream
Post by: Spelly 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
Title: Re: Warning fopen - failed to open stream
Post by: Joachim Müller 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