This fix is for people who suffer the below error when trying to add a new poll
################################################## ##############################################
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/xxxxx/public_html/catalog/admin/includes/functions/database.php on line 117
1064 - 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 ' ';test', 0, 0, '1')' at line 1
insert into phesis_poll_data (pollid,optiontext,optioncount,voteid, language_id) values (, ';ohoi', 0, 0, '1')
[TEP STOP]
################################################## ################################################
To use simply replce your existing admin / polls.php file with the enclosed version.
/// Another contribution made good !!! ///
More...





LinkBack URL
About LinkBacks









Bookmarks