/admin/themes broken

D_Wahl

Joined: 2009-11-19
Posts: 2
Posted: Thu, 2009-11-19 02:36

Just did a vanilla gallery3 git install, added a couple of themes:

admin_wind
wind
greydragon
3nids_theme
night_wind
darkness

now accessing /admin/themes gives me this error page:

Quote:
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( )

* modules/gallery/controllers/admin.php [50]:

Admin_Themes_Controller->index( )

*

Admin_Controller->__call( Array
(
[0] => Admin_Themes_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)

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

)

[1] => index
)
)

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

ReflectionMethod->invokeArgs( themes )

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

Kohana::instance( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)

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

)
, Array
(
[0] => themes
[1] => Array
(
)

)
)

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

Event::run( )

* index.php [90]:

require( system/core/Bootstrap.php )

I don't think adding the themes is what broke it, but I included them in the original FTP upload, so I don't know. Anyways, after running the /install the themes admin is the only broken thing.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-11-19 03:14

Some third party themes from the gallery3-contrib / forums are not yet compatible with the recent git versions.
Only the default wind theme works well as far as I know. night_wind is now a 3rd party theme and in only available via the -contib repository.

Suggestion:
Start over fresh with a clean install from git and add one theme at a time.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
D_Wahl

Joined: 2009-11-19
Posts: 2
Posted: Thu, 2009-11-19 05:52
Quote:
Some third party themes from the gallery3-contrib / forums are not yet compatible with the recent git versions.

Yeah that was it. I blew away the install and started fresh with only 'wind'. If you want I can go through and add themes until it breaks, or if that's just part of the dev process I'll leave good enough alone.

thanks

 
info@fransliesh...
info@franslieshoutfoto.nl's picture

Joined: 2008-04-18
Posts: 15
Posted: Thu, 2009-11-19 19:28

Nice to read this after I uploaded all most 8000 photo's. I do not know if I go on with gallery3 right now or wait. I also do not understand the tructure of rights. I will come back with an question when I am not so tired.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-11-19 19:47

info@...,
The original poster did not have 8000 items so I gave a responce for that.
Start a new thread if you have a different setup/install/version.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team