I am trying to get the Gift Voucher function operating and have had some success, but I have come up against an error message I cannot trace the root cause. I've searched through the forum archives and have found some discussions, but none that helps me identify the cause.
I have been able to activate the Gift Voucher function and create both Gift Vouchers (as catalog items) and Coupons. And I have been able to have a "customer" email a purchased Gift Voucher to a third party and I have been able to have the admin mail out Gift Vouchers - and the mail does get sent and arrive ok, BUT - I get the following error message atop the successs page:
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /mnt/w0300/d00/s26/b0146f70/www/DOMAINNAME/catalog/includes/functions/database.php on line 114
The resulting mailed Gift Certificate does actually work in the shopping cart after entering the coupon code and using the REDEEM button. BUT - the redeem link in the email does not activate the gift voucher without entering the coupon code in the shopping cart. Instead the user is diverted to a blank page with just NAV_TITLE in the header.
So I am trying to track down both errors which may be related:
1) Sent email error warning.
2) Redeem link not working from email.
Any ideas where to begin looking?
Thanks...





LinkBack URL
About LinkBacks






Bookmarks