Seeing white screen when attempting to view the main index/login screen with Chrome 41.0.2272.118 (64-bit) on Yosemite 10.10.2. Safari and Firefox both work fine. Incognito doesn't work either. PHP version 5.6.6.
Cannot seem to find anyone reporting something similar. Please let me know if you need additional info.
Correction, firefox doesn't work either. So Safari is the only browser that seems to work with 4.4 on the Mac (with my install).
This seems to be <style id="cfs-style">html{display:none;}</style> in the header for phpmyadmin.
Not sure why, yet. This is someone else seeing this: http://stackoverflow.com/questions/21836978/phpmyadmin-slipping-stylehtmldisplaynone-style-into-head-tag-after-add
Very strange. Also see other bugs with this... but checking the changes, this SHOULD be fixed.
Last edit: Staze 2015-04-07
Two step fix, seemingly. Not sure if either can be addressed with PMA.
First, set $cfg['AllowThirdPartyFraming'] = true; in config.inc.php. Second, since I was getting an error thrown that cloudflare.min.js was violating a security policy, in Cloudflare, you have to disable rocketloader (I just did it with a pagerule).
Thanks.
I'm not sure I'd call this invalid. I'd love to see why phpmyadmin doesn't get along with Cloudflare rocketloader, and if we can address this with something simple.
Here's a patch that fixes the issue with Cloudflare, by simply setting data-cfasync="false" in Scripts.class.php
Pretty, damn, simple.
See also https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do- and https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-
I've opened a PR https://github.com/phpmyadmin/phpmyadmin/pull/1645 using the solution provided by @Staze.
The data-cfasync='true' is a custom HTML5 attribute used by CloudFlare which I suppose isn't the same for other providers, but is solves the problem. In case many users have this problem the PR could be merged otherwise I don't think that the problem should be solved by pMA.
I'm not sure I see the harm in including it in base/core. I have asked if CF can address the issue with Rocketloader, but it seems like enough people use cloudflare, and the extra bytes to the code base seem reasonable to me.
@Staze I agree to apply your patch and fix the unit tests. But do you agree to our DCO (https://github.com/phpmyadmin/phpmyadmin/blob/master/DCO)?
Also we need your full name and email.
I do, though I'm not sure how to actually formally agree? Do I email it somewhere, post it here, etc?
Posting here is sufficient. May I have your full name and email?
Ryan Stasel
staze@staze.org is probably the best bet.
Fix: https://github.com/phpmyadmin/phpmyadmin/commit/cfa542cfa9b8e9869c5a6c55d7db594261a93548