I tried adding a new Custom Style with the Panels Stylizer, and could get up to /admin/structure/stylizer/add. Upon choosing "Plain" or "Rounded Corners", pushing the "Continue" led me to a completely white screen, and I could not get to the /admin/structure/stylizer/add/settings page.

I had the Devel module On at that moment. De-activating Devel made the /admin/structure/stylizer/add/settings page available. So, the workaround is there.

It's not a major issue, because Devel will obviously not be there on the production site, but I wanted to bring it to your attention anyway. There are quite a few problems relating to the Devel module in a Panels environment in the issue queue, so I suppose this post doesn't add much to the discussion.

Comments

merlinofchaos’s picture

I run with devel.module on at all times, so it's not just devel.module that's doing it.

I know Devel for Firebug is known to have issues interfering with the AJAX, though to my knowledge they've fixed all those. I know that devel themer can be overly aggressive about adding devel information to theme layer things and cause problems.

When you get the whitescreen, what shows up in your error log?

modul’s picture

Hi Merlin. I tried again:
- with Devel off, I get to the page with the colour wheel without a problem (admin/structure/stylizer/add/settings).
- with Devel on, that page remains completely blank, no error message, nothing. My browser's "View Source" doesn't show any source being generated.

I checked my Drupal logs, but there was nothing mentioned after "Devel module enabled". Are there any other logs I could check?

merlinofchaos’s picture

With a whitescreen, there is usually a message in your server's error log. If you're running apache as a webserver, this is most often in /var/log/httd/error_log, but the actual location of this log varies depending upon OS and administrator preferences. When errors cause PHP to crash really badly, this is the only place where the error is written -- Drupal can't catch every error because sometimes PHP completely stops executing for the error and it's not possible for Drupal to catch it and log it using PHP.

modul’s picture

Hi again, Merlin. I think you pointed in the right direction, and the problem appears to be linked to memory size. These are a couple of lines from what I found in my logs (in xampp\apache\logs\error.log) :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 68945921 bytes) in E:\xampp\htdocs\dru721\sites\all\modules\devel\krumo\class.krumo.php on line 1257
[Sat May 18 00:01:40 2013] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 69212161 bytes) in E:\\xampp\\htdocs\\dru721\\sites\\all\\modules\\devel\\krumo\\class.krumo.php on line 1054, referer: http://localhost/dru721/admin/structure/stylizer/add/choose

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69212161 bytes) in E:\xampp\htdocs\dru721\sites\all\modules\devel\krumo\class.krumo.php on line 1054
[Sat May 18 11:30:04 2013] [warn] pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 18 11:30:04 2013] [notice] Digest: generating secret for digest authentication ...
[Sat May 18 11:30:04 2013] [notice] Digest: done
[Sat May 18 11:30:06 2013] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

[Sat May 18 11:34:56 2013] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 69212161 bytes) in E:\\xampp\\htdocs\\dru721\\sites\\all\\modules\\devel\\krumo\\class.krumo.php on line 1260, referer: http://localhost/dru721/admin/structure/stylizer/add/choose

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69212161 bytes) in E:\xampp\htdocs\dru721\sites\all\modules\devel\krumo\class.krumo.php on line 1260

[Sat May 18 11:35:48 2013] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 69468161 bytes) in E:\\xampp\\htdocs\\dru721\\sites\\all\\modules\\devel\\krumo\\class.krumo.php on line 974, referer: http://localhost/dru721/admin/structure/stylizer/add/choose

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69468161 bytes) in E:\xampp\htdocs\dru721\sites\all\modules\devel\krumo\class.krumo.php on line 974

And Krumo / Devel appears to be the cause of it, memory hungry as it is :-). I suppose it's next to impossible to drastically cut either Devel's or Panel Stylizer's memory requirements, but it's good to know that problems can occur.

Can't restart my system right now, but if memory is the problem, it should not be too bad. Thanks for pointing me in the right direction. I'll keep you informed on what happens when I do restart my system (with more memory) later on.

Dave Sandilands’s picture

Issue summary: View changes

I get the same problem but I can get it to work without turning off Devel ; I just go into Devel settings and uncheck 'Display $page array' and disable the Krumo display.

japerry’s picture

Status: Active » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.