[Solved]: CPG 1.2 Installed okay, but unable to browse or login [Solved]: CPG 1.2 Installed okay, but unable to browse or login
 

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

[Solved]: CPG 1.2 Installed okay, but unable to browse or login

Started by Caliban511, May 04, 2004, 06:02:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Caliban511

I was able to successfully install Coppermine, but whenever I browse to /path/login.php? or /path/index.php I get the following error:

Quote
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[/qoute]

Any ideas?

Caliban511

install.php wasn't saving my info to the config.inc.php file.  I put the info in manually, and I'm all set now.

Joachim Müller

Probably you didn't set write permissions for the script on coppermine's include folder, so the config file could be written. Check if there's an install.lock file in the include folder. If not, delete the file install.php from your coppermine folder, or people might deliberately break your coppermine install by running the installer a second time.

GauGau

Caliban511

Yes I did set the write permissions on the include folder, and it was making the include.lock file.  I noticed that the config.inc.php didn't have write permissions on it though.  Maybe it's not supposed to after it's created?  I'll delete the install.php file.  thanks!