Page 1 of 1

Wordpress menu timeout in XAMPP

PostPosted: 24. May 2012 05:28
by mohityadavx
Hey I have been using wordpress with bold theme by elegant themes. I have installed wordpress on my local machine using XAMPP. The problem is the menu bar which I am is using has 23 items and is working fine but the problem is I want to remove one of these item from the menu but when I try to do so I am getting timeout error and hence not able to save the menu. Error is as follows:-

Code: Select all
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1106


I posted this on Wordpress Forum and I got this Reply

That's a XAMPP issue with php timeout; ask in the XAMPP forums on how to change it in your php.ini


Please Help!

Re: Wordpress menu timeout in XAMPP

PostPosted: 25. May 2012 17:33
by JonB
I'd disagree on that point (personally). NOT because we can't tell you how to change your php.ini.

BUT because nothing should have a 60 second timeout in WordPress (other than a file upload maybe). Would it help to make it three minutes, how about five?

C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1106
<= I'd look at that code and see what it is trying to do, eh?

You problem likely is not rooted in the time out, but -- most likely -- in a WordPress configuration issue. Try switching themes temporarily, and see if the issue vanishes. Did you 'copy in' your Wordpress or Theme, rather than installing clean and restoring, then re-installing the theme? If so, you may have unresolved URL issues.

IF the issues goes away - then there is likely a bad URL lurking about (my guess) It probably would be best to contact the theme authors. I can't think of anything PHP should have to 'think about' for a minute on a local install.

Code: Select all
fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1106


Never-the-less, you can try upping the limit - but I don't think that's the fix.

http://www.php.net/manual/en/info.confi ... ution-time

Look for max_execution_time in \xampp\php\php.ini - it is defaulted to 30 seconds - so I have to resume someone has edited the php.ini. :mrgreen:

max_execution_time = 30

Good Luck
8)

Re: Wordpress menu timeout in XAMPP

PostPosted: 25. May 2012 20:13
by Altrea
Hi mohityadavx,

More then 60 seconds to remove one of the few menu items? OMG :shock:
No fancy design is worth it :D

best wishes,
Altrea