When will you replace "Are You Sure You Want To Do This?"
When editing a page, if too much time has passed perhaps, when I try to update, I get a blank page with “Are you sure you want to do this? Please try again.” Whether I click “Please try again” or click the back button, I’ve lost all changes in the edit window. How about a pop-up window that doesn’t prevent me from copying text in the edit window? Then I can copy my changes before losing the page.
I try to remember to copy my changes before I update, but sometimes I forget. This has to be an easy change to make, I would think.
It certainly would be a considerate thing to do.
if too much time has passed perhaps
How much time are we talking here?
It seems to be inactive time, I’m guessing maybe 10 minutes? Or there could be some other cause. But it would only make sense to have a pop-up window instead of taking the page away with a half hour or more of work in changes made. Sometimes it takes longer trying to remember the changes and re-write.
This “Are you sure you want to do this” seems to have absolutely no function in this case. If the page is no longer current, please don’t take it away so that we lose all the work. Give us a pop-up window that doesn’t have to stay on top, so that we can copy the work before losing the page.
It seems to be inactive time, I’m guessing maybe 10 minutes?
It could be cookie expiration issue. Have you tried using another browser? Another computer?
I use firefox and its up to date. I don’t know of any issues with cookies. I’ll check to see if I have software that is deleting cookies. It doesn’t happen all the time, but when it does and if I didn’t copy the whole edit then I’ve lost it.
If someone has a problem, why not help him out instead of eliminating the page in order to indicate a problem? Leave the page on his screen and let him refresh or go to the dashboard when he is ready.
If someone has a problem, why not help him out instead of eliminating the page in order to indicate a problem?
Because this isn’t supposed to happen – at least not in the way that you;re experiencing it. Something is wrong somewhere in your install or set up but it might take a fair bit of investigating to get to the root cause.
If you continue to have problems, let us know and we can try another possible troubleshooting route.
“Are you sure you want to do this” is a security error, really. I’ve managed to create it in my plugins, and there’s really no way you should get this day to day unless you have something that’s eating cookies or nonces. Which means you should turn off all your plugins and so on to try to debug :/
I’ve also managed to replicate this in a theme when crating a theme options page (which is a clever way of saying I borked my own theme). So it could also be a theme issue.
So don’t do anything to help out, by making error notification something less than a trap door? It’s their problem, and therefore of no concern. Yes, I may have a problem that can be fixed. The thoughtless form of error notification is a problem too, so easy to fix. But it’s easier to say it’s not our problem.
It’s not that we’re trying to brush this off. what we’re saying is that there may be a number of reasons as to why you’re seeing this message and that it’s going to take some troubleshooting through a process of elimination to track the root cause down. All we can say for sure at this point is that something is wrong in your install – we just don’t know where yet. Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
I give those a try, thanks. I understand the ideal is to find the source of the problem.
Maybe it’s too much to ask for a sensible error notification also?
I thought so. No practical approach here, just leave the trap door open. I haven’t found the problem yet, and I need to get work done, and once again I lost work and time because of it. People will spend more time posting about my problem than it would take to change their problem (ahh, but it’s my problem), to change the error notification to a pop-up window. Practicality, what the hell is that in techland?
Maybe it’s too much to ask for a sensible error notification also?
The error is sensible given the fact that you can hit it about a hundred different ways. Perhaps a better one would be ‘An error has occurred’ but the verbiage of ‘Are you sure…’ gives the user a little more pause for “oh, did I do something really wrong?”
And the answer to that is yes, you (in your case the person who wrote the code you’re using) did do something wrong that needs fixing.
Yes, it’s vague, but that’s probably because the error check isn’t robust enough to trap every possible permutation of how you got there, and so it throws the generic.
Practicality would be for you to narrow down what the problem actually is, and maybe we could come up with a way to trap THAT error better 🙂 But right now it’s too vague on all fronts.
You had a lot to say and entirely missed my simple suggestion. If you just convert your blank page with notification to a pop-up window that doesn’t have to remain on top, you would not be needlessly removing the page on the screen.
No, I read it, I just ignored it because it’s currently impractical.
Give us a pop-up window that doesn’t have to stay on top, so that we can copy the work before losing the page.
That depends entirely on if the developer who wrote the bad code did it ‘right.’
And even then I can’t see it working for all situations. You click on a button to tell WP ‘do this action.’ WP runs whatever action, often submitting options and saving settings. WHERE it goes from that button could be anything.
Also you’re leaving out the possibility of people trying to do stupid things like hack attempts (XSS stuff, hitting URLs directly vs going through options and so on). Many of those get caught by this too.
Simplier, more light weight, solution 🙂
Real answer: Get the code fixed. It never should have hit the end user.
I’m traveling in Peru and not in a place where I can get good help with this. When I have time, I’ll try the suggestions made earlier, if it won’t upset the work I am trying to do here.
A pop up window would certainly help in some situations, rather than giving a useless blank page for an error notification. And we’re not talking about fixing every problem here. Just a notification that shouldn’t require removing the page from the screen. How is that involved with hacking? [Leave your “maybe” provocative statements out until you’re absolutely sure]
After my first post, I had a strong feeling that this would be an exercise in beating my head against the wall. Interesting to see the reactions I get.
- The topic ‘When will you replace "Are You Sure You Want To Do This?"’ is closed to new replies.