Found following error when trying to delete a host (Oracle). Same problem as for postgresql (http://www.zabbix.com/forum/showthread.php?p=37242):
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [SELECT DISTINCT actionid FROM conditions WHERE conditiontype=2 AND (value IN (13383,13399,13385,13425,13400,13397,13384,13389,1 3388,13387,13398,13386,13395,13407,13408,13409,133 96,13394,13393,13401,13421,13392,13420,13390,13424 ,13417,13416,13414,13415,13413,13411,13412,13426,1 3391,13404,13402,13405,13410,13406,13423,13403,134 18,13419,13422)) ]
Undefined variable: stid[/var/www/html/zabbix/include/db.inc.php:401]
SQL error [] in []
ocifetchinto(): supplied argument is not a valid OCI8-Statement resource[/var/www/html/zabbix/include/db.inc.php:523]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [DELETE FROM conditions WHERE conditiontype=2 AND (value IN (13383,13399,13385,13425,13400,13397,13384,13389,1 3388,13387,13398,13386,13395,13407,13408,13409,133 96,13394,13393,13401,13421,13392,13420,13390,13424 ,13417,13416,13414,13415,13413,13411,13412,13426,1 3391,13404,13402,13405,13410,13406,13423,13403,134 18,13419,13422)) ]
[.....]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [SELECT DISTINCT actionid FROM conditions WHERE conditiontype=1 AND (value IN (10051)) ]
Undefined variable: stid[/var/www/html/zabbix/include/db.inc.php:401]
SQL error [] in []
ocifetchinto(): supplied argument is not a valid OCI8-Statement resource[/var/www/html/zabbix/include/db.inc.php:523]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [DELETE FROM conditions WHERE conditiontype=1 AND (value IN (10051)) ]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [SELECT DISTINCT actionid FROM conditions WHERE conditiontype=2 AND (value IN (13383,13399,13385,13425,13400,13397,13384,13389,1 3388,13387,13398,13386,13395,13407,13408,13409,133 96,13394,13393,13401,13421,13392,13420,13390,13424 ,13417,13416,13414,13415,13413,13411,13412,13426,1 3391,13404,13402,13405,13410,13406,13423,13403,134 18,13419,13422)) ]
Undefined variable: stid[/var/www/html/zabbix/include/db.inc.php:401]
SQL error [] in []
ocifetchinto(): supplied argument is not a valid OCI8-Statement resource[/var/www/html/zabbix/include/db.inc.php:523]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [DELETE FROM conditions WHERE conditiontype=2 AND (value IN (13383,13399,13385,13425,13400,13397,13384,13389,1 3388,13387,13398,13386,13395,13407,13408,13409,133 96,13394,13393,13401,13421,13392,13420,13390,13424 ,13417,13416,13414,13415,13413,13411,13412,13426,1 3391,13404,13402,13405,13410,13406,13423,13403,134 18,13419,13422)) ]
[.....]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [SELECT DISTINCT actionid FROM conditions WHERE conditiontype=1 AND (value IN (10051)) ]
Undefined variable: stid[/var/www/html/zabbix/include/db.inc.php:401]
SQL error [] in []
ocifetchinto(): supplied argument is not a valid OCI8-Statement resource[/var/www/html/zabbix/include/db.inc.php:523]
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: OCIStmtExecute: ORA-01722: invalid number [/var/www/html/zabbix/include/db.inc.php:474]
SQL error [ORA-01722: invalid number ] in [DELETE FROM conditions WHERE conditiontype=1 AND (value IN (10051)) ]
Comment