douna6802
2011-11-30 11:36
浏览 21
已采纳

cakePHP:偶发“对非对象调用成员函数allow()”

when I call a specifical controller-script of my Web-Application I sporadically get the following error:

Fatal error: Call to a member function allow() on a non-object in /srv/www/vhost/app/Controller/myController.php on line 11

Line 11 contains
$this->Auth->allow(array('get'));

Anyone an idea what this may cause?

Regards,
~MxAgent

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongrui6787 2011-12-10 17:40
    已采纳

    Problem fixed. It was a caching-problem due to server doesn't support APC.

    打赏 评论

相关推荐 更多相似问题