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 leave a response, or trackback from your own site.

















