Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
overlay.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2012 at 21:30 UTC
Updated:
29 Jul 2014 at 20:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dcrocks commentedI can confirm the same failure on drupal 8 from git.
Comment #2
klausiWSOD often means that you have not configured your PHP environment for development, see http://php.net/manual/en/errorfunc.configuration.php
Any error messages after tweaking those settings?
Comment #3
xjmI am unable to duplicate this using the latest D8 from git, with either standard or minimal install profiles. In both cases both enabling a theme and setting an admin theme at
admin/appearancework fine whether or not overlay is enabled.Comment #4
dcrocks commentedI have slightly older versions of drupal previously installed and I don't get the error there. Plus I got it on 2 different machines. I am on OS X 10.6.8, php 5.3.6, and using sqlite for the database. I use the standard install. I can't think of anything I have changed on my system that might cause this.
I am not seeing any errors on the apache error console, nor anything with firefox's error console.
Comment #5
xjmIs it possible to turn on error reporting in your php.ini? I'm also using OSX, but with MAMP.
I'll try again with a fresh clone in case it's an issue with missing files or something.
Comment #6
xjmOkay, I CAN reproduce this with a fresh clone after installing D8 with the standard profile, going to admin/appearance, and enabling Stark. The fact that it happens with a fresh clone leads me to suspect missing files or suchlike. It's a blank screen with no PHP errors (error reporting and xdebug and enabled).
This would be a release blocker.
Comment #7
dcrocks commentedlog_errors is on in php.ini but I am not seeing any php errors. Nor am I seeing errors on firefox's error console or any place else. Got a clean clone of 7,x, went through standard install with sqlite, everything is fine until I enable a disabled theme(stark this time), then any call to admin menu results in a white screen.
Comment #8
xjmxpost
Comment #9
dcrocks commentedI should note that the theme is getting enabled. If I got back to drupal home after the WS I see "The Stark theme has been enabled" in the message area. And it look ok in the database.
Comment #10
xjmThere appears to be a problem with the path writing. I get redirected to
http://mysite/adminwhen I try to visithttp://mysite/#overlay=adminafter enabling a new theme.Comment #11
dcrocks commentedI didn't mean to reset the issue.
Comment #12
xjmbeejeebus tracked this to #1371484: Private properties in abstract class DrupalCacheArray. We confirmed that this issue's commits introduce this bug in both D7 and D8.
Comment #13
xjmAttempting to write a test that catches this.
Comment #14
xjmAlright, so the bug is only reproducible if you click the enable link from within the overlay, which means it cannot be reproduced in our test suite. Alas.
Comment #15
Anonymous (not verified) commentedso, here's a rollback patch, fixes the problem for me.
Comment #16
dcrocks commentedTested against 7.x. Works. Cache, can't live without it.
Comment #17
xjmThe commit that caused this has been reverted. We'll need to do some more work in #1371484: Private properties in abstract class DrupalCacheArray to figure out why ThemeRegistry is changing the private variables once we let it.
Thanks dcrocks for reporting this!
Comment #17.0
xjmFurther info