+ -
当前位置:首页 → 问答吧 → 急~新手求助~重复点链接非法操作~

急~新手求助~重复点链接非法操作~

时间:2010-07-22

来源:互联网



我在模块About里的AboutAction.class.php是这么写的
<?php
class AboutAction extends Action{
    public function index(){
     $this->display();
}
  public function cgal(){
     $this->display();
}
public function gsln(){
     $this->display();
}
  public function contact(){
     $this->display();
}
}
?>
这个应该没什么问题,在TPL/About下边分别都有index.html cgal.html  gsln.html  contact.html这些文件

我在index.html中的链接用的是{:U(About/index)}{:U(About/cgal)}

有时候是可用,可是多点几次链接就跳出          非法操作gsln.html
[ TRACE ]
[10-07-22 11:49:07] () Action->__call(gsln.html, Array)
[10-07-22 11:49:07] () AboutAction->gsln.html()
[10-07-22 11:49:07] C:\web\hello\Home\Runtime\~runtime.php (2) call_user_func(Array)
[10-07-22 11:49:07] C:\web\hello\Home\Runtime\~runtime.php (2) App::exec()
[10-07-22 11:49:07] C:\web\hello\index.php (13) App::run()

作者: sololong123   发布时间: 2010-07-22

快来人HELP啊~在这里卡住了

作者: sololong123   发布时间: 2010-07-22

刚刚遇到这个问题,请问怎么解决?

作者: vexfj   发布时间: 2011-12-24