Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CCGV mysql_insert)id errors


Dmacman

Recommended Posts

I have the Trad CCGV Installed and now, when I try to enter a new copoun after previewing, I get.

 

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in store\admin\includes\functions\database.php on line 94

 

That line is ...

 

return mysql_insert_id($$link);

and I read a post from someone else with this type of error to change.

 

$insert_id = tep_db_insert_id($gv_query);

to

$insert_id = tep_db_insert_id();

 

in gv_send.php and that did not help.

 

The coupon is not being assigned a coupon_id in the coupons_description table.

 

Has anyone seen/resolved this?

 

Thanks,

 

Don

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