Fixed broken sql query issue whe used with no prefix, changed old scripts with mysql_connect to mysqli, fixed mysqlng problems - no working fine.