WARNING: An Error occurred, please refresh the page and try again

This is a generic message which usually indicates your site is having problems accessing data in your MySQL database.
It could be a problem with:
  • MySQL not running
  • incorrect DB_xxxxxxx settings in either of your configure.php files
  • syntax error in MySQL statements
  • an incompatible addon, on an incorrectly-installed addon (such as SQL installation steps not completed properly)
  • a hacker attempting to do something rogue or malicious with something on your site, and has been blocked because they've got syntax errors or are attempting to exploit a vulnerability that is NOT a problem on your site
  • something wrong with the MySQL engine on your webserver, which your hosting company will likely need to resolve for you

To find out the actual REAL error message that's occurring, view your site's myDebug-xxxxxxx.log files located in your site's /logs (or /cache for older sites) folder.  More information on accessing those logs is discussed at http://www.zen-cart.com/content.php?124-blank-page

Once you've found the actual error message details from those logs, search for those messages using the search option on this page or in the main Zen Cart support forum for additional steps in resolving the problem.


Alternatively, to see the actual MySQL error message details, you can TEMPORARILY enable STRICT_ERROR_REPORTING as described in this article: http://www.zen-cart.com/content.php?315-what-is-strict_error_reporting. This should ONLY be a TEMPORARY measure. FOR SECURITY REASONS, YOU MUST PUT IT BACK TO NORMAL WHEN DONE, since its use may give malicious visitors information they ought not to have about your site.
  • 23 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...