stukk Posted May 6, 2009 Posted May 6, 2009 Hey, I'm getting a strange error when I go to send a gift voucher to a customer through my stores admin.... Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/linqglo/public_html/stukk.co.uk/admin/includes/functions/database.php on line 117 Warning: Cannot modify header information - headers already sent by (output started at /home/linqglo/public_html/stukk.co.uk/admin/includes/functions/database.php:117) in /home/linqglo/public_html/stukk.co.uk/admin/includes/functions/general.php on line 21 I'm running CCGV 5.21, does anyone have any ideas?! Thanks! James. Quote
JakSmit Posted May 19, 2009 Posted May 19, 2009 in file admin/coupon_admin.php change: $insert_id = tep_db_insert_id($query); to: $insert_id = tep_db_insert_id(); Quote
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.
Note: Your post will require moderator approval before it will be visible.