При добавлении нового тарифа вылезает следующее:
Код: Выделить всё
?Debug : Dec 02 14:01:40 DBCtx: <681618432> SQL query: INSERT INTO tariffs(name,create_date,who_create,change_date,who_change,expire_date,balance_rollover,comments) VALUES( '67','1291287700','-1','1291287700','-1','2000000000','2000000000','
?Debug : Dec 02 14:01:40 DBCtx: <681618432> MySQL query failed:<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> Trying to reconnect: 0
?Debug : Dec 02 14:01:42 DBCtx: <681618432> MySQL query failed:<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> Trying to reconnect: 1
?Debug : Dec 02 14:01:44 DBCtx: <681618432> MySQL query failed:<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> Trying to reconnect: 2
?Debug : Dec 02 14:01:46 DBCtx: <681618432> MySQL query failed:<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> Trying to reconnect: 3
?Debug : Dec 02 14:01:48 DBCtx: <681618432> MySQL query failed:<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> Trying to reconnect: 4
ERROR : Dec 02 14:01:50 DBCtx: <681618432> MySQL query failed:
ERROR : Dec 02 14:01:50 DBASQLError: MySQL query failed:
ERROR : Dec 02 14:01:50 DBCtx: Exception while doing SQL insert/update !
?Debug : Dec 02 14:01:50 DBCtx: <681618432> SQL query: INSERT INTO user_log(user_id,date,who,what,comment) VALUES('0', '1291287710', '-1', 'add tariff', 'tariff id -1114719560')
?Debug : Dec 02 14:01:50 RPCConn[SSL]<init@93.100.234.112>: Call 0x3041 (rpcf_add_tariff_new) finished...
?Debug : Dec 02 14:01:50 RPCConn[SSL]<init@93.100.234.112>: Stream cleared
При этом пользователь, например, добавляется нормально.
А при добавлении тарифов админка подвисает и в итоге выдает, что тариф добавлен (хотя по логам видно, что нет) но ID у него не 1, -343492387492934.
Кто-нибудь сталкивался с такой проблемой ?
Пробовал разные версии ядра и системы вплоть до самых последних - результат один и тот же.