Forum Moderators: open

Message Too Old, No Replies

Sometimes getting blank page

         

lukez

2:58 pm on Jan 28, 2009 (gmt 0)

10+ Year Member



Hello all,
So I created a website a couple weeks ago and since day one I have been getting a blank page (no errors or anything) once in awhile. It happens on every page on my site, and randomly. Sometimes it works, sometimes it doesn't.

I tried in IE and firefox, I tried it at multiple different computers and houses.

Also as soon as it happens if I go to "view page source" in firefox it shows a blank screen. A couple seconds later if I do it again the source code pops up.

This tells me it's probably something to do with the hosting? I tried contacting tech support but it seems like they are totally useless. Is there something I can point them to? Maybe not enough resources on the hosting PC(my website is very tiny right now though)?

rocknbil

3:39 pm on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it's stock static html, yes, it's your host. If it's a dynamic language, like .asp, php, or perl, it could be an error in the scripts, or possibly a timeout, or could also be a problem with the host.

lukez

3:43 pm on Jan 28, 2009 (gmt 0)

10+ Year Member



it's PHP but I used the hosts sitebuilder! All I did was input some text in the WYSIWYG editor.
If it was errors with the scripts wouldn't it show some kind of error?
Any way I can root cause this issue?

rocknbil

6:54 pm on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Many hosts turn off PHP reporting errors by default because they reveal far too much about system information, it's a security issue.

You can put this at the tops of your scripts,

error_reporting(E_ALL);
ini_set('display_errors', '1');

And if it's not a fatal error or the error occurs after reading the error reporting line, it will display errors at the tops of the pages.

But be sure to remove it when you're done debugging.

The best course of all is to check your error logs; call the errant page and observe the last few lines of the error log.

lukez

7:25 pm on Jan 28, 2009 (gmt 0)

10+ Year Member



The first thing in the file is:
<?php
require_once('init.php');
$loadClass = SB_Modules::loadClass('Modules_Statistics');
$statisticsObject = new Modules_Statistics('0f20bvvsdr8');
$statisticsObject->init();
$statisticsObject->processAction();
?>
Then the <html> starts.
I put your 2 lines of code right after require_once so it looked like this:
<?php
require_once('init.php');
error_reporting(E_ALL);
ini_set('display_errors', '1');
$loadClass = SB_Modules::loadClass('Modules_Statistics');
$statisticsObject = new Modules_Statistics('0f20bvvsdr8');
$statisticsObject->init();
$statisticsObject->processAction();
?>

After doing so, the page was still blank.

Also I looked at the error log and it shows no errors except this one that comes up on the hour, every hour (not when I get the blank pages)
[Wed Jan 28 14:00:03 2009] [warn] RSA server certificate CommonName (CN) `example.example.com' does NOT match server name!?

I doubt that has anything to do with my problem since the time stamps are every hour, on the hour.

lukez

7:32 pm on Jan 28, 2009 (gmt 0)

10+ Year Member



Also when this error occurs in IE it does the "The page cannot be displayed" and changes to this in the address bar:
res://C:\WINDOWS\system32\xpsp3res.dll/dnserror.htm#http://www.example.ca/guidelines.php

Here is a copy/paste of the IE page:

The page cannot be displayed

The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
To attempt fixing network connectivity problems, click Tools, and then click "Diagnose Connection Problems..."

Other options to try:

Click the Refresh button, or try again later.

If you typed the page address in the Address bar, make sure that it is spelled correctly.

To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
See if your Internet connection settings are being detected. You can set Microsoft Windows to examine your network and automatically discover network connection settings (if your network administrator has enabled this setting).
Click the Tools menu, and then click Internet Options.
On the Connections tab, click LAN Settings.
Select Automatically detect settings, and then click OK.
Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Click the Back button to try another link.

Cannot find server or DNS Error
Internet Explorer

rocknbil

4:06 pm on Jan 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Honestly, I do not know, but the C:\\..... seems to indicate a problem with your system. Google for "server error xpsp3res.dll" and you'll see some results, that's all I have . . .