Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
theme system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
6 Apr 2007 at 06:48 UTC
Updated:
20 Apr 2007 at 17:16 UTC
Jump to comment: Most recent file
if you happen to call list_themes(true) (which apparently, core doesn't currently do anywhere, but it might need to in order to fix http://drupal.org/node/134160) you get a php E_ALL warning. attached patch fixes it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | theme_tab.patch | 1.36 KB | chx |
| list_theme_warning.patch.txt | 572 bytes | dww |
Comments
Comment #1
chx commentedWeirdo PHP issue in theme.inc causes list_theme(TRUE) to fail in strange ways. Attached patch solves the problem. I will research into the why.
Comment #2
chx commentedUmmm
http://bugs.php.net/bug.php?id=6810
http://bugs.php.net/bug.php?id=13967
http://bugs.php.net/bug.php?id=15570
Comment #3
chx commentedThe manual says:
Comment #4
dries commentedWeird PHP behavior, but oh well. Committed to CVS HEAD. Thanks again, chx.
Comment #5
dwwugh. well, at least my original fix was right, we need to call list_themes() before the menu rebuild(). ;) it just so happens that php is so crazy that the rebuild stuff in list_themes() never worked. :( *sigh*
in the future, i should remember that if i find something that makes no sense at all, chances are good there's a php bug involved...
Comment #6
(not verified) commented