我有Phalcon框架的问题。当我尝试进行任何模型的操作时,我的应用程序崩溃了。
例如当我做的事情时:
class IndexController extends BaseController {
public function indexAction() {
//$this->view->t = $this->getTranslation();
Users::find();
}
}
我收到一个带有标题的HTML回复
Request URL: http://xxxxxx.com
Request Method:GET
Status Code:42000 test
Remote Address:149.202.61.xxx
在mysql日志中,我可以找到数据请求
event_time | user_host | thread_id | server_id | command_type | argument
2015-12-25 00:46:35 | root[root] @ localhost []| 49 | 0 | Query | SELECT FROM `users`
所以很明显达到了phalcon和mysql之间的连接。
你有什么想法吗?