- Código: Seleccionar todo
Error in deleting poll
DEBUG MODE
SQL Error : 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 2
DELETE FROM phpbb_vote_results WHERE vote_id =
Line : 595
File : /home/webcindario/k/h/khworld/phpbb/includes/functions_post.php
¿Alguien sabe cómo solucionarlo? =S En functions_post.php aparece lo siguiente:
- Código: Seleccionar todo
$sql = "DELETE FROM " . VOTE_RESULTS_TABLE . "
WHERE vote_id = $poll_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql);
}
(Lal ínea de message_die es la número 595).
Si necesitáis más información, pedídmela. ¡Gracias!




