Cant create guest password

lucasnet

Joined: 2005-06-04
Posts: 72
Posted: Thu, 2009-04-09 22:25

Hi. I am testing the lastest version of Gallery 3 (Alpha 3) and got above error when want create guest password:

Runtime Message

An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.

modules/user/controllers/admin_users.php [116]:

Trying to get property of non-object
Stack Trace

*

Admin_Users_Controller->edit_user( 1 )

* core/controllers/admin.php [49]:

call_user_func_array( Array
(
[0] => Admin_Users_Controller Object
(
[uri] => URI Object
(
)

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

)

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

*

Admin_Controller->__call( users, Array
(
[0] => edit_user
[1] => 1
)
)

* kohana/core/Kohana.php [270]:

ReflectionMethod->invokeArgs( 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] => users
[1] => Array
(
[0] => edit_user
[1] => 1
)

)
)

*

Kohana::instance( )

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

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

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

Event::run( system.execute )

* index.php [61]:

require( kohana/core/Bootstrap.php )

Loaded in 0.1381 seconds, using 4.41MB of memory. Generated by Kohana v2.3.2.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-04-24 00:19

I can't repro this with the latest code. But in general, we shouldn't even allow you to assign a password for the guest account. It's not really what you want.. anybody who comes to the site is automatically in the guest account (password or not). What are you trying to do?