FRAMEWORK STARTUP ERROR(2): mysql_query() expects parameter 2 to be resource, boolean given

in /usr/share/ac_framework/stable/ac_framework/library/General/Database/Mysql/CDatabase.php on line 227
Warning: mysql_close() expects parameter 1 to be resource, boolean given in /usr/share/ac_framework/stable/ac_framework/library/General/Database/Mysql/CDatabase.php on line 297