Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#3370 closed defect (bug) (worksforme)

Do not have permission to add category.

Reported by: computerwolf Owned by: mdawaffe
Milestone: Priority: normal
Severity: normal Version: 2.0.5
Component: Administration Keywords: category permission adding
Focuses: Cc:


Ever since upgrading from 2.0.4 to 2.0.5, whenever I attempt to add a category, I get the message, "You don't have permission to do that." when on the page to add a new post. I am the administrator and can add categories fine from the category area in the admin. I have already attempted a fresh install of 2.0.5, and still receive the error.

Attachments (1)

3370-plugin.php (557 bytes) - added by mdawaffe 15 years ago.

Download all attachments as: .zip

Change History (15)

#1 @foolswisdom
15 years ago

Hi computerwolf,

Still at a loss as to what is causing this. As this has not been reported more generally, it is likely something specific to your environment. Any other clues? How are you connected to the Internet? Is it over proxy?

#2 @computerwolf
15 years ago

I am connected to the internet on a LAN by cable modem, and have had the problem on multiple computers. The problem only appeared after the upgrade so I figured it was code related. I have no javascript errors on any other pages that I know of.

#3 @computerwolf
15 years ago

  • Milestone set to 2.0.5

#4 @(none)
15 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

#5 @foolswisdom
15 years ago

This will probably require direct debugging on your server. I would volunteer, but I do not yet have the expertise.

#6 @computerwolf
15 years ago

Why would that aspect of 2.0.4 work on my server and not 2.0.5? The server meets all the requirements. What has changed between the two that would cause this unwanted error?

#7 @computerwolf
15 years ago

  • Milestone set to 2.0.6

ok, I opened up wp-admin/edit-form-ajax-cat.php and removed

if ( !check_ajax_referer() )

I could then add categories just fine. I then went to delete the new test categories I had made and found that I got the same permission error there as well.

So what change between the versions would cause check_ajax_referer() to fail?

#8 @ryan
15 years ago

[4053] could be responsible.

#9 @mdawaffe
15 years ago

  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned


I'm trying to reproduce the problem but am having a hard time.

Can you email me privately? mda AT blogwaffe TOD com

#10 @markjaquith
15 years ago


Have you made any progress on this?

[4053] went in before 2.0.4, so he would have been having this problem back then if that was the sole culprit.

Have we verified that the 2.0.5 files are intact and that there wasn't a "partial upgrade" ?

This person in the forums seems to have the same problem with deleting posts via AJAX:


(or maybe computerwolf == pemondoux)

Not sure whether this is PEBKAC or just a very rare and very specific server setup.

#11 @mdawaffe
15 years ago

I do not believe this is PEBKAC.

I have made no progress. Originally, I thought this was due to a bad encoding of a username or passward hash, but that seems not to be the case.

computerwolf, If you disable all plugins, do you still see the issue?

Could you try installing the plugin 3370-plugin.php (found in the attachment section of this page) to see if that helps?

15 years ago

#12 @computerwolf
15 years ago

I used a brand new installation of 2.0.5 and activated your plugin and still receive the error.

#13 @foolswisdom
15 years ago

computerwolf, http://wordpress.org/support/topic/96531?replies=14#post-482545 sounds like a similar scenario. Does that help your issue?

#14 @foolswisdom
15 years ago

  • Milestone 2.0.6 deleted
  • Resolution set to worksforme
  • Status changed from assigned to closed

Removing milestone and marking works for me, until new info.

Note: See TracTickets for help on using tickets.