Hello, I am currently in the process of migrating my gallery from my USA webserver to an EU based one. I have near identical setups at both ends (CentOS 6, latest versions of WHM/Cpanel etc). I have a number of sites that I have moved across by simply creating a full backup in cpanel and restoring it on the new server (it does SQL databases...everything). It has been a seamless transition as they are mostly basic sites.
However, my main site contains a coppermine gallery and approximately 1.5 million images totalling around 65 gigabytes. The SQL database is 3.5 gigabytes alone. I knew that this transfer would be a little more difficult but I was hoping that if I got it over and had everything set up the same way it would just work.
Long story short I got the site up and running on the new server. The home page works perfectly. However, my coppermine gallery not so much. For a start, the theme is COMPLETELY broken. I can log in by going directly to login.php and putting my details in, and it lets me in. I tried running update.php and it completed the tasks but it was still broken. My albums and stuff are all there, so the SQL database is obviously working fine. I managed to get into the admin panel by going directly to admin.php and I changed the gallery path in the config to the temporary new location to see if it would fix the paths for the template, but it didn't. I tried changing theme from my custom one to the default "classic" but it made no difference. If I view the source of the gallery index page, I can see it is trying to load the images from the old site (using absolute paths rather than relative). However, this strangely isn't working either despite the gallery still being live at the old location and working perfectly fine.
I tried checking the theme to see whether it was coded to use absolute paths to the images (as I did not write it, a friend did a long time ago) but I cannot find ANY reference whatsoever to the absolute path. I did a deep file search for "/theme/smiles" (my theme is called smiles) and it only found one result, and that was in template.html from an old theme which I haven't used for AGES.
So I am absolutely stumped. I am tempted to change the nameserver settings so that the url goes to the new site location, as it is essentially a mirror image of the old site at the moment, but I don't want to risk it still not working as my site receives a lot of traffic and I don't want anyone to see it broken, especially since DNS propagation takes ages and it could potentially show the broken site for 24 hours or so.
So, does anyone have any suggestions please?