Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Discount coupon Add-On


Recommended Posts

I setup my new site and it was working fine. I also installed and configured a new template STS. Again all was working fine.


I needed to install a Discount Coupon, and this is when I came across problems..


I installed Discount coupon 3.34.1. I very carefully setup/installed all files as per the instructions, once I finished I tried to login to my Admin to finish the installation when I had problems.


I got the following error :


Warning: Cannot modify header information - headers already sent by (output started at /home1/mysite/public_html/mysite/catalog/admin/includes/languages/english.php:619) in /home1/mysite/public_html/mysite/catalog/admin/includes/functions/general.php on line 22


(i have changed the website by mysite.


I opened the english.php to see if I could find what was causing the problem, the only difference was from the file that I downloaded to the instructions.


file downloaded included:


//kgt - discount coupons

define('BOX_CATALOG_DISCOUNT_COUPONS', 'Discount Coupons');


//end kgt - discount coupons


Instructions said to add

//kgt - discount coupons

define('BOX_CATALOG_DISCOUNT_COUPONS', 'Discount Coupons');

//end kgt - discount coupons


I tried both, but it did'nt change the outcome.


General.php has the following on line 22

header('Location: ' . $url);


but I never changed anything in this file.


there was also a difference in the files downloaded and the instuctions for catalog/includes/classes/order.php


the downloaded files has the following that is not in the instructions:

//kgt - discount coupon

var $coupon;

//end kgt - discount coupon


I removed the differences, but still got the same error after tying to login to the admin.



does anyone know why I am getting a header error when I didn't change anything on that file.






5 Star Crystals


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...