Error: 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
Error: 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
Ошибка в базе даных а как исправить я не знаю так как новичек
Вот моя ошибка:
===================================================
Date: Sat, 31 Dec 2011 09:10:34 +0000
Error Number: 1064
Error: 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
IP Address: 188.190.123.54
Page: /index.php?&app=core&module=ajax§ion=reputation&do=add_rating&app_rate=forums&type=pid&type_id=13789&secure_key=75eeb109ed80bb5207e0580506708548&rating=-1
Debug: array (
1 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/ips_kernel/classDb.php',
'line' => 1060,
'function' => 'query',
'class' => 'db_driver_mysql',
),
4 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/applications/core/modules_public/ajax/reputation.php',
'line' => 75,
'function' => 'addRate',
'class' => 'classReputationCache',
),
5 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/applications/core/modules_public/ajax/reputation.php',
'line' => 42,
'function' => 'doRating',
'class' => 'public_core_ajax_reputation',
),
6 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/sources/base/ipsController.php',
'line' => 417,
'function' => 'doExecute',
'class' => 'public_core_ajax_reputation',
),
7 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/sources/base/ipsController.php',
'line' => 101,
'function' => 'execute',
'class' => 'ipsAjaxCommand',
),
)
mySQL query error: SELECT pp_reputation_points FROM profile_portal WHERE pp_member_id=
===================================================
Date: Sat, 31 Dec 2011 19:20:37 +0000
Error Number: 1064
Error: 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
IP Address: 188.190.123.54
Page: /index.php?&app=core&module=ajax§ion=reputation&do=add_rating&app_rate=forums&type=pid&type_id=13196&secure_key=e5b765e5a5d0fddfe119e59342708a94&rating=-1
Debug: array (
1 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/ips_kernel/classDb.php',
'line' => 1060,
'function' => 'query',
'class' => 'db_driver_mysql',
),
4 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/applications/core/modules_public/ajax/reputation.php',
'line' => 75,
'function' => 'addRate',
'class' => 'classReputationCache',
),
5 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/applications/core/modules_public/ajax/reputation.php',
'line' => 42,
'function' => 'doRating',
'class' => 'public_core_ajax_reputation',
),
6 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/sources/base/ipsController.php',
'line' => 417,
'function' => 'doExecute',
'class' => 'public_core_ajax_reputation',
),
7 =>
array (
'file' => '/home/vlad12559/data/www/wrps-portal.ru/admin/sources/base/ipsController.php',
'line' => 101,
'function' => 'execute',
'class' => 'ipsAjaxCommand',
),
)
mySQL query error: SELECT pp_reputation_points FROM profile_portal WHERE pp_member_id=