Quote Originally Posted by shellyfan View Post
Hi, everyone

I am new to Zen cart.
After I set up categories and clicked New Products, filled all information about the product, then clicked Preview. It looked fine, so I clicked Insert, but a warning message shown:

Warning: An error occurred, please refresh the page and try again.

I refreshed many times and re-inserted products, still had the same warning message.

My system is Windows XP and zencart version is v1.5.4

Anyone can help me out where I made mistakes? Thank you very much!
Hey, welcome to ZC. So a few things that help you and in turn help others to help you.

When posting that there is an issue, knowing the current condition of the software like what all has been installed (plugins), self modifications made, as kobra asked the origin of the cart software and other environment factors help to identify the most likely cause of the issue.

In this situation, having the warning that there was a problem generates a little log file with information that can help determine the source of the problem. Thing is that because the error occurs on the admin side, the debug (myDebug-adminxxxx) file will include your admin folder name. So, you are welcome to post your log file, but it is advisable to change that admin directory name in the post to either just admin or x'd out so that you do not notify the internet about where to possibly go and try to get into your admin directories...

So that said, the myDebug log(s) in ZC 1.5.1 and above can be found in the logs directory or the location defined in your includes/configure.php for the constant DIR_FS_LOGS. It is advised to always target the most recent log file as that problem is definitely still an issue. Older log files may have been corrected by other things and it may just be a waste of time to chase a ghost.

Anyways, if you are still having this issue, after going through all the "training" needed to setup a local version of the site (always suggested to have such a development site) and still pulling your hair out on this, then suggest posting the contents of the latest error log (generated by trying to repeat the problem) and perhaps a solution can be offered. :)