Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Diagnostics not working in 4.07.
Fresh local install on Vista/XAMP – 4.0.6 works fine. 4.0.7 diagnostics tab just times out…Anyone else experiencing this?
Thanks.
Offline
Re: Diagnostics not working in 4.07.
- a timeout caused by a lack of proper DNS on the server.
- a limitation on the number of concurrent page requests for your domain, causing the clean-url test (which triggers an additional page request) to timeout, because it has to wait for the diagnostics page to finish loading… a chicken/egg problem.
Offline
Re: Diagnostics not working in 4.07.
Thanks Ruud – any hints on how to test for this on a local XAMPP install?
Offline
Re: Diagnostics not working in 4.07.
Hmm… but wait, 4.0.6 does work?
Do your webserver error/access logs show anything?
Offline
#5 2009-01-08 03:21:14
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Diagnostics not working in 4.07.
I just discovered this problem myself (local install). The diagnostics page loads and loads, and then I get a completely blank page (zero bytes in size). I have error reporting and logging turned on, but nothing is there.
Commenting out the clean url test shows that is definitely where the problem lies. I uncommented it, removed the error suppression, and here’s the errors I got:
Warning: file(http://localhost/txp/stable/22d28b5871d4653a070ced80a18951cd/?txpcleantest=1) [function.file]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\webdev\www\public\txp\stable\textpattern\include\txp_diag.php on line 330
Fatal error: Maximum execution time of 30 seconds exceeded in C:\webdev\www\public\txp\stable\textpattern\include\txp_diag.php on line 330
This is new to me, I never used to have this problem. Loading the URL directly in the browser loads almost instantaneously. A fresh install of 4.0.6 is exactly the same and I have updated PHP recently, so I am thinking this may be PHP (config or bug) related, rather than Txp.
Offline
Re: Diagnostics not working in 4.07.
Actually I have retested my 4.0.6 installation and it has the same problem…
Offline
Re: Diagnostics not working in 4.07.
Mary, that’s the problem I described in my initial response. Can you check your webserver configuration for the connection limit? I’m not sure if that can be set specifically for PHP files or only for all page requests.
Offline
#8 2009-01-08 08:55:36
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Diagnostics not working in 4.07.
A couple links helped me find the culprit:
http://bugs.php.net/bug.php?id=44335
http://www.apachefriends.org/f/viewtopic.php?f=16&t=32503#p131568
Commenting out the ::1
line in my HOSTS file makes everything lovely again.
You might want to make a FAQ for this, since that line appears in the HOSTS file of every Vista computer (don’t know if it’ll also be in Windows 7 or not).
Last edited by Mary (2009-01-08 09:08:34)
Offline
Re: Diagnostics not working in 4.07.
I’d prefer not to cripple IPv6 support to work around bugs in apache or whatever is tripping over this.
Fix the problem, not the symptom.
Offline
Re: Diagnostics not working in 4.07.
This fixed the problem for me…
Offline
Re: Diagnostics not working in 4.07.
If ::1
appears above 127.0.0.1
in the hosts file, try swapping them.
Offline
#12 2009-01-09 13:35:32
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Diagnostics not working in 4.07.
It doesn’t.
Offline