strange blank pages in FF and chrome since import

23 posts / 0 new
Last post
#1 Sat, 05/30/2009 - 02:50
lex

strange blank pages in FF and chrome since import

hmm, I don't seem to be able to crack this: a sudoko for beginners:

I've got three wordpress sites with very similar templates.

Two of them (all three were working), I imported into virtualmin. The third is just a translation of one of those two but has the same 'theme' etc.

The two imported ones: I can see them fine in IE7, but not in FF or Chrome. Some people report they don't see them in IE7 either.

The not imported one is visible to all.

So where is the problem? I started disabling all plugins in wordpress: no difference. I then changed the theme to the default wordpress theme too: no difference.

What happens? I get a real blank page in FF and chrome. No error or page title, just a blank page. Somewhere, there must be an error, but where? I first suspected a wordpress thing, but why does it happen only to the imported websites... what could be the problems, something to do with the headers? The mod rewrite/htaccess?

Well, whatever I've tried, I haven't been able to find it.

So if someone has an idea...

Not imported: www.journalistinturkije.nl

Imported: www.journalistinturkey.com (translated copy of the not imported one) www.hollandsenieuwe.com

Another strange thing: the homepage of those sites is wordpress, dynamic. When I copied the source code of the presented page and save that as a static html file on domain, then that page could be seen by all browsers...

Who's got an idea?

p.s. I wasn't able to do these fresh, as they were already on the server when I installed virtualmin.

error log of one of them (last 20 lines): [code:1] [Tue May 26 12:22:32 2009] [error] [client 80.59.112.51] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/database-admin-css.css, referer: http://www.journalistinturkey.com/wordpress/wp-admin/admin.php?page=wp-d... [Tue May 26 12:22:33 2009] [error] [client 80.59.112.51] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/admin.php?page=wp-d... [Tue May 26 12:22:52 2009] [error] [client 80.59.112.51] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/database-admin-css.css, referer: http://www.journalistinturkey.com/wordpress/wp-admin/admin.php?page=wp-d... [Tue May 26 12:22:53 2009] [error] [client 80.59.112.51] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/admin.php?page=wp-d... [Tue May 26 12:27:56 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Tue May 26 13:07:59 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Tue May 26 13:08:18 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post-new.php [Tue May 26 13:13:56 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post.php?action=edi... [Tue May 26 13:16:04 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post.php?action=edi... [Tue May 26 13:16:43 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post.php?action=edi... [Tue May 26 13:19:56 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Tue May 26 13:20:25 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/index.php [Tue May 26 13:21:33 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/options-general.php... [Tue May 26 13:23:16 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/options-general.php... [Tue May 26 16:20:20 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Tue May 26 17:50:01 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Wed May 27 07:10:02 2009] [error] [client 85.108.110.50] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/edit-comments.php [Wed May 27 08:18:36 2009] [error] [client 88.31.224.107] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/plugins.php [Sat May 30 11:55:21 2009] [error] [client 88.30.1.237] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post-new.php [Sat May 30 12:02:32 2009] [error] [client 88.30.1.237] client denied by server configuration: /home/klanten/journalistinturkey.com/user/htdocs/wordpress/wp-content/plugins/wp-dbmanager/images/database.png, referer: http://www.journalistinturkey.com/wordpress/wp-admin/post.php?action=edi... [/code:1]

error log of the other mal-functioning one (last "20" lines): [code:1][Wed May 27 08:31:24 2009] [error] [client 65.55.105.120] WordPress database error Table 'hn.wp_DLM_DOWNLOADS' doesn't exist for query SELECT * FROM wp_DLM_DOWNLOADS WHERE id='11'; [Fri May 29 05:02:54 2009] [error] [client 65.55.105.123] WordPress database error Table 'hn.wp_DLM_DOWNLOADS' doesn't exist for query SELECT * FROM wp_DLM_DOWNLOADS WHERE id='9'; [/code:1]

Sat, 05/30/2009 - 02:56
Joe
Joe's picture

So these error_log entries aren't actually related to these specific requests? (They look mostly old. Try making a request while watching the error_log...if nothing appears then, Apache thinks everything is fine...so the problem will be with what's actually being served out.)

I'm getting a zero-sized reply from journalistinturkey.com (when I hit it directly with telnet or wget). I can't imagine how IE could possibly do anything different with a zero-sized reply.

Are you sure IE is going to the same address? Is it possibly serving you a cached version of the page?

--

Check out the forum guidelines!

Sat, 05/30/2009 - 03:03 (Reply to #2)
lex

<b>Joe wrote:</b>
<div class='quote'>So these error_log entries aren't actually related to these specific requests? (They look mostly old. Try making a request while watching the error_log...if nothing appears then, Apache thinks everything is fine...so the problem will be with what's actually being served out.)</div>

That's what I hought looking at the log files. There's nothing added to them when trying to see the sites.

<div class='quote'>I'm getting a zero-sized reply from journalistinturkey.com (when I hit it directly with telnet or wget). I can't imagine how IE could possibly do anything different with a zero-sized reply.

Are you sure IE is going to the same address? Is it possibly serving you a cached version of the page?</div>

Yes I'm sure. In fact, in IE I can do everything with wordpress, add new blogs etc etc. Visitors are adding comments, but obviously not the ones who use firefox or chrome...

p.s. I'm happy I'm not the only one puzzled by this! ;)

Sat, 05/30/2009 - 03:48 (Reply to #3)
lex

<div class='quote'>when php scripts serve a blank page, often this is a corrupted file (not uploading in binary for example)</div>

I hope you mean ascii otherwise that might be it...

<div class='quote'>
When checking the 2 problem sites in IE 8,

journalistinturkije.com says:
Cannot find server or DNS Error

Internet Explorer
Hollandsenieuwe.nl stays blank.</div>

I should have written www.hollandsenieuwe.com, so IE8 as well shows problems hey... I've got IE7 here, 7.0.5730.11

<div class='quote'>checking DNS says:
Looks like your nameservers do not agree on the SOA serial. Ths SOA records as reported by your nameservers:

88.208.232.11 -&gt; 1
213.171.223.34 -&gt; 2

This can cause some serious problems that is why you should fix this asap. The serial ought to be in Date, like so: Serial #: 2008121500 which can be set in the module config of the BIND module under webmin.</div>

Yes I've seen those, and have been investigating them. My problem is on the other server, which has the other nameserver pointed to it, I don't see how I can change them yet. (They come with a 'matrix' control panel, something that comes with a dediated server at fasthosts.co.uk)

<div class='quote'>Then I would check Document Options in the Apache module for that domain: Webmin-Apache Server-click the domain (Virtual Server Options) -Document Options and Directory Indexing - Directory index files to make sure it has index.php, index.php4 and index.php5 in it.</div>

I thought you had a &quot;BINGO&quot; there, as I had looked into this before, but in the system's apache config file, not in webmin and when I followed your instructions, I saw the &quot;Directory index files&quot; field was empty.
So I copied the list into it (index.html index.htm index.php ndex.php4 index.php5) and checked for other differences compared to a default new domain/server (there were none) and hit 'save', followed by 'apply changes'. But it still doesn't show...

I'll look more into this now, thanks for all the suggestions!

Sat, 05/30/2009 - 04:29 (Reply to #4)
lex

Thanks, I'll look into this.

When you write:

[quote]also verify your PHP configuration for those domains assuming each domain has its own php.ini file.

for example when Allow PHP scripts starting with &lt;? ? is set to no and your script is starting with &lt;? instead of &lt;?php then there is a problem too quote]

I'll check it, but if this would be somehow wrong, how then would I and (quite a lot of others) be able to see the site working well?

Sat, 05/30/2009 - 04:31 (Reply to #5)
lex

hmm, that last line isn't your quote but my text...

Sat, 05/30/2009 - 04:43 (Reply to #6)
lex

<div class='quote'>Fatal error: Call to undefined function wp_ozh_wsa() in /home/default/hollandsenieuwe.com/user/htdocs/wordpress/wp-content/themes/nautica-magazine/page.php on line 10</div>

yeah, I'd seen them and deleted them from the templates for the homepage etc. page.php is only used for wordpress &quot;pages&quot;, which doesn't mean every page of the site. I've deleted it from there too, just to be sure, but no change yet.

Sat, 05/30/2009 - 04:46 (Reply to #7)
lex

I've copied the journalistinturkije.nl headers into the hollandsenieuwe.com site (same theme etc.), nothing changes (yet).

Sat, 05/30/2009 - 05:16 (Reply to #8)
ronald
ronald's picture

the php config (&lt;?) was just an example, but I would check all the settings for that domain, if your hosted domains all have their own php.ini files.
If you use a serverwide php.ini file then you don't necessarily have to check it as other php sites are running on your server properly.

as a test you could copy the journalistinturkije.nl site to holandsenieuwe and then update/replace the paths/database to see if a working site would also work in that virtual server (since they are both wordpress).
Then you would have ruled out a server setting.

Re-uploading the files in binary would then be my first move.
Or even re-installing the wordpress and fill the database with a backup file

Sat, 05/30/2009 - 07:25 (Reply to #9)
lex

<b>Ronals wrote:</b>
<div class='quote'>as a test you could copy the journalistinturkije.nl site to holandsenieuwe and then update/replace the paths/database to see if a working site would also work in that virtual server (since they are both wordpress).
Then you would have ruled out a server setting.
</div>

I'll do so now

Sat, 05/30/2009 - 10:10 (Reply to #10)
ronald
ronald's picture

the document options look okay to me, since you have a different path Im not sure the default path on user WWW directory and virtual server path should also be kept to default

still I think it has to do with the files and your database rather then the server settings

Sun, 05/31/2009 - 02:35 (Reply to #11)
lex

Haven't got any further yet, but just a remark:

when i do this:

webmin - apache webserver

the sites that were on the server before i installed webmin and virtualmin, some of them imported and others not, all show up twice in the list. If I change a setting of one of them, the setting of the second listing of that domain changes too. So it doesn't seem to harm, but still...

The sites (virtual servers) that were created with virtualmin/webmin show up only once.

(is this normal?)

Sun, 05/31/2009 - 02:56 (Reply to #12)
ronald
ronald's picture

no it is not normal, but you have installed *min while websites were on the server. This is not recommended.

You could try to check the apache config and see if they are listed twice in there, if so comment out the double entries.
Else the double entries are listed somewhere in the webmin structure, which could be checked:
/etc/webmin/virtual-server/domains
the files are named with numbers so you'll have to open them and if there are double domains you might want to try to rename the files to &quot;124084313320568-old&quot; or something

the latter I have no experience with and I don't know if this would be correct to do.
You can however file a ticket at bug/support.

Oh and you are making backups of course...

Sun, 05/31/2009 - 03:11 (Reply to #13)
Joe
Joe's picture

<div class='quote'>but you have installed *min while websites were on the server. This is not recommended.</div>

It's not discouraged, either. Having Webmin and Virtualmin is better than not having them, even if we can't start from scratch on the server, so sometimes we have to deal with weirdness along the way. ;-)

For the sites that show up twice, is one of them SSL and the other regular port 80, perhaps? (That would actually be normal.)

--

Check out the forum guidelines!

Sun, 05/31/2009 - 03:13 (Reply to #14)
ronald
ronald's picture

btw i can now go to http://www.hollandsenieuwe.com/about/
and http://www.hollandsenieuwe.com/contact and page source reveals:
&lt;!-- Page not cached by WP Super Cache. No closing HTML tag. Check your theme. --&gt;
did you re-upload the files in binary?

Wed, 06/03/2009 - 23:22 (Reply to #15)
lex

Sorry people, have been terribly busy for clients. I'll come back on this tomorrow, should have a bit of time then.

About the &quot;http://www.hollandsenieuwe.com/contact&quot; etc: yes, i did reupload in binary, but that wasn't causing that. What happened was that in the 'page' template (not used for everything in wordpress) i was still calling a plugin I'd disabled. That brings me to a silly thing, but maybe a clue: when there's a mistake in the page (as calling a missing plugin) and not the whole page gets sent to the browser, then that part is shown. I've deleted everything in that same page after the missing plugin that could cause an error somehow (I just left tags like &lt;/div&gt; where needed etc but it wouldn't show. So, when there are no errors on the page: blank (in FF and Chrome and some versions of IE). When there's an error as you spotted (missing plugin near the end): up to that page gets shown.

I'll 'speak' to you tomorrow or maybe tonight. Thanks for all the help!

Sat, 05/30/2009 - 03:22
lex

p.s. what i've forgotten to mention:

I didn't import just those two websites, I imported three. The third one, not a wordpress or php site, just static html is showing fine:

http://www.gran-canaria-info.com/

Well &quot;fine&quot;, there are a lot of errors and missing parts, but that's because they are actually missing, I still have to repair this site.

So it seems as if the 'being dynamic, php' could have something to do with it. As I said before, the source of the (dynamic) home page copied and then saved on the domain as static html is visible, it's this one:
http://www.hollandsenieuwe.com/probleem/index.html

Sat, 05/30/2009 - 03:23
ronald
ronald's picture

when php scripts serve a blank page, often this is a corrupted file (not uploading in binary for example)

When checking the 2 problem sites in IE 8,
journalistinturkije.com says:
Cannot find server or DNS Error
Internet Explorer
Hollandsenieuwe.nl stays blank.

checking DNS says:
Looks like your nameservers do not agree on the SOA serial. Ths SOA records as reported by your nameservers:
88.208.232.11 -&gt; 1
213.171.223.34 -&gt; 2
This can cause some serious problems that is why you should fix this asap.

the serial ought to be in Date, like so: Serial #: 2008121500 which can be set in the module config of the BIND module under webmin.

Then I would check Document Options in the Apache module for that domain: Webmin-Apache Server-click the domain (Virtual Server Options) -Document Options and
Directory Indexing - Directory index files to make sure it has index.php, index.php4 and index.php5 in it.

I don't know the sql errors. There could be other problems too like paths, permissions etc.

Sat, 05/30/2009 - 03:41
ronald
ronald's picture

I typed the url's manually and since im dutch too, i typed the wrong ones.
i did check of course:
www.journalistinturkije.nl
www.journalistinturkey.com
www.hollandsenieuwe.com

Sat, 05/30/2009 - 04:10
ronald
ronald's picture

i did mean binary. php files should always be uploaded in binary to avoid possible corruption. You can upload in ascii and this often goes well, but you want to rule out errors. Even better would be to upload a zip and unpack it on the server. This can easily be done with webmins filemanager.

the problem of the serial is on both servers. RFC says you should have a date based number. At least the serial must be the same on both servers.

Also do check &quot;Document Options&quot; not only Directory Indexing through webmin to check the paths/user etc.
Do the dirs/files have correct permissions? 755/644

also verify your PHP configuration for those domains assuming each domain has its own php.ini file.
for example when Allow PHP scripts starting with &lt;? ? is set to no and your script is starting with &lt;? instead of &lt;?php then there is a problem too

Sat, 05/30/2009 - 04:24
ronald
ronald's picture

looking at the doc source..

journalistinturkey.com
<div class='quote'>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=utf-8&quot; http-equiv=Content-Type&gt;&lt;/HEAD&gt;
&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</div>

journalistinturkije.nl
<div class='quote'>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;

&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
</div>

Sat, 05/30/2009 - 04:28
ronald
ronald's picture

and some more clues for you
<div class='quote'>Fatal error: Call to undefined function wp_ozh_wsa() in /home/default/hollandsenieuwe.com/user/htdocs/wordpress/wp-content/themes/nautica-magazine/page.php on line 10
</div>

line 10 should hopefully reveal some mysteries

Sat, 05/30/2009 - 07:22
lex

Here are the 'document options', are they ok like this?

<a href='http://www.hollandsenieuwe.com/temp/document-options.png' target='_blank'>http://www.hollandsenieuwe.com/temp/document-options.png</a>

Topic locked