If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Discounts/Coupons, Gift Certificates, Newsletters, Ads / WARNING: An Error occurred, please refresh the page and try again

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

Started by ccn1 on 9 Apr 2012, 5:31 PM · Views: 7,339

Results 1 to 2 of 2
9 Apr 2012, 5:31 PM
#1
ccn1 avatar

ccn1

Zen Follower

Join Date:
Sep 2004
Location:
London. UK.
Posts:
152
Plugin Contributions:
0

Post #1 by ccn1

Hi There,

The system allows me to create a coupon but if I try to send/email a coupon or Mail a Gift Certificate I get the following error;

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

Seems like when it tries to access the customer database it errors.

I imported the customer table and orders into the new database. All seems to be fine elsewhere but just the Certificates and Coupons ?

Any help would be great, thanks

Info Below:

PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 500M PHP Safe Mode: On
PHP File Uploads: On Max Size: 64M POST Max Size: 128M
Database Data Size: 11,533 kB Database Index Size: 4,568 kB

Zen Cart 1.5.0
Database Patch Level: 1.5.0
v1.5.0 [2012-03-31 10:55:23] (Fresh Installation)
v1.5.0 [2012-03-31 10:55:23] (Fresh Installation)

Cheers
Chris

Regards,

Chris (CCN1)

9 Apr 2012, 5:48 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

ccn1:

I imported the customer table and orders into the new database. All seems to be fine elsewhere but just the Certificates and Coupons ?
Um, that kind of import is a BAD IDEA. Customer data is contained in SEVERAL tables, not just the one named "customers". And order data is contained in SEVERAL tables, not just the one named "orders".

Your error message is specifically caused by a database error that's occurring, probably because of damaged data.

Searching for your error message in the FAQs section brings up this article: https://www.zen-cart.com/tutorials/index.php?article=412

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.