2.2.4 upg + dir rename: admin links broken

relson

Joined: 2004-08-06
Posts: 8
Posted: Mon, 2008-06-09 17:21

I recently upgraded my gallery version from 2.1.2 to 2.2.4, using the preinstall.php script. As part of that process, I renamed my gallery folder from "gallery" to "gallery2", then back to "gallery" after the upgrade. When I log in to my admin site, all of the links from the nav bar still contain "gallery2" as part of the link path, so they all fail. I have to manually go up to my address bar and correct the path (deleting the "2") to get the items to appear.

If I try to "edit" an existing album (after correcting the URL as described above), I get the following error:

Error (ERROR_PLUGIN_VERSION_MISMATCH) : [hidden] db: (v: 1.0.2 core api: 7/0, module api: 3/0) code: (v: 1.0.4 core api: 7/18, module api: 3/5)

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 178 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 209 (GalleryPluginHelper_simple::loadPlugin)
* in modules/hidden/HiddenItemOption.inc at line 50 (GalleryCoreApi::loadPlugin)
* in modules/core/ItemEdit.inc at line 304 (HiddenItemOption::loadTemplate)
* in modules/core/ItemAdmin.inc at line 138 (ItemEditView::loadTemplate)
* in modules/core/classes/GalleryView.class at line 300 (ItemAdminView::loadTemplate)
* in main.php at line 445 (GalleryView::doLoadTemplate)
* in main.php at line 94
* in main.php at line 83

Any ideas?


Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.6 cgi
Webserver = Apache/1.3.34 Ben-SSL/1.55
Database = mysql 4.0.27-max-log, lock.system=flock
Toolkits = ArchiveUpload, NetPBM, Gd, LinkItemToolkit
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Rows in GalleryAccessMap table = 97
Rows in GalleryAccessSubscriberMap table = 7561
Rows in GalleryUser table = 5
Rows in GalleryItem table = 7558
Rows in GalleryAlbumItem table = 337
Rows in GalleryCacheMap table = 0