欢迎各位兄弟 发布技术文章

这里的技术是共享的

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\Zurmo\redbean\rb.phpon line 892

Posted 05 July 2012 - 04:31 PM
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\Zurmo\redbean\rb.phpon line 892

Encountered every time I have tried to apply changes to Group Rights. Seems to save most changes, but from Meetings and below these changes aren't made.

So, if I change anything below the 'Meetings' heading it will not be applied. 

    #2 Jason

    Administrator

    • Administrators
    • 864 posts
    • LocationChicago

    Posted 05 July 2012 - 04:48 PM

    James, on 06 Jul 2012 - 12:31 AM, said:

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\Zurmo\redbean\rb.php on line892

    Encountered every time I have tried to apply changes to Group Rights. Seems to save most changes, but from Meetings and below these changes aren't made.

    So, if I change anything below the 'Meetings' heading it will not be applied.

    You are going to need to up your max execution time in your php.ini to probably 60 seconds. Also it is highly recommended you use memcache. 

      Jason Green
      Zurmo Team
      Need support? Upgrade now

      #3 James

      Member

      • New Members
      • PipPip
      • 14 posts

        Posted 06 July 2012 - 07:37 AM

        OK, I'll setup memcache. Can it be setup after installed? 

          #4 James

          Member

          • New Members
          • PipPip
          • 14 posts

            Posted 06 July 2012 - 07:44 AM

            Timed out at 60 secs and 120secs.

            I don't understand why it requires this time, surely it's just updating a table? Should be completed as quickly as selecting from the table and that was apparently done in 0.563 seconds?

            I think there is a bug in here somewhere... 

              #5 Jason

              Administrator

              • Administrators
              • 864 posts
              • LocationChicago

              Posted 06 July 2012 - 03:00 PM

              James, on 06 Jul 2012 - 3:37 PM, said:

              OK, I'll setup memcache. Can it be setup after installed?

              It can be setup after installation. Then you need to go into the protected/config/perInstance.php and change the memcache settings.


              James, on 06 Jul 2012 - 3:44 PM, said:

              Timed out at 60 secs and 120secs.

              I don't understand why it requires this time, surely it's just updating a table? Should be completed as quickly as selecting from the table and that was apparently done in 0.563 seconds?

              I think there is a bug in here somewhere...

              There are some recursive stored procedures that are run when making alterations to groups. It does seem strange that it takes 60 seconds even 120 seconds. I would try to get memcache running first and then lets see what happens. 
              来自  http://zurmo.org/forums/index.php?/topic/258-edit-rights-bug/
              唯物品评历史

              关注"唯物品评历史",跟着泪痕春雨先生,读懂历史,看彻人生

              打开隐藏二维码