WordPress 2.5.X: Your attempt to edit this page/post has failed. Please try again.
Category [tags]: Fixes, Wordpress Stuff [fix, wordpress]
Are you looking for a fix on the WordPress error: “Your attempt to edit/save this page/post: [post/page title] has failed. Please try again.”? If you are, you are on the right page!
Yesterday, my WordPress for this blog went problematic after the server reboot at my web host’s end. The first problem I encountered was the corruption of the table wp_options of my WordPress database which resulted to WordPress asking me to reinstall the blog. I fixed it using the Repair DB functions of cPanel.
The next problem I saw was that I can’t post or edit any page. It keeps on dumping “Your attempt to edit this post [post title] has failed. Please try again.” I tried searching for the problem in the Internet and learned that it is caused by the WordPress autosave function.
To fix it, you should have access to your WordPress blog from cPanel file manager or FTP. Browse to [blog_root]/wp-admin/ and locate the file post-new.php. After locating the file, edit it directly thru your File Manger (cPanel) or download it thru FTP. Edit the file using your favorite text editor such as NotePad if you downloaded it thru FTP.
Locate the following section of the code:
$parent_file = 'post-new.php';
$editing = true;
wp_enqueue_script('autosave');
wp_enqueue_script('post');The function wp_enqueue_script(’autosave’) should be commented or escaped. To comment/escape it, put double slashes (//) before the line. After doing so, the section of the file should look like this:
$parent_file = 'post-new.php';
$editing = true;
//wp_enqueue_script('autosave');
wp_enqueue_script('post');Save the file. If you downloaded it thru your FTP, reupload it on the same folder.
Publishing should work well now. If you still encounter problems, feel free to leave a comment to this post and I’ll try to look for other solutions.
If you found this post useful, you may want to subscribe to my feeds.
Did you like my post? Subscribe and join my 254 thousand other subscribers
You may also subscribe thru email by using this form:
18 Responses to “WordPress 2.5.X: Your attempt to edit this page/post has failed. Please try again.” (respond?)
not work. i got this error with wordpress.com blog. This is wordpress.com own blog ! Nothing we can do.
working solution using firefox is disable javascript, view — page style — no style.
happyman’s last blog post..Caj Happy VS telco lain
[...] So to avoid this problem, we need to be patient, and waiting for a couple seconds before click the Save or Publish button, or deactivating WordPress Auto Save capability like done by conradmiquel. [...]
[...] WordPress 2.5.X: Your attempt to edit this page/post has failed. Please try again. [...]
I tried the fix and it worked! I’m very glad to have found this page. This error had been bothering me for a long time and no other website had a fix that worked.. thanks.
Hi Mikko. Sorry, this one didn’t work for me. I can post and edit blog posts but not blog pages. Hmmm. Can this be a webhost error? Will try to contact them and see if they can help.
Fitz’s last blog post..Discover Your Strengths, Find Your Passion
Hey Man!
This hack don’t work for me.
However… Thanks!
Xyami!
Angola Xyami’s last blog post..Frases de Ano Novo; Frases de Fim de Ano; Sms para Ano Novo: “A partir de hoje nada mais será igual, prometo!”



Conrad Miguel E. Gozalo is 

Nice fix. I’m glad I had not yet encountered that problem on any of my blogs.
But now that you’ve disabled the autosave function in WP, how do you then get it back without having this problem return once you want the autosave function again?
jhay’s last blog post..invisibleSHIELD.com is now ZAGG.com