[Skip to main content](#vessel-content)

#   Error when using Coupons

##

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 11 months ago [\#3193](#3193) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  *[Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3193 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")* was created by *[chris711](/forum/user/371-chris711 "View chris711's Profile")*

Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct code or anything else) the page refreshes to an internal server error message 500:

the page address being called is: option=com_hikashop&amp;ctrl=checkout&amp;task=step&amp;Itemid=110 (last numbers depend on the product category of the item at the top of the cart list).

Thereafter the only way to get the Checkout page to display again is to use the back button a couple of times to return to the stage before going to the checkout page - empty the Cart completely and start again - without doing this any attempt to reach the checkout page (normally at "option=com_hikashop&amp;ctrl=checkout") defaults to the same address that created the first error i.e. "option=com_hikashop&amp;ctrl=checkout&amp;task=step&amp;Itemid=110".

If Coupons are left unused the checkout performs exactly as it should.

Hope you will be able to tell what the problem may be.

Thanks
Chris

PS I think you have a great product here!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

15 years 11 months ago -  15 years 11 months ago [\#3194](#3194) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3194 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Hi Chris,

I actually just tested to enter a coupon on our demo website as well as on one of our test websites and couldn't reproduce the problem. So, it seems to be a problem which might only happen in some cases. Could you provide the URL of your website so that we can have a look at the problem ? We might be able to find a clue.

Last edit: 15 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

15 years 10 months ago [\#3214](#3214) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3214 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

I went on you website to test the problem. I can't even access the checkout. There seems to be a fatal error occuring for some reason.

Could you check your php error logs ? If you don't know how to access them, you could ask your hosting company.
That will tell more information about that error, because with just a 500 error, trying to fix it is like shooting in the dark.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 10 months ago [\#3225](#3225) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3225 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Hi Nicolas,

I logged in and find the problem with access to the cart is that I left one item in my shopping cart after the error occurred last - as I mentioned, unless one goes in and completely empties the cart the access error will continue. I have emptied the cart now - perhaps you could try again - place something in your cart and then click the link to go to checkout - all that should work until you try to add a coupon - 'loyalfish06' is set up currently as the coupon name.

I looked at the server error logs and the only relevant entry I could see was:
[Fri Dec 10 05:29:51 2010] [error] [client 81.155.221.240] File does not exist: /home/flyfuk/public_html/500.shtml, referer: [ www.theflyfactory.co.uk/web/index.php?op...&amp;category\_pathway=60](http://www.theflyfactory.co.uk/web/index.php?option=com_hikashop&ctrl=product&task=show&cid=1907&name=barbless-adams-dry-fly-&Itemid=110&category_pathway=60)

Regards

Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 10 months ago -  15 years 10 months ago [\#3227](#3227) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3227 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Full error path was: /home/flyfuk/public_html/500.shtml, referer: [ www.theflyfactory.co.uk/web/index.php?op...&amp;category\_pathway=60](http://www.theflyfactory.co.uk/web/index.php?option=com_hikashop&ctrl=product&task=show&cid=1907&name=barbless-adams-dry-fly-&Itemid=110&category_pathway=60)

Also I think the access error occurs if you are not logged in when trying to access the Checkout.

Last edit: 15 years 10 months ago by [chris711](/forum/user/371-chris711 "View chris711's Profile"). Reason: Add info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

15 years 10 months ago [\#3233](#3233) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3233 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Hi Chris,

Unfortunately, that doesn't help much as these are the apache logs, not the PHP logs. Could you try to ask your hosting company for more logs ?

Otherwise, the only solution I see is that you give us an FTP access to you website so that we can trace down the problem in the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 10 months ago [\#3240](#3240) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3240 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

I have asked for the php logs - but have not yet had a response from hostgator on this.

Will provide you with ftp access and will email the details.

Cheers

Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

15 years 10 months ago [\#3252](#3252) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3252 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Hi,

I got your email with the logs. Unfortunately that don't help us.

I also got your email with the FTP access. I will look at the problem tomorrow (saturday).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

15 years 10 months ago [\#3278](#3278) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3278 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Hi,

The problem seems to be fixed.
Apparently, when you created your zones, you made a loop in the zones parent/child relations. And in one of the latest releases we changed the way we were loading the zones while refactoring a bit the shipping and payment plugins on the zone limitation.
That created a loop in the new code resulting in that error.

We changed the zone loading to avoid that loop and it seems to be back to normal.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 10 months ago [\#3279](#3279) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Error when using Coupons](/forum/3-bug-report/3193-error-when-using-coupons#3279 "Using latest version of software 1.4.0 I am finding the Coupon application is not working - it did work on 1.3.6 before the update. Now when entering anything at all in the Coupon form field (correct...")*

Nicolas,

You guys really are stars - it is such a pleasure to work with you - The shop is fantastic and you really deserve to have a huge success with this - your service and response to issues is second to none!

Regards
Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTkzLWVycm9yLXdoZW4tdXNpbmctY291cG9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.075 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
