Hi,
I'm trying to upgrade the modules on a v3.0 install, and receive the following error from the logs:
2011-11-24 23:33:50 -05:00 --- error: Exception [ 0 ]: @todo MODULE_FAILED_TO_UPGRADE
/home/gallery3/modules/gallery/helpers/module.php [ 243 ]
#0 /home/gallery3/modules/gallery/controllers/upgrader.php(73): module_Core::upgrade('gallery')
#1 [internal function]: Upgrader_Controller->upgrade()
#2 /home/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Upgrader_Controller), Array)
#3 [internal function]: Kohana_Core::instance(NULL)
#4 /home/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#5 /home/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#6 /home/gallery3/index.php(97): require('/home/gallery3/...')
#7 {main}
Is there file permission changes I have to make before trying to upgrade?
Below is the information from the resulting web page:
Platform information
Host name: fc14.inside.example.com
Operating system: Linux 2.6.40.6-0.fc15.x86_64
Apache: Apache/2.2.21 (Fedora)
PHP: 5.3.8
MySQL: 5.5.14
Server load: 9.58 8.84 10.16
Graphics toolkit: imagemagick
Gallery stats
Version: 3.0 (Santa Fe)
Albums: 23
Photos: 1810
Exception [ 0 ]: @todo MODULE_FAILED_TO_UPGRADE
MODPATH/gallery/helpers/module.php[ 243 ]
238 "version_before" => $version_before, 239 "version_after" => $version_after))); 240 } 241 242 if ($version_after != $available->$module_name->code_version) { 243 throw new Exception("@todo MODULE_FAILED_TO_UPGRADE"); 244 } 245 } 246 247 /** 248 * Activate an installed module. This will call <module>_installer::activate() which should take
MODPATH/gallery/controllers/upgrader.php[ 73 ] » module_Core::upgrade( arguments )
{PHP internal call} » Upgrader_Controller->upgrade()
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )
{PHP internal call} » Kohana_Core::instance( arguments )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
DOCROOT/index.php[ 97 ] » require( arguments )
Thanks,
Dave