I can't see Theme Choice because 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.
Ok.. tell me 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/controllers/admin_themes.php, line: 38
And here's how we got there:
* modules/gallery/controllers/admin_themes.php [38]:
ArrayObject->__construct( )
* modules/gallery/controllers/admin_themes.php [26]:
Admin_Themes_Controller->_get_themes( )
*
Admin_Themes_Controller->index( )
* modules/gallery/controllers/admin.php [50]:
call_user_func_array( Array
(
[0] => Admin_Themes_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( themes )
* 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] => themes
[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 )
Posts: 16503
What version? Are you running the latest experimental code:
http://codex.gallery2.org/Gallery3:Upgrading
Are you using the default them or a custom theme?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 30
Latest git and default theme.
So here's the error: parse_ini_file(/var/www/galleria.laatikko.biz/themes/default/theme.info) [function.parse-ini-file]: failed to open stream: No such file or directory File: modules/gallery/controllers/admin_themes.php, line: 38 And here's how we got there: * gallery_error_Core::error_handler( 2, parse_ini_file(/var/www/galleria.laatikko.biz/themes/default/theme.info) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory, modules/gallery/controllers/admin_themes.php, 38, Array ( [themes] => Array ( [admin_wind] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => SafeString Object ( [_raw_string:SafeString_Core:private] => Gallery Wind [_is_safe_html:protected] => 1 ) [description] => SafeString Object ( [_raw_string:SafeString_Core:private] => A crisp Site Administration theme with soft colors and drop down menus. [_is_safe_html:protected] => 1 ) [version] => 1 [author] => Gallery Team [admin] => 1 [site] => 0 ) ) ) [theme_name] => default [file] => /var/www/galleria.laatikko.biz/themes/default/theme.info [theme_info] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [name] => SafeString Object ( [_raw_string:SafeString_Core:private] => Gallery Wind [_is_safe_html:protected] => 1 ) [description] => SafeString Object ( [_raw_string:SafeString_Core:private] => A crisp Site Administration theme with soft colors and drop down menus. [_is_safe_html:protected] => 1 ) [version] => 1 [author] => Gallery Team [admin] => 1 [site] => 0 ) ) ) ) * modules/gallery/controllers/admin_themes.php [38]: parse_ini_file( /var/www/galleria.laatikko.biz/themes/default/theme.info ) * modules/gallery/controllers/admin_themes.php [26]: Admin_Themes_Controller->_get_themes( ) * Admin_Themes_Controller->index( ) * modules/gallery/controllers/admin.php [50]: call_user_func_array( Array ( [0] => Admin_Themes_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( themes ) * 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] => themes [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 )Posts: 16503
There's one problem. The default theme is not named that anymore.
On this page: http://codex.gallery2.org/Gallery3:Upgrading There is a section called "Tips for unpacking the code" where you unpack the latest experimental version into a new directory and move the var directory in that then rename directories. Do that. Make sure that none of the old code is around.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here