News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Your request timed out. Please retry the request.

Started by act4, November 06, 2011, 06:00:29 AM

Previous topic - Next topic

act4

Users on my forum often get this error when posting or sending Pms:

Your request timed out. Please retry the request.

What do?

Ricky.

Either your script is taking too much time or server is slow and hence you are facing time out issues.
In index.php, somewhere at start you can add :
ini_set('max_execution_time', 240);
And see if it goes aways, though its temporary work around, rather check your server performance with your script.. may be you have lots of mods installed or you have big forum ?

act4

Quote from: Ricky. on November 06, 2011, 06:23:16 AM
Either your script is taking too much time or server is slow and hence you are facing time out issues.
In index.php, somewhere at start you can add :
ini_set('max_execution_time', 240);
And see if it goes aways, though its temporary work around, rather check your server performance with your script.. may be you have lots of mods installed or you have big forum ?
1 mod (Aeva) and ~3000 posts with 20-50 online at a time.

What exactly will that do and where should I put it in the index file?

Illori

Quote from: Ricky. on November 06, 2011, 06:23:16 AM
ini_set('max_execution_time', 240);

keep in mind that not all servers allow users to override php.ini so that line may have no affect for the user, but they may be able to ask their host to modify their php.ini file.

Ricky.

Yes, illori is right, however, with the stats you gave, I don't think its your board, either your server is over crowded or something with your host.

Can you post us link to your Status.php
Download it from here :
http://download.simplemachines.org/?tools

act4

Quote from: Ricky. on November 06, 2011, 09:21:32 AM
Yes, illori is right, however, with the stats you gave, I don't think its your board, either your server is over crowded or something with your host.

Can you post us link to your Status.php
Download it from here :
http://download.simplemachines.org/?tools

http://mojo-farm.com/forum/status.php

Code suggested did not stop the error.

Ricky.

Your host certainly looks over crowded.
Also looks like he doesn't allow increasing script timeout modification via php.

Your best bet would be shifting your host!

BTW, whats your mod list ?

act4

Quote from: Ricky. on November 06, 2011, 11:20:28 AM
Your host certainly looks over crowded.
Also looks like he doesn't allow increasing script timeout modification via php.

Your best bet would be shifting your host!

BTW, whats your mod list ?
Just Aeva Lite.

The strange thing is that this error has only started occurring over the last day.

act4

Can anyone offer a solution which does not involve switching host?

Illori

act4 please do not bump within 24 hours we are all volunteers and reply if and when we know the answer

Ricky.

Quote from: act4 on November 06, 2011, 12:34:32 PM
Can anyone offer a solution which does not involve switching host?
Ask your host that you have tiny forum but still you are facing such issue, or simply ask your host why their server loads are so high that your simple scripts are getting time outs.

act4

#11
Quote from: Ricky. on November 06, 2011, 02:17:51 PM
Quote from: act4 on November 06, 2011, 12:34:32 PM
Can anyone offer a solution which does not involve switching host?
Ask your host that you have tiny forum but still you are facing such issue, or simply ask your host why their server loads are so high that your simple scripts are getting time outs.
It doesn't seem like they want to help, or that they even read my support ticket:
QuoteWhen reviewing this matter, we were unable to duplicate the issue as the website appears visible and navigational.
What specifically do I need to ask them to do, in terms of increasing timeout limits?


Edit: seems like my host has a wait_timeout: of 60 seconds which cannot be changed. If this is the case, why was it that before today I was able to spend longer than 60 seconds typing a post?

act4

This is not a deliberate bump, I am just updating with new information


I have managed to update the max_input_time in my php.ini to 600 seconds yet the problem still continues.
http://www.mojo-farm.com/php.ini

Ricky.

Ask them to allow you to rewrite php.ini settings at your level , some hosts allow you to do so by maintaining a local php.ini your site root, though with limited leverage.

act4

Quote from: Ricky. on November 07, 2011, 04:04:27 AM
Ask them to allow you to rewrite php.ini settings at your level , some hosts allow you to do so by maintaining a local php.ini your site root, though with limited leverage.
I have successfully edited the php.ini (as linked above) but that doesn't seem to have solved the problem.

Ricky.

#15
That php.ini is of no use if your host is not configured to use it. Also, generally its not in website root, rather its in your account's.. off public access.

As my point of view, you can't do much unless your host is co-operative..and definitely thats not happening. And hence, no gain to discuss this, still if there is some way or anyone else know then wait for him.

Vlada87

I have same problem, and im too at godaddy hosting (Ultimate plan) but im allredy at linux plan...

How to fix this error!?

Ricky.

As already discussed, oversellers like Godaddy / Hostgator etc are not suitable if your forum starts growing. Certainly host issue, try following solutions given here and see if it helps.

Vlada87

#18
Nothing helps... and this is only happening whti SMF.

And i notice that this error only happen when people using Chroomium and Chrome, on Opera and Firefox everything is OK.

!?!?!?

JimM

Not sure if it is the same as your issue Vlada87, but the OP is on shared hosting with approximately 723 other sites.  I would definitely say that is on an oversold host.  As was stated previously in this topic there is not much help we can give with an oversold host.  Your best bet is to change host.

As this is an old topic, I am marking it as solved.
Jim "JimM" Moore
Former Support Specialist

Advertisement: