Support > cpg1.5 miscellaneous

Restoring my Gallery

(1/4) > >>

Meghan3:
I recently switch servers for my sites and I'm trying to restore my gallery. I had done it once before but seems there is something I am missing. I downloaded all my files and the SQL from the PHPAdmin from the old server. Now after I have reuploaded my files and the SQL to the new server it's giving me this


--- Quote ---Coppermine critical error:
Unable to connect to database !

MySQLi said: :
--- End quote ---

I clearly can see I have done something wrong, but I am not sure what it is. I am looking for some help to figure out what I have done wrong and how to restore my gallery. The last thing I want to do redo the albums and reupload all the files.

phill104:
What that usually suggests is you need to edit your include/include.inc.php file to reflect your new database connection details. Once done, you also need to run /update.php

Meghan3:
Do you mean the config.inc.php file? I did change that to the database on the new server, but when I run the update.php it didn't do anything.

phill104:
Oops, my bad. Yes I did mean config.inc.php

What version PHP is your new server running. Is it running MySQL or mysqli

Meghan3:
It looks like it might be running mysqli. The PHP version is 7.3.

Navigation

[0] Message Index

[#] Next page

Go to full version