Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-27 16:10:40

brendstrup
Member
From: Århus, Denmark
Registered: 2007-05-05
Posts: 15

Help: Front page is blank, something's borked

I hope someone can figure this problem out.

My front page (indeed all pages my site) have shown up blank for the past two weeks at hellestraef.dk.

It all happened after my crappy webhost had a server breakdown and somehow in the process of restoring from backup managed to delete all index.* files (yes, I know — I am already looking around for a more professional hosting company).

I restored the index.php files from local backup, but all pages just keep showing up blank (without any code being passed to the browser, judging by “view source”). I just now upgraded the whole install from 4.0.4 to 4.0.5, but to no avail.

Any ideas of what the problem is?

Here is my diagnostics info, if that helps. I also continually get a “Clean URL test failed” in the diagnostics tab, but can’t figure out why. Changing between debug/testing/live settings makes no difference (as per this).

It is entirely possible that my hosting company borked something while setting up the server, but does anyone know what?

Thanks for any help!

Offline

#2 2008-01-27 16:13:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Help: Front page is blank, something's borked

Your frontpage is not handled by Textpattern. It has the wrong charset in the HTTP response headers.
Can you post your “high” diagnostics?

Offline

#3 2008-01-29 10:51:02

brendstrup
Member
From: Århus, Denmark
Registered: 2007-05-05
Posts: 15

Re: Help: Front page is blank, something's borked

Ah, that sounds very likely.

I have another site that’s just a static html file, encoded in UTF-8. It worked fine before, but after the server trouble the text encoding was screwed up and I had to re-encode all special characters as html entities to get it to work.

Here’s my ‘high’ diagnostics info. Is there something I can do to fix this, or what can I ask my hosting company to fix?

Thanks for your help, Ruud!

Offline

#4 2008-03-03 13:18:36

brendstrup
Member
From: Århus, Denmark
Registered: 2007-05-05
Posts: 15

Re: Help: Front page is blank, something's borked

Hi again,

I still can’t figure this out, and the site is still down, so I’m hoping someone can help.

Here’s ‘high’ diagnostics info on another site (studiehacks.dk) running the same version of TXP on the same server, showing the same charset settings as far as I can tell. But that site works fine and has all along. Can anyone explain that?

Thanks very much for any help!

Offline

#5 2008-03-04 03:01:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Help: Front page is blank, something's borked

If you enable debugging, does that output anything in the page source?

Offline

#6 2008-03-05 08:44:44

brendstrup
Member
From: Århus, Denmark
Registered: 2007-05-05
Posts: 15

Re: Help: Front page is blank, something's borked

Nope, if I switch on debugging nothing changes and the page source of the front page is still blank.

Offline

#7 2008-03-05 08:48:37

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Help: Front page is blank, something's borked

Can you see if a new, separate installation of TXP works?

Offline

#8 2008-03-05 10:16:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: Help: Front page is blank, something's borked

It seems that you have a modified file

Some Textpattern files have been modified: 
	/lib/txplib_head.php

Did you try replacing it with the default which come with the 405 release?

Last edited by colak (2008-03-05 10:17:03)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2008-03-05 12:42:19

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Help: Front page is blank, something's borked

colak wrote:

It seems that you have a modified file

Some Textpattern files have been modified: /lib/txplib_head.php

Did you try replacing it with the default which come with the 405 release?

txplib_head.php is only used for backend, and it’s only a header file, so it’s have nothing to do with frontend, coz it’s not even loaded there. Also the login-page works, so, it probably isn’t any “big” change.

Offline

#10 2008-03-05 17:24:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Help: Front page is blank, something's borked

That’s still not TXP running on the frontpage, because the response header shows:

HTTP/1.1 200 OK
Date: Wed, 05 Mar 2008 17:23:47 GMT
Server: Apache/2.2.3 (Debian)
X-Powered-By: PHP/4.4.8-0.dotdeb.1
Content-Length: 0
Connection: close
Content-Type: text/html; charset=iso-8859-1

TXP would return charset utf8.

Offline

#11 2008-03-05 17:34:21

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Help: Front page is blank, something's borked

That’s still not TXP running on the frontpage

Yeah, so it seems. Missed that :)

Offline

#12 2008-03-05 19:38:51

brendstrup
Member
From: Århus, Denmark
Registered: 2007-05-05
Posts: 15

Re: Help: Front page is blank, something's borked

Thanks for the replies everyone!

@Ruud: If it’s not TXP, then what would it be? It’s TXP somehow bypassed, you mean? Weird that the backend works fine, though.

I have another site (djurs-stilladser.dk) that is a single html-file encoded in UTF-8. It worked fine before the server breakdown, but when I uploaded it to the new server the text encoding was all wrong and I had to manually replace several special characters with their html entity equivalents to get it to display right.

But if the server can’t handle UTF-8 then I don’t get why studiehacks.dk works, since it’s also a 4.0.5 install running on the same server…

Offline

Board footer

Powered by FluxBB