We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37783
    • 85 Posts
    Hi! We have a site with 37 000 records in modx_site_content. Clear cache in 2.2.15 works ok. But after update to
    2.3.1 console says "Console running..." with deactivated buttons and no messages. All plugins are deactivated.

    This process is aborted after timeout 30s.

    HTTP_MODAUTH modx541adc3ad99be9.04011966_4541bd3582bf9e8.34790715
    action system/clearcache
    action_map true
    media_sources true
    menu true
    register mgr
    topic /clearcache/

    Any suggestion please? Thank's

    [ed. note: nikolay_m last edited this post 12 years ago.]
      • 37783
      • 85 Posts
      i solve the problem.

      The sollution is to comment line 18 //$this->modx->call('modResource', 'refreshURIs', array(&$this->modx));
      in modSystemClearCacheProcessor.

      For sites with many resources it hang up and require long time for processing. Here occur max_execution_time, max_input_time and others restrictions that invoke abort running the script.
        • 5160
        • 118 Posts
        chris.dempsey78 Reply #3, 12 years ago
        Would Bob Ray's Clear Cache snippet execute more quickly?
        http://modx.com/extras/package/cacheclear