Upgrade beta3 to latest git - theme options not working line 38

hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Wed, 2009-11-04 23:50

I just upgraded to latest git from Beta 3.

When trying to access theme options, I have oooppsss something went wrong page. It complains about line 38

File: modules/gallery/controllers/admin_themes.php, line: 38

What is the issue?

all the best
HB

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Thu, 2009-11-05 00:04
Quote:
Did you copy the new code over the old code?

http://gallery.menalto.com/gallery_3.0_beta_3_feedback?page=3#comment-326229

Post the entire output from that page and anything from your gallery/var/logs directory from today or around the time of you accessing that page.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Thu, 2009-11-05 16:29
Quote:
Post the entire output from that page and anything from your gallery/var/logs directory from today or around the time of you accessing that page.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
sky_surfer_fra

Joined: 2007-12-23
Posts: 23
Posted: Thu, 2009-11-12 17:29

see next entry

Login or register to post comments
sky_surfer_fra

Joined: 2007-12-23
Posts: 23
Posted: Thu, 2009-11-12 17:28

Get the same error.

Required Bootstrap.php is present at /gallery/system/core after a clean install and copying 3ndis over installation
Regards, Tom

Here is the detailed error message:

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] => 1
[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] => 1
[ip_address] =>
)

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

)
)

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

Event::run( )

* index.php [86]:

require( system/core/Bootstrap.php )

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Thu, 2009-11-12 18:04
Quote:
3ndis over installation

I'm not going to even start troubleshooting a 3rd party theme at this point in development. Does it work with only the default themes installed? If so, then there is something wrong with that theme and you should go here to report it:
http://gallery.menalto.com/node/91195
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
sky_surfer_fra

Joined: 2007-12-23
Posts: 23
Posted: Thu, 2009-11-12 18:45

Thanks for looking at my request and your clarification and the link to menalto, nivekiam.
Cheers,

Tom

Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Thu, 2009-11-12 23:02

My solution to the issue:

I removed all 3'rd party themes. Core worked again. 3nids has an upgrade for latest git. I installed that theme and it works well. I suspect the fault was in one of the other themes that was not upgraded for gits after beta 3

all the best
HB

Login or register to post comments