Problem Installing: Coppermine Photo Gallery seems not to be installed correctly Problem Installing: Coppermine Photo Gallery seems not to be installed correctly
 

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

Problem Installing: Coppermine Photo Gallery seems not to be installed correctly

Started by JBlade00, November 03, 2004, 09:33:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JBlade00

Hi all, I have been trying to install coppermine for 2 days now, and have had a couple of problems...

I get through the install fine, and the current error message I am getting is:

"Coppermine Photo Gallery seems not to be installed correctly, or you're running coppermine for the first time. You'll be redirected to the installer. If your browser doesn't support redirect, click here."

This can be seen on: http://www.wsudl.com/gallery/index.php

Now, I have tried deleting the install.lock file as well, and must have re-installed it about 4 times... having to use different table pre-fixes because it says that they are already made, etc... At this point I only have the default pre-fix'ed table installed because I deleted the others via myphp.

I don't know if this has any relevance, but I was having the problem before where it was stating something similar to:
"Fatal error: Failed opening required 'include/config.inc.php' (include_path='c:\php4\pear') in D:\blah-blah\cpg132\include\init.inc.php on line 201"

Keep in mind that wasn't the actual message, that was taken from another post with the similar problem... It has since seemed to be fixed of that, and I am back to the original problem.

If anyone has any ideas, please let me know.

Thanks,
~Jon

Joachim Müller

You haven't set write permissions for the include (and albums) folder as suggested in the readme. The installer needs to be able to create the file config.inc.php in the include subdirectory of coppermine (that's where to database info is stored at). The index.php file checks if the config file is in place - if it isn't, you're being sent to the installer. CHMOD as suggested in the documentation.

Joachim

JBlade00

I did CHMOD the directories correctly

The only problem is, when it creates the config.inc.php, it sets the CHMOD of that file to '600' which is only Read and write for the owner... and it won't let me change the file, download it, or view it.

Thanks,
~Jon

Joachim Müller

well, then your server isn't configured properly. Either fix this misconfiguration (by yourself if your self-hosted or by asking your server admin for support when webhosted), or rename/delete the existing one and create a new one. Take a look at the file include/cinfig.inc.php.sample, it should give you an idea how the actual file include/config.inc.php should look like and what should be inside it.

Joachim