Exception

Description

[hr][index] SQL execute failed :SELECT * FROM t_setting WHERE site= AND module='basic'
Error Message: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 'AND module='basic'' at line 1
Error Code:1064
Error SQL:SELECT * FROM t_setting WHERE site= AND module='basic'

Source File

/home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/core/db/db_mysql.class.php(120)

Stack Trace

#0 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/core/db/db_mysql.class.php(120)Controller::halt([hr][index] SQL execute failed :SELECT * FROM t_setting WHERE site= AND module='basic'
Error Message: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 'AND module='basic'' at line 1
Error Code:1064
Error SQL:SELECT * FROM t_setting WHERE site= AND module='basic')
#1 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/core/db/db_mysql.class.php(204)db_mysql->query(SELECT * FROM t_setting WHERE site= AND module='basic')
#2 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/core/Model.class.php(1135)db_mysql->getArray(SELECT * FROM t_setting WHERE site= AND module='basic')
#3 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/application/models/SettingModel.class.php(9)Model->getAll(Array.Array)
#4 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/application/models/SettingModel.class.php(50)SettingModel->get_setting(basic)
#5 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/application/controllers/HrController.class.php(264)SettingModel->set_cache_setting(basic)
#6 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/core/Controller.class.php(80)HrController->init()
#7 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/doitphp/doit.class.php(309)Controller->__construct()
#8 /home/alwaystryingia9lgwaazy3s1t3r3ynivnfg/wwwroot/index.php(71)doit::run()