[wp-testers] "You do not have sufficient permissions", even on fresh installs

Roy Schestowitz wp-lowtraffic at schestowitz.com
Thu Mar 23 02:58:27 GMT 2006


___/ On Wed 22 Mar 2006 20:59:46 GMT, [ Martin Stabenfeldt ] wrote : \___

> Hi,
>
> Since the upgrade broke, I tried to install the nightly build  
> (2006-03-22) and version 2.0.2 from scratch.
> It didn´t work, I´m still getting the "You do not have sufficient  
> permissions to access this page." error when trying to access 
> wp-admin.
> This is on a installation from scratch, no upgrade. I created a new  
> empty database for this test.
>
> Output from Apache error log:
> PHP Warning:  Invalid argument supplied for foreach() in /home/user/ 
> public_html/wordpress-2.0.2/wordpress/wp-includes/capabilities.php on 
>  line 19, referer: http://foobar.com/wordpress-2.0.2/wordpress/
>
> I´m running WP on a Fedora Core 4 server.
> MySQL-server version:	4.1.15-standard
> PHP:					5.0.4-10.5
>
>
> Please let me know if you need any more information from me! :)
>
> Best regards,
> Martin Stabenfeldt_______________________________________________

Hi Martin,

I believe this was discussed a few days ago:

http://comox.textdrive.com/pipermail/wp-testers/2006-March/002391.html

,----[ Message from thread ]
| Dan McCullough wrote:
| > Yes that was the first thing, this message seems to be generated from.
|
| >
| > wp-admin/menu.php
| > if (! user_can_access_admin_page()) {
| > 	die( __('You do not have sufficient permissions to access thi
| > page.') );
| > }
| >
| > if I comment out this code I am allowed in, however the navigation
| for
| > the administration section is still not visable.
|
| This has nothing to do with htaccess or permssions on files.  It'sabout
| the user tables in the DB.  The only time I know of that this problem
| occurs is when someones changes the db prefix.  There are various
| patches being discussed for how best to address prefix changes.  If you
| haven't changed the prefix, then something else is amiss in the user
| tables.  If you're willing to send me a link to phpmyadmin for your site
| as well as the user and pass to login, I will take a look.  Back up
| beforehand. :-)
|
| Ryan
`----

With kind regards,

Roy



More information about the wp-testers mailing list