Switched Web Hosting, Coppermine Problems... Switched Web Hosting, Coppermine Problems...
 

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

Switched Web Hosting, Coppermine Problems...

Started by teambajamarine, April 22, 2004, 05:43:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

teambajamarine

I have switched my hosting and I have done the dump and upload to my new host, here is the error message I get when trying to view my board...

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'tbmbboa@localhost' (Using password: YES)

Here is the config file, any ideas? (The asteriks are protecting my password and user name)

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =  'localhost';   // Your database server
$CONFIG['dbuser'] =  "*******"; // Your mysql username
$CONFIG['dbpass'] =  "*******"; // Your mysql password
$CONFIG['dbname'] =  "tbmbboa_teambajamarinecom_coppermine"; // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg11d_";
?>

Joachim Müller

did you double-check the mysql settings match your new server?

GauGau

teambajamarine

Gau,
Please explain? I assume we are talking about the fields in red from my above code? If you say yes, then I assume they are correct, doe s the code look ok? What else could I try?

teambajamarine

Yahoo! I did manage to get it to work, however all the photos have a red x in them. I assume this is because the server is still migratiing from the old and my dns has not fully changed over yet. Am I correct?


Joachim Müller

the file's position is stored as a relative path to the albums folder. You'll have to make sure your pics ended up in the same location they were before. Make sure you have not only moved over the original sized pics that existed on your hard drive, but the full contents of the albums folder on your old server (the thumbnails and intermediates that have been created by copermine when you added the pics to the database have to be moved as well). Just right-click on the pics with the red x, choose "properties" from the context menu, highlight and copy the full url of the pic and paste it into your browser's address bar to verify if the pic is there. Also make sure to chmod the albums folder on the new server (755 or 777, depending on server config).
For more details, post a link to your new server/webspace.

GauGau