We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50923
    • 137 Posts
    I am trying to create sitemap on my website, the problem is that is has more than 2000 pages, and script has to run very long. On other servers working very nice, but when i switched to MODx CLOUD i always get 504 Gateway Time-out??

    Has someone manage fix this?
      <a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
      • 38850
      • 110 Posts
      A timeout is a timeout.

      If it can't be increased server-side, you might have to find a way to limit the script in some way so that it can be run once for the first 1000, or 500, then run additional times for the rest, if that's possible.

      You may also be allowed to change script timeout properties in PHP, if you have access to the script's code.

      That's a hard one. Timeouts are pretty locked in.
        • 50923
        • 137 Posts
        Quote from: vigilante at Aug 22, 2016, 04:33 PM
        A timeout is a timeout.

        If it can't be increased server-side, you might have to find a way to limit the script in some way so that it can be run once for the first 1000, or 500, then run additional times for the rest, if that's possible.

        You may also be allowed to change script timeout properties in PHP, if you have access to the script's code.

        That's a hard one. Timeouts are pretty locked in.

        Does naybody knows how to get that on MODx CLoud??
          <a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>