dongtang4019 2012-05-07 07:59
浏览 67
已采纳

Activecollab模块:未捕获RangeError:超出最大调用堆栈大小

I am working on ActiveCollab module, and facing a serious problem that never comes before. When I start development a simple module with simple index.tpl file ( with static text) , activecollab allows installs it successfully and working all things when I click somewhere in the project after installation without refreshing page, But when I refresh a page by F5 all body text disappears and nothing works in activecollab, I execute that page in Firefox it shows in firebug:

Firefox:
to much recursion 
to much recursion 
to much recursion 
to much recursion 
....
.... 

and when I run it in Chrome to identify problem then it shows some thing like:

Chrome:
Uncaught RangeError: Maximum call stack size exceeded
App.Wireframe.PageTitle.set
App.Wireframe.PageTitle.set
App.Wireframe.PageTitle.set
App.Wireframe.PageTitle.set
App.Wireframe.PageTitle.set
....
....

I checked activecollab logs file but there is no error found for this, would be really great for me if anyone helps me to resolve this issue.

Updating Post: as requested my controller code; below is my controller:

<?php

 AngieApplication::useController('backend', ENVIRONMENT_FRAMEWORK_INJECT_INTO);

  class PeopleCommissioningRequestController extends BackendController {


       function __construct($parent, $context = null) {
          parent::__construct($parent, $context);
       } 

        function __before() {
          parent::__before();
        } 

        function index() {
                 $this->response->assign( array('data' => 'test') );
        }

 }
?>
  • 写回答

1条回答 默认 最新

  • douewei1665 2012-05-08 05:45
    关注

    Finally I resolved above issue .. that was just because of long length of module name .. I think that is activecollab bug ..

    @llija many thanks for your help ..

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请问读取环境变量文件失败是什么原因?
  • ¥15 在若依框架下实现人脸识别
  • ¥15 网络科学导论,网络控制
  • ¥100 安卓tv程序连接SQLSERVER2008问题
  • ¥15 利用Sentinel-2和Landsat8做一个水库的长时序NDVI的对比,为什么Snetinel-2计算的结果最小值特别小,而Lansat8就很平均
  • ¥15 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载