[SOLVED] Cannot run the upgrade script

Twilek
Twilek's picture

Joined: 2003-05-30
Posts: 71
Posted: Sat, 2009-11-14 11:21

Hi all,

I have just updated from GIT. The upgrader says that my current Gallery Version is 16 and the latest is 19. Clicking "Upgrade all" produces:

So here's the error:
Undefined variable: location

File: modules/gallery/helpers/gallery_installer.php, line: 403
And here's how we got there:

* modules/gallery/helpers/gallery_installer.php [403]:

gallery_error_Core::error_handler( 16 )

*

gallery_installer::upgrade( Array
(
[0] => gallery_installer
[1] => upgrade
)
, Array
(
[0] => 16
)
)

* modules/gallery/helpers/module.php [161]:

call_user_func_array( gallery )

* modules/gallery/controllers/upgrader.php [63]:

module_Core::upgrade( )

*

Upgrader_Controller->upgrade( Upgrader_Controller Object
(
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)

)
)

* system/core/Kohana.php [291]:

ReflectionMethod->invokeArgs( )

*

Kohana::instance( Array
(
[0] => Kohana
[1] => instance
)
)

* system/core/Event.php [209]:

call_user_func( system.execute )

* system/core/Bootstrap.php [55]:

Event::run( )

* index.php [90]:

require( system/core/Bootstrap.php )

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sat, 2009-11-14 20:52

There has recently been some changes ( about a hour ago ) to the upgrader:
http://github.com/gallery/gallery3/commit/100a66d861849ab0d78dca84b0b06c1af973752a

Please try again with a git pull and run the upgrader.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Twilek
Twilek's picture

Joined: 2003-05-30
Posts: 71
Posted: Sun, 2009-11-15 00:23

Yup worked... Thanks