Coppermine & SMF Coppermine & SMF
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine & SMF

Started by Uzma, May 28, 2011, 06:21:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Uzma

hello,
My coppermine gallery is connected to the SMF forum. I just moved the whole site from one domain to another. While SMF has transferred everything correctly with all the database info. The coppermine gallery is giving me a database connection error. I restored the database info for the gallery from old domain to the new as well yet it's not connecting. Any idea which file needs to be configured? I can't seem to find the database settings in any php file in the coppermine folder.

Any help would be appreciated.

Thanks.

lurkalot

Check the "include/config.inc.php" file has the correct info added to it, or it won't work.  ;)
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

lurkalot

Forgot to say.  There's a complete section in the docs about moving your coppermine gallery. http://documentation.coppermine-gallery.net/en/export.htm#moving
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Uzma

Hello,
I changed that (thanks for letting me know where the file was located!) but now I'm getting the following error:

QuoteCoppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

I don't see this file anywhere.

ΑndrĂ©

Try to Google that error message and you'll get something like this:
Quote from: http://forums.mysql.com/read.php?10,93668,133078#msg-133078That message means that no MySQL process is running. mysql.sock is the default socket file. If it was a password problem, your message would be a permission denied type. Check to make sure your MySQL instance is running. If your on linux go to /var/run/ and see if mysql.sock is there. If it is then its running, it not its not.