[wp-hackers] No sufficient privileges
Computer Guru
computerguru at neosmart.net
Wed Dec 27 03:40:17 GMT 2006
Your question isn't very clear, I'm not sure whether you are saying this
happens when for your main adimn account or for the newly created
accounts...
If the former, are you by any chance using WordPress' built-in object cache?
If so, clear the cache directory, it's probably a result of mangled command
somewhere...
Computer Guru
NeoSmart Technologies
http://neosmart.net/blog/
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-
> bounces at lists.automattic.com] On Behalf Of Tassoman (mailing)
> Sent: Sunday, December 24, 2006 12:36 AM
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] No sufficient privileges
>
> Hi to all,
> I'm still managing with automatic user creation.
>
> I'm creating users using that code:
>
> $userclean = sanitize_user($username, true);
> $userclean = apply_filters('pre_user_login', $userclean);
> require_once(ABSPATH . "wp-includes/registration-functions.php");
> wp_create_user($userclean, $password, $vb_user['email']);
>
> the result seem a correct user creation in wp_users and enough usermeta
> rows:
>
> 20 wp_capabilities a:1:{s:11:"contributor";b:1;}
> 20 nickname prova
>
> But while i try to login, I'm blocked for a lack of user privileges...
> ?
> Some help? I'm stuck.
>
> --
> Blogging humanum est, Tassoman ovest.
> http://blog.tassoman.com
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list