Warning: file_put_contents() [function.file-put-contents]: Only 8192 of 9401 bytes written, possibly out of free disk space in D:\wwwroot\mddce\_code\lib\qeephp\library\cache\file.php on line 144
Warning: mysql_connect() [function.mysql-connect]: Too many connections in D:\wwwroot\mddce\_code\lib\qeephp\library\db\adapter\mysql.php on line 68
exception 'QDB_Exception' with message 'Too many connections' in D:\wwwroot\mddce\_code\lib\qeephp\library\db\adapter\mysql.php:73
#0 D:\wwwroot\mddce\_code\lib\qeephp\library\db\table.php(436): QDB_Adapter_Mysql->connect()
#1 D:\wwwroot\mddce\_code\lib\qeephp\library\db\table.php(472): QDB_Table->setConn(Object(QDB_Adapter_Mysql))
#2 D:\wwwroot\mddce\_code\lib\qeephp\library\db\table.php(455): QDB_Table->_setupConn()
#3 D:\wwwroot\mddce\_code\lib\qeephp\library\db\table.php(367): QDB_Table->init()
#4 D:\wwwroot\mddce\_code\lib\qeephp\library\orm\activerecord\meta.php(1318): QDB_Table->columns()
#5 D:\wwwroot\mddce\_code\lib\qeephp\library\orm\activerecord\meta.php(242): QDB_ActiveRecord_Meta->_init1('Newscategory')
#6 D:\wwwroot\mddce\_code\lib\qeephp\library\orm\activerecord\meta.php(256): QDB_ActiveRecord_Meta->__construct('Newscategory')
#7 D:\wwwroot\mddce\_code\app\model\newscategory.php(179): QDB_ActiveRecord_Meta::instance('Newscategory')
#8 D:\wwwroot\mddce\_code\app\controller\news_controller.php(13): Newscategory::find('parent_id=1 and...')
#9 D:\wwwroot\mddce\_code\app\controller\abstract.php(64): Controller_News->actionIndex()
#10 D:\wwwroot\mddce\_code\app\myapp.php(233): Controller_Abstract->execute(Array, Array)
#11 D:\wwwroot\mddce\index.php(14): MyApp->dispatching('index', Array)
#12 {main}
如果要改变对异常的处理,请修改文件 "D:\wwwroot\mddce\_code\app\myapp.php" 的 exception_handler() 方法