Quote by Hayrettin: 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 '' at line 1. SQL in question: DELETE FROM gl_pollvoters WHERE date
Is this the exact error message you're getting? Nothing more after the "date"?
This obviously comes from this line in function COM_showPoll in lib-common.php:
Text Formatted Code
DB_query( "DELETE FROM {$_TABLES['pollvoters']} WHERE date < unix_timestamp() - {$_CONF['polladdresstime']}" );
As you can see, there's more to come after the "date" ...
bye, Dirk