Closed (duplicate)
Project:
Flag
Version:
6.x-1.1
Component:
Flag core
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2009 at 23:31 UTC
Updated:
27 Oct 2010 at 08:52 UTC
After upgrading to Drupal 6.14 and PHP 5.3, Drupal returns a blank page (WSoD). If I disable the flag module the problem goes away.
Thanks,
introfini
Comments
Comment #1
quicksketchPlease enable error_reporting in php.ini, then you'd get an error instead of a white screen (which isn't very helpful for troubleshooting).
Comment #2
wedge commentedI get the following trace from xdebug:
and the following:
warning: Parameter 1 to flag_flag_link() expected to be a reference, value given in /Users/wedge/Sites/drupal/includes/module.inc on line 450.
Comment #3
quicksketchThat looks like this issue #459994: Crash when rendering url() (PHP 5.3 compatibility), which actually isn't PHP 5.3 specific (at least that wasn't specified as being PHP 5.3 specific, but maybe that's why I haven't been able to reproduce it).
Comment #4
introfini commentedI've error_reporting = E_ALL | E_STRICT and xdebug installed. But apache just crashs.
I can confirm that this only happens with PHP 5.3 (at least with me).
I don't know if this helps but if in anonymous mode with drupal cache on, the pages render just fine.
introfini
Comment #5
ressaMe too, I exported and imported two Flags, removed an existing Flag and got WSoD on content types that used it. I also have error_reporting = E_ALL | E_STRICT and xdebug installed, but nothing was printed to the screen, only the White Screen of Death. I am also using PHP 5.3.
If I disabled the Flag module the content type pages which had a flag worked fine.
The reason was that some Relationship stuff were lingering in the View, when I removed them it worked again:
Relationships: node > flag_content_rel
Fields: op > flag_content
Comment #6
mooffie commentedSay,
Was that relationship(s) using a non-existent flag?
Because there's a patch pending that guards against missing flags in views: #901116: Views validation: guard against non-existent flags.
Comment #7
mooffie commentedThe issue I linked to is enough; this one can be closed.
Comment #8
ressaYes, the relationship was using a non-existent flag, thanks for taking care of this issue!