coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: JBlade00 on November 03, 2004, 09:33:25 PM

Title: Problem Installing: Coppermine Photo Gallery seems not to be installed correctly
Post by: JBlade00 on November 03, 2004, 09:33:25 PM
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
Title: Re: Problem Installing: Coppermine Photo Gallery seems not to be installed corre
Post by: Joachim Müller on November 04, 2004, 09:38:36 AM
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
Title: Re: Problem Installing: Coppermine Photo Gallery seems not to be installed correctly
Post by: JBlade00 on November 04, 2004, 06:03:58 PM
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
Title: Re: Problem Installing: Coppermine Photo Gallery seems not to be installed corre
Post by: Joachim Müller on November 04, 2004, 06:20:15 PM
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