After installing the new weather module, my drupal installation comes back with a white screen when trying to configure weather. Yes, just a plain white browser window with no markup ...

Having a look at the INSTALL.txt file, I decided to put the weather blocks into the right sidebar anyway, in the hope to move things along ... then _every_ request to drupal brought back just a plain white window.

I then sadly removed the weather-directory from modules and now can see my site-content again.

Comments

toddy’s picture

Assigned: Unassigned » toddy

Hm, I've no clue what's going on there. Which other modules do you have installed? Is it a fresh Drupal 5 installation? If not, do you have the possibility to install a fresh Drupal 5 on a test server?

Regards,
Tobias

ray007’s picture

It's no fresh install and has a not too short list of modules installed, 1 of those (localizer) also patching the core a little bit.
I'll post more information once I get around to make a fresh test install ...

ray007’s picture

I just activated the weather module on a rather plain site here (just localizer, a few cck modules and jstools) and it works.

Any hints how to find out what went wrong on my primary site?

toddy’s picture

Status: Active » Postponed

Well, you could use the test installation and activate every module (one after another) from your primary site on the test site, until the white screen appears. You would then know which module conflicts with weather, and I could try to debug from there.

Regards,
Tobias

Romout’s picture

I wanted to come up with a quite similar Bug which maybe points you in the right direction. I've done a farely fresh install having a hand-full of modules in use. One of those is gallery, a module embedding gallery2. When having the Weater-Module enabled showing states in the right pane, I only get a blank screen while accessing the gallery via drupal. Ofcause, the gallery works fine if accessed directly or if the Weather-Module is disabled.

dbuckles’s picture

Title: white screen » White screen/Zero-Sized Replies

Confirmed. When the Weather module is available on my fresh Drupal 5 install, I get zero-sized replies from the webserver. When I chmod 000 modules/weather, it comes back to life. I can provide logs and such if it'll help.

Lavrinenko’s picture

Check your apache log file. I resolved this issue (white screen of death) by increasing PHP memory limit.

ray007’s picture

Yeah, I guess that's it. Didn't verify it now for the weather module, but since my growing site suffered from white-screens in other places too, and I was able to solve it by increasing the memory limit ...

Lavrinenko’s picture

Priority: Critical » Normal
Status: Postponed » Postponed (maintainer needs more info)

That's definitely the memory limit problem. My /var/log/apache2/-error.log file says:

[Tue Mar 13 18:16:49 2007] [error] [client XX.XX.XX.XX] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 7864320 bytes) in /var/www/sites/xxxxx.ru/cms/modules/weather/icao_codes.inc on line 4017, referer: http://xxxxx.ru/cms/admin/build/modules

This string says that I have memory_limit set to 32M, and weather module tried to use 7.5 megabytes of them but failed. So right now I increased memory_limit to 128M, in my case.

toddy’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This should be fixed in 5.x-3.0.

dattanand k pednekar’s picture

just run update.php and try it may work