Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Poll Booth

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
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 !!! ///
This fixes the missing customer_id and screenForm function I encountered, when trying to add a comment after voting. I'm very new to codeing, so
please excuse me if my addition is a bit sloppy!
For package 2.3.1, I have fixed the issue of not being able to disable comments,
In poll_results.php if disabled, comment link is not shown and for extra measure I added if/else statements to poll_comment.php, just replace your old 2 files in catalog/ with these 2.

Theres still another bug I have noticed which needs fixing, is that if you set number of comments to 10 you can still post how many you want, so this also needs fixing asap.

Not a full package, just a fix.
   Posted on: 10/31/2008     See contribution details Request Installation with Paid service