Upgrade problem
|
mrl586
Joined: 2009-05-07
Posts: 30 |
Posted: Mon, 2009-09-21 01:57
|
|
When I try go to modules page (http://www.example.org/index.php/admin/modules), I see this error:
Dang... Something went wrong!
We tried really hard, but it's broken.
Hey wait, you're an admin! We can tell you stuff.
Help!
If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
Passed variable is not an array or object, using empty array instead
File: modules/gallery/helpers/module.php, line: 82
And here's how we got there:
modules/gallery/helpers/module.php [82]:
ArrayObject->__construct( )
modules/gallery/controllers/admin_modules.php [24]:
module_Core::available( )
Admin_Modules_Controller->index( )
modules/gallery/controllers/admin.php [50]:
call_user_func_array( Array
(
[0] => Admin_Modules_Controller Object
(
[theme:Admin_Controller:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)
)
[1] => index
)
)
Admin_Controller->__call( modules )
system/core/Kohana.php [291]:
ReflectionMethod->invokeArgs( Admin_Controller Object
(
[theme:Admin_Controller:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)
)
, Array
(
[0] => modules
[1] => Array
(
)
)
)
Kohana::instance( )
system/core/Event.php [209]:
call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)
system/core/Bootstrap.php [55]:
Event::run( system.execute )
index.php [86]:
require( system/core/Bootstrap.php )
And log file seems like this:
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2009-09-21 04:31:09 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:31:12 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:32:11 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:37:04 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:37:14 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:37:35 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:37:59 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:38:01 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:38:03 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:38:44 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:39:12 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:39:16 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:49:06 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82
2009-09-21 04:49:09 +03:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 82 |
|

Posts: 22892
The title you chose is 'Upgrade problem'. Did you perform an upgrade?
From what version to what version?
Did it work before the upgrade? Can you navigate to other pages?
Have you tried an experimental version:
FAQ: How do I upgrade?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 30
Yes
From git version c527e70f26a85403633c9c8c7d32cc3b30cf625e to git version 62863f5fead46480cf1a3f5a96eb52ce439d0f0e
Yes.
Yes. Gallery is almost normal. Problems appear to be two pages: previously mentioned modules page and upgrade page.
Yes, I use latest experimental version.
Posts: 22892
In phpMyAdmin or other DB admin tool see if you can get the version of the gallery module in the database
"select * from modules where name='gallery'; "
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 22892
Did you have any 3rd party modules?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 30
It says that gallery module version is 12.
Yes, I have a few contrib modules.
Posts: 22892
Perhaps that is the issue.
Any clue in the upgrade logs?
Other than that I don't know. See if starting over from a recent experimental version helps.
FAQ: How do I upgrade?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 30
Latests logs seems like this:
<?php defined('SYSPATH') or die('No direct script access.'); ?> 2009-10-29 04:15:21 +02:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: Duplicate entry '57cff883d92424b15067b541d0299906' for key 'PRIMARY' - INSERT INTO `g3_sessions` (`session_id`, `last_activity`, `data`) VALUES ('57cff883d92424b15067b541d0299906', 1256782521, 'c2Vzc2lvbl9pZHxzOjMyOiI1N2NmZjg4M2Q5MjQyNGIxNTA2N2I1NDFkMDI5OTkwNiI7dG90YWxfaGl0c3xpOjE7X2tmX2ZsYXNoX3xhOjA6e311c2VyX2FnZW50fHM6MTExOiJNb3ppbGxhLzUuMCAoWDExOyBVOyBMaW51eCB4ODZfNjQ7IGZpLUZJOyBydjoxLjkuMS41cHJlKSBHZWNrby8yMDA5MTAyNSBVYnVudHUvOS4xMCAoa2FybWljKSBTaGlyZXRva28vMy41LjVwcmUiO2lwX2FkZHJlc3N8czoxMzoiODguMTkzLjY2LjEwOCI7bGFzdF9hY3Rpdml0eXxpOjEyNTY3ODI1MTQ7dXNlcnxPOjEwOiJVc2VyX01vZGVsIjo2OntzOjE0OiIAKgBvYmplY3RfbmFtZSI7czo0OiJ1c2VyIjtzOjk6IgAqAG9iamVjdCI7YToxMjp7czoyOiJpZCI7aToxO3M6NDoibmFtZSI7czo1OiJndWVzdCI7czo5OiJmdWxsX25hbWUiO3M6MTA6Ikd1ZXN0IFVzZXIiO3M6ODoicGFzc3dvcmQiO3M6MDoiIjtzOjExOiJsb2dpbl9jb3VudCI7aTowO3M6MTA6Imxhc3RfbG9naW4iO2k6MDtzOjU6ImVtYWlsIjtOO3M6NToiYWRtaW4iO2k6MDtzOjU6Imd1ZXN0IjtpOjE7czo0OiJoYXNoIjtOO3M6MzoidXJsIjtOO3M6NjoibG9jYWxlIjtOO31zOjEwOiIAKgBjaGFuZ2VkIjthOjA6e31zOjk6IgAqAGxvYWRlZCI7YjoxO3M6ODoiACoAc2F2ZWQiO2I6MTtzOjEwOiIAKgBzb3J0aW5nIjthOjE6e3M6MjoiaWQiO3M6MzoiYXNjIjt9fWdyb3VwX2lkc3xhOjE6e2k6MDtpOjE7fWNzcmZ8czozMjoiNDRkNDdjNzAyZTNmMmQyNGM1OTc2ZjcyMTY2NDEwYTgiOw==') in file system/libraries/drivers/Database/Mysqli.php on line 142 2009-10-29 04:15:21 +02:00 --- error: #0 /var/www/galleria.laatikko.biz/system/libraries/drivers/Database/Mysqli.php(90): Kohana_Mysqli_Result->__construct(Object(mysqli), true, 'INSERT INTO `g3...') #1 /var/www/galleria.laatikko.biz/system/libraries/Database.php(259): Database_Mysqli_Driver->query('INSERT INTO `g3...') #2 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_Database.php(56): Database_Core->query('INSERT INTO `g3...') #3 /var/www/galleria.laatikko.biz/system/libraries/Database.php(962): Database->query('INSERT INTO `g3...') #4 /var/www/galleria.laatikko.biz/system/libraries/drivers/Session/Database.php(114): Database_Core->insert('sessions', Array) #5 [internal function]: Session_Database_Driver->write('57cff883d92424b...', 'session_id|s:32...') #6 /var/www/galleria.laatikko.biz/system/libraries/Session.php(303): session_write_close() #7 [internal function]: Session_Core->write_close() #8 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #9 /var/www/galleria.laatikko.biz/system/core/Kohana.php(700): Event::run('system.send_hea...') #10 [internal function]: Kohana::output_buffer('<!DOCTYPE html ...', 5) #11 /var/www/galleria.laatikko.biz/system/core/Kohana.php(730): ob_end_clean() #12 /var/www/galleria.laatikko.biz/system/core/Kohana.php(742): Kohana::close_buffers(true) #13 [internal function]: Kohana::shutdown() #14 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #15 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(58): Event::run('system.shutdown') #16 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #17 {main} 2009-10-29 04:17:07 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:17:12 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:17:19 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:17:24 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:19:17 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:19:26 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/photos.php(52): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Photos_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call(10, Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Photos_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main} 2009-10-29 04:20:18 +02:00 --- error: Uncaught Kohana_404_Exception: The page you requested, Upgrader, could not be found. in file system/core/Kohana.php on line 849 2009-10-29 04:20:38 +02:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 95 2009-10-29 04:20:55 +02:00 --- error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in file modules/gallery/helpers/module.php on line 95 2009-10-29 04:21:06 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main}Posts: 22892
Don't know how that happened.
clear the log files and then browse to:
http://galleria.laatikko.biz/index.php/upgrader
post the logs.
Other than that....
Staring over is the only option I can think of.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 30
I think that there are duplicate session in sessions table. I truncate this table and this error is now gone.
Log file seems like this:
2009-10-29 06:21:28 +02:00 --- error: Passed variable is not an array or object, using empty array instead #0 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(95): ArrayObject->__construct(false, 2) #1 /var/www/galleria.laatikko.biz/modules/gallery/helpers/identity.php(32): module_Core::available() #2 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(191): identity_Core::providers() #3 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::admin_menu(Object(Menu), Object(Theme_View)) #4 /var/www/galleria.laatikko.biz/modules/gallery/helpers/gallery_event.php(143): module_Core::event('admin_menu', Object(Menu), Object(Theme_View)) #5 /var/www/galleria.laatikko.biz/modules/gallery/helpers/module.php(316): gallery_event_Core::site_menu(Object(Menu), Object(Theme_View)) #6 /var/www/galleria.laatikko.biz/modules/gallery/libraries/Theme_View.php(83): module_Core::event('site_menu', Object(Menu), Object(Theme_View)) #7 /var/www/galleria.laatikko.biz/themes/night_wind/views/page.html.php(89): Theme_View_Core->site_menu() #8 /var/www/galleria.laatikko.biz/system/libraries/Controller.php(74): include('/var/www/galler...') #9 /var/www/galleria.laatikko.biz/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/galler...', Array) #10 /var/www/galleria.laatikko.biz/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false) #11 /var/www/galleria.laatikko.biz/system/libraries/View.php(244): View->render() #12 /var/www/galleria.laatikko.biz/modules/gallery/controllers/albums.php(80): View_Core->__toString() #13 /var/www/galleria.laatikko.biz/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model)) #14 [internal function]: REST_Controller->__call('1', Array) #15 /var/www/galleria.laatikko.biz/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array) #16 [internal function]: Kohana::instance() #17 /var/www/galleria.laatikko.biz/system/core/Event.php(209): call_user_func(Array) #18 /var/www/galleria.laatikko.biz/system/core/Bootstrap.php(55): Event::run('system.execute') #19 /var/www/galleria.laatikko.biz/index.php(86): require('/var/www/galler...') #20 {main}Posts: 22892
Nothing stands out to me.
Now try this:
FAQ: How do I see debug information?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 30
I have created local.php file and upgrader page says now:
So here's the error: syntax error, unexpected BOOL_TRUE in /var/www/galleria.laatikko.biz/modules/tagsmap/module.info on line 2 File: modules/gallery/helpers/module.php, line: 95 And here's how we got there: * gallery_error_Core::error_handler( 2, syntax error, unexpected BOOL_TRUE in /var/www/galleria.laatikko.biz/modules/tagsmap/module.info on line 2 , modules/gallery/helpers/module.php, 95, Array ( [modules] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [akismet] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Akismet [description] => Filter comments through the Akismet web service to detect and eliminate spam (http://akismet.com). You'll need a WordPress.com API key to use it. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [comment] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Comments [description] => Allows users and guests to leave comments on photos and albums. [version] => 2 [installed] => 1 [active] => 1 [code_version] => 2 [locked] => ) ) [contactowner] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => ContactOwner [description] => Allows visitors to send the website owner an email. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [developer] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Developer [description] => Tools to assist module and theme developers [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [displaytags] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => DisplayTags [description] => Display all tags for the current photo/album. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [dynamic] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Dynamic [description] => Adds the Recent Changes and Most Viewed dynamic albums [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [editcreation] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Edit Creation [description] => Manually edit the creation date of an item in Gallery. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [exif] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Exif Data [description] => Extract Exif data and display it on photo pages. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [g2_import] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Gallery2 Import [description] => Import your Gallery 2 content into Gallery 3 [version] => [installed] => [active] => [code_version] => 1 [locked] => ) ) [gallery] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Gallery 3 [description] => Gallery core application [version] => 13 [installed] => 1 [active] => 1 [code_version] => 16 [locked] => ) ) [google_analytics] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Google Analytics [description] => Renders the Google Analytics Code at the end of the page. Written by mcp. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1.2 [locked] => ) ) [image_block] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Image Block [description] => Display a random image in the sidebar [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [keeporiginal] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Keep Original [description] => Make a copy of the original photo before rotating it. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [metadescription] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => MetaDescription [description] => Automatically generates and inserts KEYWORD and DESCRIPTION meta tags into any theme. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [notification] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Notification [description] => Send notifications to users when changes are made to watched albums. [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [organize] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Organize [description] => Organize your gallery by apply tags or moving images [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [purifier] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => HTML Purifier [description] => Enable XSS protection using HTMLPurifier [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [recaptcha] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => reCAPTCHA [description] => reCAPTCHA displays a graphical verification that protects the input form from abuse from 'bots,' or automated programs usually written to generate spam (http://recaptcha.net). [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [rss] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => RSS [description] => Provides RSS feeds [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [rwinfo] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => rWInfo [description] => Display extra information about photos and albums [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [search] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Search [description] => Allows users to search their Gallery [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [server_add] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Server Add [description] => Allows authorized users to load images directly from your web server [version] => 1 [installed] => 1 [active] => [code_version] => 3 [locked] => ) ) [slideshow] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Slideshow [description] => Allows users to view a slideshow of photos [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) [tag] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Tags [description] => Allows users to tag photos and albums [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) ) ) [file] => /var/www/galleria.laatikko.biz/modules/tagsmap/module.info [module_name] => tagsmap [m] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => Tags [description] => Allows users to tag photos and albums [version] => 1 [installed] => 1 [active] => 1 [code_version] => 1 [locked] => ) ) ) ) * modules/gallery/helpers/module.php [95]: parse_ini_file( modules/tagsmap/module.info ) * modules/gallery/controllers/upgrader.php [36]: module_Core::available( ) * Upgrader_Controller->index( ) * system/core/Kohana.php [291]: ReflectionMethod->invokeArgs( Upgrader_Controller Object ( [uri] => URI Object ( ) [input] => Input Object ( [use_xss_clean:protected] => 1 [magic_quotes_gpc:protected] => [ip_address] => ) ) ) * Kohana::instance( ) * system/core/Event.php [209]: call_user_func( Array ( [0] => Kohana [1] => instance ) ) * system/core/Bootstrap.php [55]: Event::run( system.execute ) * index.php [86]: require( system/core/Bootstrap.php )Posts: 30
I deleted tagsmap module and upgrader seems work now.