Advanced search  

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

Pages: [1]   Go Down

Author Topic: Coppermine & SMF  (Read 7419 times)

0 Members and 1 Guest are viewing this topic.

Uzma

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Coppermine & SMF
« on: May 28, 2011, 06:21:46 am »

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.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Coppermine & SMF
« Reply #1 on: May 28, 2011, 09:01:39 am »

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

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Coppermine & SMF
« Reply #2 on: May 28, 2011, 09:04:41 am »

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
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Uzma

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Coppermine & SMF
« Reply #3 on: May 28, 2011, 07:11:28 pm »

Hello,
I changed that (thanks for letting me know where the file was located!) but now I'm getting 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' (46)

I don't see this file anywhere.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Coppermine & SMF
« Reply #4 on: May 31, 2011, 11:01:37 am »

Try to Google that error message and you'll get something like this:
That 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.