Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Discount Coupons aren't saved when creating

Discount Coupons aren't saved when creating

Locked

Views: 1,255

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Feb 2010, 8:55 AM
#1
elibaba avatar

elibaba

New Zenner

Join Date:
Apr 2009
Location:
Israel
Posts:
23
Plugin Contributions:
0

Discount Coupons aren't saved when creating

Hello,

I've read the DC FAQ, and the sticky threads in this forum but could not find a similar issue, so I am asking it here :

I am trying to create a coupon, even the simplest one. The module is of course installed.
When I am previewing the coupon and saving it, the admin goes back to admin home without any sign of error, but there are no coupons created, I even checked zen_coupons table and it's empty except of 2 pre-configured inactive coupons.

Looking up the coupon in discount_coupon.html?action=lookup brings no results, of course.

There are no errors cought in my "cache" folder, so I am kinda stomped :unsure:. It's 1.3.8 on godaddy hosting.

Thanks for any hint!

8 Feb 2010, 10:15 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Discount Coupons aren't saved when creating

Do the other admin functions work properly?

Not being able to save admin changes is one possible result of improper installation of the latest admin security patch. Make sure you uploaded the patch files to the admin folders, and not the cart folders.

8 Feb 2010, 10:18 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Discount Coupons aren't saved when creating

elibaba:

... on godaddy hosting.

:no: Often the cause of incredible frustration and heartache...

20 years a Zencart User

8 Feb 2010, 3:49 PM
#4
elibaba avatar

elibaba

New Zenner

Join Date:
Apr 2009
Location:
Israel
Posts:
23
Plugin Contributions:
0

Re: Discount Coupons aren't saved when creating

every other cart or admin function seems to work right, and I'm pretty sure I've applied the security patches correctly.

Is there a debug mode I can activate to get verbose output ?

9 Feb 2010, 3:34 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount Coupons aren't saved when creating

Is it possible the new Discount Coupon is on Page 2 and you just did not notice the page numbers? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Feb 2010, 2:05 PM
#6
elibaba avatar

elibaba

New Zenner

Join Date:
Apr 2009
Location:
Israel
Posts:
23
Plugin Contributions:
0

Re: Discount Coupons aren't saved when creating

I'm been programming too many years to allow such an error :cool:

as I wrote previously, zen_coupons table has only 2 rows , that are there probably by default.

"Cache" folder is empty so no PHP error is going on, apparently.

Can I somehow insert logging to an external file in the relevant php files, to be able to debug ?

10 Feb 2010, 3:37 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount Coupons aren't saved when creating

Get the Debug Tool from the Free Software Add Ons ... see if that reveals any problems ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Feb 2010, 1:54 PM
#8
elibaba avatar

elibaba

New Zenner

Join Date:
Apr 2009
Location:
Israel
Posts:
23
Plugin Contributions:
0

Re: Discount Coupons aren't saved when creating

It's freaky, but I haven't done anything except applying the debug tool contrib, as recommended by Ajeh - and suddenly everything works fine !

so it's not only a debug, but a fixing tool too :D