Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-16 16:52:10

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

hang and blank page on reload with new install

Hey, just did a new install of textpattern on a new site I am working on, but have been having intermitant problems. Yesterday I was getting a bunch of database unavailable warnings. Today, the site seems to be working, but on (literally) every other page load I get a blank page (after a 10-20 sec hang). No warning or anything. HTML source is blank. No warnings in diagnostic. running 4.0.3 (r1643) with no plugins.

Disabling the .htaccess file had no effect. Stripping the page template to just a header made had no effect.

Textpattern is loaded on a sub-domain: http://on-screen.ca/beta. The main domain http://on-screen.ca loads every time without a hitch. Also, I can get the page to load in Safari every time (caching?) but not in Firefox or Camino. Oh, and yesterday, when I was getting the database unavailable warnings, the problems were effecting both the back and front end. Today, they are just effecting the back end.

The site is on a host I am unfamiliar with. I will probably drop them a line today, but wanted to get any thoughts from you all first.

Thanks, Jeff.

Last edited by Jeff_K (2006-08-16 16:53:01)

Offline

#2 2006-08-17 00:38:28

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

From the debugging info in the page source:

<!-- Runtime:    0.1428 -->
<!-- Query time: 0.12959 -->
<!-- Queries: 10 -->
<!-- Memory: no info available -->

In other words, Textpattern is running in 0.14 seconds from start to finish. Subsequent page loads are faster (0.02s), probably because there’s no DNS lookup required for logging.

DNS lookups are one possible cause. They might affect some users but not others. Try setting Logging to None (admin > prefs) and see if it makes a difference. If it does the trick, you can try Logging on with ‘Use DNS’ Off (advanced prefs).

Last edited by zem (2006-08-17 00:38:39)


Alex

Offline

#3 2006-08-17 03:48:45

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: hang and blank page on reload with new install

Alex, Thanks for that. Logging was off, and setting DNS to off didn’t help.

I turned Firefox’s caching off, and everything cleared up. With the cache on, I still get a hang and blank page on every other reload. I haven’t had time to check it on other computers, but I will let you know what I find when I do..

Jeff

Last edited by Jeff_K (2006-08-17 03:49:12)

Offline

#4 2006-08-17 04:58:10

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

Ah, it looks like you’re running a copy from svn, not the 4.0.3 release, correct?


Alex

Offline

#5 2006-08-17 08:40:03

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: hang and blank page on reload with new install

Hmm.. indeed.

I was running version: 4.0.3 (r1643)

I must have grabbed the wrong version from my hard drive. Switched it with 4.0.3 (r1188) and all is well (and speedy) again. Is there a known problem with caching files with versions post 4.0.3? Much thanks.

Offline

#6 2006-08-17 22:47:51

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

Not a known problem, but caching is fairly new so there might be one.

Can you try r1730 or higher, and see if it causes the same problem?


Alex

Offline

#7 2006-08-19 00:19:53

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: hang and blank page on reload with new install

just installed 1736 and the problem came back. Still literally every other page load. Running Firefox 1.5.0.6. Problem still goes away if I turn browser cache off. Let me know if you want me to run any tests, pass on server stats, etc.

Offline

#8 2006-08-19 00:28:46

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

Does the problem occur with Production Status set to Testing, or just Live? (admin > prefs)


Alex

Offline

#9 2006-08-19 01:37:57

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: hang and blank page on reload with new install

Actually occurs in Testing and Debugging, but not Live.

Offline

#10 2006-08-19 02:02:10

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

Strange indeed.

Any chance you can run LiveHTTPHeaders and see what’s going on with Last-Modified dates and 200/304 responses?

http://on-screen.ca/beta is giving an error response now, is that the URL that’s exhibiting the problem?


Alex

Offline

#11 2006-08-19 02:16:43

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: hang and blank page on reload with new install

The site is at http://beta.on-screen.ca/. Here is the results from LiveHTTPHeaders:

when page doesn’t load:

<pre>
GET / HTTP/1.1
Host: beta.on-screen.ca
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: testcookie=enabled
If-Modified-Since: Sat, 19 Aug 2006 02:08:02 GMT
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Sat, 19 Aug 2006 02:10:50 GMT
Server: Apache/1.3.36 (Unix) mod_jk/1.2.14 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7f PHP-CGI/0.1b
Connection: Keep-Alive, Keep-Alive
Keep-Alive: timeout=15, max=99
Cache-Control: no-cache
</pre>

when page loads:

<pre>
GET / HTTP/1.1
Host: beta.on-screen.ca
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: testcookie=enabled
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Sat, 19 Aug 2006 02:12:06 GMT
Server: Apache/1.3.36 (Unix) mod_jk/1.2.14 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7f PHP-CGI/0.1b
Cache-Control: no-cache
X-Powered-By: PHP/4.4.2
Last-Modified: Sat, 19 Aug 2006 02:08:02 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
</pre>

Offline

#12 2006-08-19 03:39:24

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: hang and blank page on reload with new install

Thanks. I can see it happening at that address too.

It could be something to do with keep-alive behaviour, but I’m not sure why. Can you post your diagnostics please?

Also, if your host allows you to access the Apache error_log, take a look and see if there are any errors corresponding with the times of the failed requests.

Last edited by zem (2006-08-19 03:44:53)


Alex

Offline

Board footer

Powered by FluxBB