Wordpress menu timeout in XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Wordpress menu timeout in XAMPP

Postby mohityadavx » 24. May 2012 05:28

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!
mohityadavx
 
Posts: 1
Joined: 24. May 2012 05:25
Operating System: Windows 7 Home Premium

Re: Wordpress menu timeout in XAMPP

Postby JonB » 25. May 2012 17:33

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Wordpress menu timeout in XAMPP

Postby Altrea » 25. May 2012 20:13

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 150 guests