toArray(); &"/> toArray(); &">

Home >Backend Development >PHP Tutorial >framework出现Application error,咋回事?

framework出现Application error,咋回事?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:48:411071browse

framework出现Application error,怎么回事???
//查看这个ip是否被禁用
  $filterModel = new Filter();
  $filters = $filterModel->fetchAll("ip='$ip'")->toArray();
   
  if (count($filters)>=1)
  {
  $this->view->info = '你被禁用了';
  $this->_forward('error','global');
  return ;
  }

加上return就出现Application error错误,不加就正常,如果加exit()连消息框也不提示,求解,怎么回事???

------解决方案--------------------
index未配好啊.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn