Apr 4, 2012 at 8:13 PM
Edited Apr 5, 2012 at 2:54 PM
I installed php on azure a few days ago. Everything seemed to be fine, but I only have one post and now when I try to make another one I get the Submit for Review button in the Publish widget. When I click this or the Save Draft button I get:
Are you sure you want to do this?
Please try again.
Or if I click the Preview button I get:
You are not allowed to edit this post.
I'm not that familiar with wordpress or php, but the IIS logs look OK to me. Also, I can create and delete new users and update the single post I have. I'm only using a few MB's of the database. I was able to add new media, which wrote a record to the wp_posts
table. Does anybody know what else I should look at? I'm not even sure what error logs might contain some clues, since I don't know much about the wordpress/php stuff.
I was checking this issue on other blogs and it turns out this is a fairly common problem. I've done a few in-place upgrades over my site and this issue seemed to happen after I upgraded. According to most of the questions in this topic, it seems to be a
database issue. Most of the potential fixes will not work on Azure (not MySQL, no DBCC call available). Has anybody else encountered this, and how did you work around it? I suppose I can just create a staging site every time I do an upgrade, then do a VIP
swap, but that won't fix a database issue.