Trying to upgrade from 2.3 to 2.3.1 before moving to 3...upgrade not working [SOLVED]

tlwmsu
tlwmsu's picture

Joined: 2009-09-23
Posts: 21
Posted: Fri, 2011-01-28 12:53


Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.2.16
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): Apache version 2.2.17
Database (e.g. MySql 5.0.32): 5.1.47-community-log
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0): Firefox 3.6.13

This is (was) a working version of Gallery 2.3 until yesterday. I turned debugging mode to 'buffering' and this is what I now get:

Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page

file_exists(/home1/buzzard1/public_html/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
file_exists(/home1/buzzard1/public_html/gallery2/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class)
getParameter modrewrite.galleryLocation for rewrite plugin
file_exists(/home1/buzzard1/public_html/gallery2/g2data/cache/module/rewrite/0/0/0.inc)
getParameter shortUrls for rewrite plugin
getParameter language.useBrowserPref for core plugin
file_exists(/home1/buzzard1/public_html/gallery2/g2data/cache/module/core/0/0/0.inc)
getParameter default.language for core plugin
controller , view
Loading plugin core
Class not defined, trying to include it.
file_exists(/home1/buzzard1/public_html/gallery2/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/home1/buzzard1/public_html/gallery2/g2data/versions.dat)
file(/home1/buzzard1/public_html/gallery2/g2data/versions.dat, )
Redirect to the upgrade wizard, core module version is out of date
getParameter modrewrite.galleryLocation for rewrite plugin

And upon clicking the "next page" link :
/gallery2/upgrade/index.php http://www.buzzardsroost.us/gallery2/main.php 75.64.252.224 www.buzzardsroost.us Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729) 500

I tried restoring from my backup with no different results. My initial install of Gallery 3 is still working.

http://www.buzzardsroost.us/gallery2

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-01-28 13:30

make sure you successfully overwrote the old files and check perms on files are 644 and directories are 755 and g2data should be 777 recursively.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
tlwmsu
tlwmsu's picture

Joined: 2009-09-23
Posts: 21
Posted: Fri, 2011-01-28 15:28
suprsidr wrote:
...check perms on files are 644 and directories are 755 and g2data should be 777 recursively.

By "recursively", you're saying all directories under g2data should be 777? Mine are 755 under g2data, but the rest look like 644 on files and 755 on directories. As far as successfully overwriting, I'm at the mercy of Hostmonster's user interface at this point, but I have to assume the extract worked since *something* changed and the gallery is no longer working and attempting to redirect to the upgrade folder...I get a file list of the files extracted, and did not see any warnings or errors listed.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-01-28 18:06

Delete the gallery2/upgrade directory and upload a fresh copy.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
tlwmsu
tlwmsu's picture

Joined: 2009-09-23
Posts: 21
Posted: Fri, 2011-01-28 19:54
suprsidr wrote:
Delete the gallery2/upgrade directory and upload a fresh copy.

DING!DING!DING! This belongs in a category of "why didn't I think of that?" Thanks, suprsidr...sometimes the obvious solutions are the hardest for me to see.

Smooth sailing once I got the upgrade running. The question came to me last night...did I *really* have to upgrade from 2.3 to 2.3.1 just to migrate my albums to v3, but I try to "go by the book" with regard to software installs, and "upgrade to 2.3.1" was in the v3 documentation, so...