模特操作后Phalcon崩溃

时间:2015-12-24 23:56:20

标签: php mysql phalcon

我有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之间的连接。

你有什么想法吗?

0 个答案:

没有答案