Hello all,
Last evening I tried to update my photo gallery (
http://www.southbayphoto.com/cpg/index.php) from 1.5.12 to 1.5.16 because I realized there was a later version out there and I try and keep up with the latest version. Anyway, I downloaded the latest package, uploaded it properly to my server as I have done many times before, but when I ran the update.php script as per the instructions, it gave me an error message screen stating that Coppermine wasn't properly setup and that it was redirecting me to the "fresh install" screen. It then redirected me to the install.php screen and proceeded to have me go through and install a fresh copy of Coppermine. There was no way I could get around this. It didn't make any sense because I had 1.5.12 running on my site already without any issues.
So, I tried to do the fresh install, but still use the same database and records as I already had setup before (and that was working prior to the update), but it would not let me go any further in the install stating that the records already existed in the database. So, I had to do a fresh install with a different record table prefix to get it to complete the fresh install. So, now if you look at the link above, I do have it up and running, but it has NONE of my settings, information, pictures, etc... in it because it's using all new tables in my database.
Is there any way I can change something in any Coppermine file to have it read the old database tables in MySQL (5.0), so that all of my information will return and I don't have to reenter all of my settings, pictures and such back in again? I haven't changed or touched any of those records. I didn't even know if it was possible to "rename" the old database tables in MySQL to the "new" install database table name (after deleting those records) so that the fresh install could access the old records. If so, how do you do that?
Any idea on why running update.php didn't work and gave me the redirect to the fresh install? There really is no screen shot or error message I can post up because it didn't give me one. It just said that Coppermine was not installed properly and that it was redirecting to the fresh installation screen and that was it and redirected. The only thing that has changed since I last updated to 1.5.12 is that I changed from using PC's to using Mac's, but that shouldn't have any effect on this situation, should it?
Any assistance would be greatly appreciated. I'm hoping I don't have to reenter everything.
Best regards,
Mat