Wednesday, 22 October 2014 01:42
beggarly

Xmap 504 error gatewat timeout

An open forum for opinions and general questions

Xmap 504 error gatewat timeout

Postby davidedlm » Wed May 01, 2013 9:42 pm

Hi, Hello, I xMAP 2.3.3, virtuemart 2.0, joomla 2.5 and sh404sef, when I try to access the xml sitemap, I get the following error:
"504 Gateway Timeout
The gateway did not receive a timely response from the upstream server or application. "
Before it worked great ... I'm just increased the products ... Does anyone know how to fix this? Thank you in advance for your answer.
davidedlm
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Tue Dec 04, 2012 2:23 pm
Location: Italy

Re: Xmap 504 error gatewat timeout

Postby davidedlm » Thu May 09, 2013 10:22 pm

I solved it! I edited this file "components / com_xmap / views / xml / tmpl /default.php",
I added this line of code

set_time_limit (0);

after this

  / / No direct access
defined ('_JEXEC') or die ('Restricted access');

I hope it will be useful to someone!

"set_time_limit (0);" removes the time limit for the script.
davidedlm
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Tue Dec 04, 2012 2:23 pm
Location: Italy

Re: Xmap 504 error gateway timeout

Postby richarddhill » Mon Jun 03, 2013 12:38 pm

Hi,

We had the same error recently and using the suggested fix still gave us a timeout.

Eventually we found a setting of 120 seconds worked -

set_time_limit = 120

It still doesn't really explain why xmap worked perfectly on the development site and not on the final server.

Still - hope this helps someone else...


Best wishes


Richard
richarddhill
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Mon Jun 03, 2013 12:32 pm


Return to General



Who is online

Users browsing this forum: No registered users and 1 guest

cron