Upgrade to v1.5.16 Upgrade to v1.5.16
 

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

Upgrade to v1.5.16

Started by jackd, December 07, 2011, 08:45:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jackd

I made a huge error and upgraded my forum before I unbridged the gallery and now when I try to upgrade to v1.5.16 from 1.4.18 I get the usual anonymous group table not found, etc. I read everything here I could find and tried all solutions to no avail.

Being that I did not un-bridge prior to the upgrade do I have any options to upgrade at this point.

I would really hate to re-populate 25,000 images.

Thanks for your time.

Joe Carver

I am not experienced enough with bridging issues, but if you cannot run update.php because you are not logged in, then modify update.php as follows.

Make certain that you have backups as instructed in the docs.

Make a backup of update.php before starting, you will need to restore the original copy when finished.

Find:
// define('SKIP_AUTHENTICATION', true);

Replace with / Change to:
define('SKIP_AUTHENTICATION', true);

This will allow you to run update.php as an unlogged user.

QuoteI would really hate to re-populate 25,000 images.
Should not occur as long as your db's are backed up. Album folders aren't touched during the upgrade process.


jackd

Appreciate the answer Joe but not logged in is not the problem. I run the update and the first thing that pops up is the anonymous usergroup table is not found. I added it and still no joy. Tried a clean install of 4.18 and tried to hook to the original db and still errors. Can't upgrade to v1.5 without errors. Also tried a clean install of 418 and restored my dump, then fatal errors again.

This was a screw up by me and I assume it has something to do with the bridge that I did not un-bridge first. My main concern was the forum upgrade at the time and I simply forgot about the bridge. So I was just wondering if anyone had any suggestions because I have triied just about everything at this point.

Thanks again

jackd

Quote from: Joe Carver on December 08, 2011, 12:41:59 AM
Should not occur as long as your db's are backed up. Album folders aren't touched during the upgrade process.

Yes I have dumps and understand about the albums. What I was getting at is if I had to do a clean install and then just ftp all images back in. No problem there but putting them in the right albums with names.

Uhhh, I don't want to have to do that... :(

Joe Carver

Quote from: jackd on December 08, 2011, 01:00:54 AM
...Tried a clean install of 4.18 and tried to hook to the original db and still errors.  Also tried a clean install of 418 and restored my dump, then fatal errors again.
If I was at your keyboard, this is what I would do.

Don't perform a full installation of cpg 1.4.27 - just replace / remove all cpg 1.5.16 files with the older version and point your config.inc,php to the restored copy of your db.
Then do one of two things.

Try to unbridge by going directly to bridgemgr.php and logging in to unbridge the gallery.
Try to update the gallery through update.php.

You could also set the gallery to offline status by changing the value in config using phpMyAdmin or something similar before you start.

Quote from: jackd on December 07, 2011, 08:45:01 PM
... upgrade to v1.5.16 from 1.4.18 ...
That version is quite dated and was updated a few times for security reason.