Error while upgrading Gallery Core Module

jeremyfl

Joined: 2006-07-07
Posts: 1
Posted: Tue, 2006-07-11 16:44

Hi, hope you can help.
I have been using a version of Gallery which was working fine, and when I visited my site url recently, I was asked to upgrade to Gallery 2 for some reason. After following the steps, I received this error:

An error occurred while upgrading Gallery Core Module
Something went wrong when we tried to upgrade the core module. In the boxes below you can find some debug information. Report this in the Gallery Forums and we'll help you diagnose the problem.

Stack Trace:
Error (ERROR_BAD_PLUGIN) : Unknown module version <html>
in modules/core/CoreModuleExtras.inc at line 1230 (CoreModule::error)
in modules/core/module.inc at line 490 (CoreModule::upgrade)
in modules/core/classes/GalleryModule.class at line 158 (CoreModule::upgrade)
in upgrade/steps/UpgradeCoreModuleStep.class at line 79 (CoreModule::installOrUpgrade)
in upgrade/index.php at line 184 (UpgradeCoreModuleStep::processRequest)

Can anyone help, or is there a way that I can avoid needing to upgrade as I was quite happy before?

 
dcaceres

Joined: 2007-09-27
Posts: 3
Posted: Wed, 2008-12-17 20:49

Hi! I have the same problem!

Quote:
Error (ERROR_BAD_PLUGIN) : Unknown module version 1.3.0

* in modules/core/CoreModuleExtras.inc at line 2570 (gallerycoreapi::error)
* in modules/core/module.inc at line 486 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 175 (coremodule::upgrade)
* in upgrade/steps/UpgradeOtherModulesStep.class at line 77 (coremodule::installorupgrade)
* in upgrade/index.php at line 186 (upgradeothermodulesstep::processrequest)

What I can do?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-12-18 02:47
Quote:
and when I visited my site url recently, I was asked to upgrade to Gallery 2 for some reason.

Gallery does not spontaneously upgrade. Something has occurred to cause the upgrade.
I suspect that you are missing a versions.dat file in the g2data directory.
Backup?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dcaceres

Joined: 2007-09-27
Posts: 3
Posted: Thu, 2008-12-25 22:06

Hi Dave, no I don't delete my versions.dat and/or g2data directory...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-12-26 07:40

What is the content of versions.dat?
Please populate your info from
FAQ: What information is required when I ask for help in the forums?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team