Internet Marketing Idea, Blogging, Tools, Tips, and More…
RSS Feed

Your Attempt to Edit/Save This Page/Post has Failed

Have you ever experiencing this kind of situation?

At that time, I just got an idea that I think really nice and it would be great if I share it in my Indonesian blog, and after taking 15 minutes of struggle to create an awesome blog post, with right keywords and meta descriptions inputted to All in One SEO form correctly, its time to click the publish button and release it to the crowd… Waksss… My WordPress just throw me an error message like this:

“Your attempt to edit/save this page/post: [eye-catching-post-title] has failed. Please try again.”

:sigh: That’s not quite enough, when I click the Please try again button, WordPress innocently give me a blank page!!! :suicide:

After experiencing this kind of situation several time, I realized that all the posts that I’d made was not really gone, we still can find it on the Draft page, and the problem will only occurred when I tried to Save or Publish my post just after or in the same time with WordPress Auto Save running in the background.

Google Time! And these are the winners:
http://trac.wordpress.org/ticket/6785
http://conradmiguel.com/wordpress-25x-your-attempt-to-edit-this-pagepost-has-failed-please-try-again

WordPress trac said that this problem ticket milestone is 2.7, its mean this problem most likely will be fix on WordPress version 2.7, and it stated that its only happen when we have a fairly slow responding web server *wich.mean.my.webserver :sigh:*

So to avoid this problem, we need to be patient, and wait for a few seconds before clicking the Save or Publish button, or deactivating WordPress Auto Save capability like what was done by conradmiquel.

To deactivating the Auto Save feature, conrad said that we need to edit file wp-admin/post-new.php and commenting/escaping the code for enqueuing the Auto Save feature like this:

1
2
3
4
5
6
7
8
<?php
require_once('admin.php');
$title = __('New Page');
$parent_file = 'post-new.php';
$editing = true;
//wp_enqueue_script('autosave');
wp_enqueue_script('page');
wp_enqueue_script('post');

Happy WordPressing.

Related Posts

Tags:

Posted in WordPress

7 Comments I follow so far... to “ Your Attempt to Edit/Save This Page/Post has Failed ”


Jim Spence (1 comments.) July 16th, 2008 at 11:14 am

Tuesday In searching for sites related to AdSense but more specifically to %KEYWORD, I found your site which has great content.

phil (1 comments.) July 22nd, 2008 at 7:39 pm

this does seem to work, however any idea whay my advanvced option do not function (they did not work before i escaped the autosave for posts and pages either)

the post gives me the adavanced options but i only see the name sof the advanced options when i write pages

Poer July 23rd, 2008 at 1:51 am

hi phil, which version of wp that you use? i currently use wp2.5.1 (no time to update to 2.6 yet) and the advanced options are work find for me.

what happen when you click the name/header of each advanced options?

Khawla (1 comments.) August 8th, 2008 at 4:11 pm

It worked! Thank you for the tip!

Khawlas last blog post..New article added to News

Ed (1 comments.) August 14th, 2008 at 8:12 am

Sorry bud but this does not work, tried and still the same Your attempt to edit this page: “Page” has failed. problem

Poer August 14th, 2008 at 12:05 pm

are u sure u commented the right code?

//wp_enqueue_script(’autosave’)

if the calling to autosave function is commented, wp will never ever perform autosave again.

rodos @ paphos park and go.com (1 comments.) November 13th, 2008 at 4:50 pm

Worked fine for me, thanks for the info!



Leave a Reply

CommentLuv Enabled