Hello,

I've got a WSOD when saving some nodes. I've got a WSOD only with this.

So, I installed your module (only WSOD) and when hitting .../wsod_emergency.php, i've got this:

NOTICE: Script execution completed with error: A session had already been started - ignoring session_start()
Menu router table rebuild!

and the page display is without CSS.

Any idea?

thanks

Comments

Junro’s picture

After deleting the node created with the WSOD? I save it again and I've got:

Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: ) in /home/pariscin/www/themes/litejazz/page.tpl.php on line 35

instead of the WSOD and the node is created.

kenorb’s picture

Analysing #1:
It's something wrong with your hosting.
If it's your server, check if you have enough space on devices (/tmp, etc.)
If it's shared hosting, check if you reach the quota.
Make sure that you cleared the cache.

If not, look for similar issues:
http://www.google.co.uk/search?hl=en&q=site:drupal.org+"Failed+to+initialize+storage+module"

If this will not help, tell me on which pages you have and what's on line 35 in themes/litejazz/page.tpl.php
Probably something related with your litejazz theme.

kenorb’s picture

Category: bug » support
Junro’s picture

It's not about space:

Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/dev/md/1             3,0G  1,8G  1,2G  61% /
udev                  999M  176K  999M   1% /dev
/dev/md/2             456G  1,2G  431G   1% /home
shm                   999M     0  999M   0% /dev/shm

I cleared the cache.

I apllied the patch at #575690: "Failed to initialize storage module" error fixed without effect.

line 35 in litejazz/page.tpl.php is:

session_start();

from

    if (($node->type == 'ckk_image'||$node->type == 'ckk_image_fiche_poster'||$node->type == 'user_dvdtheque'||$node->type == 'user_list'||$node->type =='user_ranking'||$node->type =='user_pronostics'||$node->type =='ckk_image_fiche_photo')&&arg(2)!="edit"&&arg(2)!="delete") {
    session_start();
    if($result=db_fetch_object(db_query('select nid from node where type="fiche" and title="'.utf8_decode($node->title).'"'))){
       if(!empty($_SESSION['TestCookie'])){ print "<script> location.replace('http://".$_SERVER['HTTP_HOST']."/fiche/".$_SESSION['TestCookie']."');</script>";}
    } 
    return; } 

I've got the message instead the blank page when WSOD module is enable.

kenorb’s picture

Project: Diagnostic Tools » litejazz
Version: 6.x-1.x-dev » 6.x-1.7
Component: wsod module » Code
Category: support » bug

So you have on your server invalid session path (check session.save_path in your php.ini - # php -i | grep save_path).

user (path: )

instead of:

user (path: /tmp)

But anyway in my opinion it's some bug of this theme.
Theme shouldn't start session by its own and it should use Drupal session and Drupal session storage.

kenorb’s picture

Title: Script execution completed with error when using wsod_emergency.php » Fatal error: session_start Failed to initialize storage module: user (path: ) in page.tpl.php on line 35
Kisugi Ai’s picture

Status: Active » Closed (fixed)

closed -- issue fixed for 2 weeks with no activity.