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 反激PWM控制芯片调研
  • ¥15 Python for loop减少运行时间
  • ¥15 fluent模拟物质浓度udf
  • ¥15 Collection contains no element matching the predicate
  • ¥20 冻品电商平台的搜索是怎么实现的
  • ¥15 如何搞一个可以控制、显示马达频率
  • ¥15 WPF动态创建页面内容
  • ¥15 如何对TBSS的结果进行统计学的分析已完成置换检验,如何在最终的TBSS输出结果提取除具体值及如何做进一步相关性分析
  • ¥15 SQL数据库操作问题
  • ¥100 关于lm339比较电路出现的问题