How not to handle errors: phpmyadmin edition

By December 4, 2008Technical
  1. The user does something that fails, due to server-side problems, and you wish to inform the user of this problem so it can be fixed.
  2. You redirect to a page with a URL something like /error.php?message=Something+has+gone+wrong.+Please+fix+it+and+try+again
  3. The user fixes the error on the server, and (since staring at the location bar isn’t a whole lot of fun) simply hits ‘reload’ in their browser.
  4. This causes much wailing and gnashing of teeth, as the problem apparently persists.

I’ll give phpMyAdmin partial credit for at least HTML escaping their errors, but… the stupid, it BURNS!