Details

SEO osCommece Package XII

Loaded Features:
  • Spider Session Remover ( SID Killer )
  • Ultimate SEO URLs
  • Header Tags Controller
  • Google XML Sitemap
  • SEO Assistant
  • AJAX Attribute Manager
  • Product Extra Fields
  • X-Sell v2-MS2 - Cross Sell for MS2
  • Credit Class & Gift Voucher
  • TinyMCE WYSIWYG HTML EDITOR
  • Multi/extra images
  • Purchase Without Account
  • Newsletter & Subscribers

osCommerce 2.2 rc1 mysql_insert_id() problem

As we noticed, osCommerce 2.2 rc1 don’t working properly on MySQL 5.xx. We are getting error:

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in xxxxxxxxxxxxxxxxx/catalog/admin/includes/functions/database.php on line 1171064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', 0, 0, '1')' at line 1insert into phesis_poll_data (pollid,optiontext,optioncount,voteid, language_id) values (, '', 0, 0, '1') [TEP STOP]

To fix this error, try find:

$insert_id = tep_db_insert_id($query);

and change to:

$insert_id = tep_db_insert_id();


Webmaster
http://www.oscommerce-packages.com

Posted by admin 04.Feb.08

You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.