Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Discount coupon does not work


Guest

Recommended Posts

Used this contribution:-

http://www.oscommerce.com/community/contri...r+discount+code

 

and look swell except that I get this error after checkout_payment.php page....

 

Fatal error: main(): Failed opening required '/home/httpd/vhosts/yyyyyyy.co.uk/httpdocs/storeincludes/classes/discount_coupon.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/yyyyyyy.co.uk/httpdocs/store/includes/modules/order_total/ot_discount_coupon.php on line 13

 

The issue is that the file directory it is looking for is storeincludes but this should be store/includes....

 

Anyone any idea?

 

Rgs

 

Jed

:'(

Link to comment
Share on other sites

The issue is that the file directory it is looking for is storeincludes but this should be store/includes....

Jed

:'(

Well, you know the issue, then perhaps you could just look into the configure.php to fix it, e.g., put a '/' after 'store'? :)

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Well, you know the issue, then perhaps you could just look into the configure.php to fix it, e.g., put a '/' after 'store'? :)

Ken

 

 

 

sorry new to this where is the configure.php and will it effect any other contributions??

 

Cheers

 

Jed

Link to comment
Share on other sites

sorry new to this where is the configure.php and will it effect any other contributions??

There are two configure.php files in a new 'stock' installation under these two folders:

 

1. admin/includes/

2. catalog/includes/

The first one is for the admin area; the second one is for the store. Judging from the error msg in your post the second one is what you need to look at. If you do not feel confident to edit these files, then you may want to post it here, someone may spot and tell you how to fix it. This is assuming the problem is in the configure.php, and there could be somewhere else, but this should be the first place to look at.

And make a backup of teh file b4 you make change.

For more info regarding configure.php, read the document osCommerce 2.2 Milestone 2 Update 051112 Documentation available from the download page.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

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.

Guest
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...