Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

rhoulian on "Unable to create new user"

$
0
0

Hi,

I have a problem while creating a new user...
I run a fresh install of 1.4.4 master (GitHub)

This happens only when user_groups is activated. (No problem if not) :

When saving the user information I get this message :

Warning: strpos() expects parameter 1 to be string, array given in /.../zp-core/functions.php on line 411

Fatal error: Forbidden in /.../zp-core/functions-common.php on line 280

Here is what I can see in the debug log :

ERROR GENERATED BY USER : Forbidden dans /.../zp-core/functions-common.php à la ligne 280
trigger_error called from zp_error (functions-common.php [280])
from zp_mail (functions.php [414])
from email_new_user::save (email-newuser.php [27])
from call_user_func_array (unknown)
from zp_apply_filter (functions-filter.php [148])
from admin-users.php [202]

Security log confirms that the request for adding the new user succeed. But the user does not appear in the admin tab, and the mail is not send to the new user (email_newuser enabled)

It is not a huge problem since I can register manually a new user with the extension off, but it could be nice to define automatically the rights for him.

Thanks ;-)


Viewing all articles
Browse latest Browse all 2917

Trending Articles