katman1971 Posted December 9, 2008 Share Posted December 9, 2008 Hi I attempted to install Discount Coupon Codes 3.3. When I go back in to my Admin panel, I get the following error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/homeland/public_html/admin/includes/boxes/catalog.php on line 31 The line of code it refers to is this: '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); I double checked the editing for that file but it's still coming up with the same error. I don't know what to do next. Thanks. Quote Link to comment Share on other sites More sharing options...
web-project Posted December 9, 2008 Share Posted December 9, 2008 update to: '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>'; Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
katman1971 Posted December 9, 2008 Author Share Posted December 9, 2008 Hi I'm still getting the error message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/homeland/public_html/admin/includes/boxes/catalog.php on line 31 I changed line 31 as you said. This is how line 31 looks now: '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>'; I'm stuck. Thanks for looking at this. Quote Link to comment Share on other sites More sharing options...
katman1971 Posted December 10, 2008 Author Share Posted December 10, 2008 I'm looking for more info to give you but I'm not coming up with anything. I'm still getting the error message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/homeland/public_html/admin/includes/boxes/catalog.php on line 31 This is the line the error refers to: '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>'; I followed the instruction that Alex gave above but still the same error message :( Should I de-install the contribution? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.