Hi,

In the last few weeks I'm experience a big problem with Drupal:

some time all the pages of the site goes totally blank on Firefox (IE return "Internet Explorer cannot display the webpage"), the problem is fix automatically after some hours :/

the home page is fine, and I can edit the pages through "Edit content", but I can't view them.
(I have 60k-70k page view/day)

please help, thanks.

Comments

inforeto’s picture

If the problem is by time of the day check your server to see if you are experiencing "peak hours".
If so, you may need to troubleshoot your server as well, or ask the server admins to help with that.

To troubleshoot the drupal site read through http://drupal.org/node/199
You want all the info you can get, so read http://drupal.org/forum-posting too.
Specific details include modules, content, views, watchdog logs, etc.

shahard333’s picture

I disable the comment module and all the pages come back... any other comment system for drupal?

inforeto’s picture

Do reenabling the comment module makes it break again?
Is there heavy usage of comments?
Perhaps you just need more room to grow.

Base it from usage, as modules aren't necessarily heavy in terms of resource usage.
As for alternatives try using forum modules, as they tend to have archiving functions.
But be sure to check/solve any other performance issues you might have.

rvwsak’s picture

I experience the same thing: pages go blank all of a sudden. I have seen it in the latest version of Firefox and in IE6 and 7 (both on Win XP). To be more precise, Firefox and IE7 turns out lots of strange characters, IE6 simply turns out a blank page. However, this behaviour seems not to occur when one is logged in. I have now tried simultaneously with different machines and browsers: only the browsers that are not logged in, get the garbled/blank page.

rvwsak’s picture

Solution found. The blank pages turned out to be caused by the cache settings in Drupal. When I deactivated normal (not aggressive) caching, everything went back to normal. Something buggy here?

rhys’s picture

I am experiencing the same problem. It seems that IE is trying to load from the cache, but doesn't wait until the decoding of the data is done, and Firefox seemed to ignore the data entirely. I tried changing themes, and seeing if the cache table changed. Firefox loaded correctly, but the cache table didn't change, and IE loaded the old cache table. I deleted the cached page, and reloaded it in IE, which it did correctly, thereafter it would give me the same mangled page, with different byte sizes on different systems.

It seems like there is either a problem in PHP, which is processing the cached data, and only returning something of it, but doing that differently by Session, or Apache is internally holding onto some crazy half completed code, without any caching seemingly turned on.

I need to solve this problem as soon as possible, so I'm hoping somebody understands what's occuring here.

inforeto’s picture

Sorry, please explain it further. Blank pages is a general issue.

Do you mean the local cache of IE and firefox? or the cached pages kept by drupal?
In some cases, IE and firefox cache might be too aggresive, but don't break pages.
With "cache table" do you mean the drupal cache in mysql tables?

Are you getting blank pages? If so:
Is your server overloaded? Have you tested all your modules?
If you are on a shared hosting you migh not be able to look at the server logs, but do it if you can.
Check the drupal watchdog logs as well.
Blank pages usually come from stopped transfers or broken modules.

rhys’s picture

It turns out that the reason these either blank pages (IE7), or partially displayed (IE6) where a result of the drupal caching not reading the anonymous user settings correctly. In my case, this was solved by http://drupal.org/node/111697.

It's a one line patch at line 745, in includes/bootstrap.inc:
$user->cache = 0;
in the function drupal_anonymous_user().

The simple fact was, is that drupal renders the page for anonymous users (in IE), when there was no page in cache. Once it was there, it proceeded to serve only some section of the page. In IE6, this results in a full first page, then a half empty one. In IE7, it says the page cannot be displayed.
It is directly related to a problem with the HTTP headers from IE, not having what the cache functions expect, and therefore results in this wierd kind of error.

I found that this problem occurred with a completely clean drupal installation, downloaded off the front page. But once patched, doesn't occur.

itzdjsoup’s picture

I had the same problem with IE 7, Firefox. I even tried Netscape. I searched message boards for a few days and I even tried Microsoft (no help) but try this.

click on start, run and type msconfig
click ok
click selective startup, then the startup tab
and uncheck everything you don't need starting up (you can uncheck everything)
restart
and reopen your browser
it worked for me

Vacilando’s picture

rhys, unfortunately your patch did not work... I had to switch off caching in all of my Drupal 5.1 websites because, occasionally, anonymous users get nothing but a garbled page full of nonsense!

:-((

------
Tomas J. Fulopp
http://www.vacilando.org -- http://www.wikitree.org -- http://www.uia.org

Jignesh Pandya’s picture

hi
outputs are different in firefox and internet explorer
my page are look different in these two browser
how can i solve it to look same in those browser

inforeto’s picture

This is an old post, feel free to open your own post.

In your case, look for issues in your theme.
The theme is likely to appear different in two browsers.

Check if your site works fine on a base theme like garland or any other simple theme.
Then look for problems in the issue queue of the theme that doesn't work for you, and also the install steps or instructions.
If there's no useful information then you can open your own support ticket in the theme's project.

As for the ticket itself, you'll need some troubleshoot and provide details on your problem.
To troubleshoot the drupal site read through http://drupal.org/node/199
You want all the info you can get, so read http://drupal.org/forum-posting too.
Useful details include themes, modules, content types, views, watchdog logs, etc.