Jump to content
Web Marketing Help Forum
Sign in to follow this  
Gorgeous D

Discount Coupon Code Add-On syntax error

Recommended Posts

Hi you all,

 

I am installing a discount coupon code add-on(ot-discount_coupon_ codes_3_34_FR) for my osc 2.2v site. Everything looks right but I'm getting a syntax error message that says "Parse error: syntax error, unexpected $end in /home/confere3/public_html/admin/includes/boxes/catalog.php on line 43 ". The code I removed is:'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED,", 'NONSSL').'" The code I copied and pasted in its place was:

//kgt - discount coupons

'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' );

/***************

'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' );

***************/

//end kgt - discount coupons

 

I am not finding the error. Can anyone else see it? Or, give me some help/

 

Thanks in advance,

 

_____________________

the fruit company discount code

Share this post


Link to post
Share on other sites

Hi you all,

 

The code I removed is:'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED,", 'NONSSL').'"

looks like u have removed the code halfway.. remove it completely including </a> or even {}

 

Other than that I cant see any reason why u get a syntax error, unless off course you have copied the wrong code ...

Edited by DjKrypto

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×