Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2012 at 21:00 UTC
Updated:
7 Apr 2012 at 16:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
tbws commentedIs your homepage completely white? The white screen error is usually the result of a php parse error. Are you using any embeded code (in the theme or a block) or module code in your homepage? If so, can you please pastebin it in your reply after checking the syntax.
Cheers,
Will
Comment #2
drupalycious commentedThank you for the quick answer,
No I don't use any embedded PHP code (in the theme or the blocks) and yes, the homepage is just white no warnings or bug report.
Everything was fine until the 17 March ctools dev version. I didn't keep a copy of it...
I found an old dev version of ctools (from 23 January 2012) and using it fixes the problem, but I would prefer to use the latest one, at least the one I downloaded yesterday. In case you still have a copy of it, could you send it to me?
I know I should always keep copies of the modules, yet sometimes I am on a rush and I am too confident...
Cheers,
sp
Comment #3
merlinofchaos commentedCan you please check your watchdog log or your apache/php error log and see if there is a PHP error leading to the whitescreen?
Comment #4
drupalycious commentedFirst good point to stress: on a clean install with all my modules enabled but no content, everything is fine, the homepage is not white/empty.
The watchdog log doesn't give me anything related to this problem, I only get "session open" and "session closed" messages.
the apache error log neither.
But the php error log gives me an interesting message:
and I noticed that when I disable my custom homepage (done with panels and page manager) the homepage comes back to live, but as I overrided it with my custom one, I don't have anything in this page but I can see the website logo (but my menus bar is gone).
I am not understanding exactly what is the problem, as with a previous version of ctools, everything was fine with my custom homepage.
Might it be a compatibility issue between ctools and panels 3?
Thank you for your help
Comment #5
drupalycious commentedI got my homepage back!!!!
I think my problem is related to the one mentioned here #1275886: Error - Notice: Trying to get property of non-object in menu_block_view_alter()
and the patch given at the comment 63 solved my issue.
Some details:
when I applied the patch I got:
and then I logged out and check my homepage and it was back.
I tested it with the latest ctools dev and the rc2 version, for both this patch works and fix this issue.
I don't see any other problem so far, I will report bellow in case something bugs after this fix.
;-)
Comment #6
jherencia commentedOk, this happens to me too after upgrading to RC2, the reason is that #1275886-63: Error - Notice: Trying to get property of non-object in menu_block_view_alter(), removes _ctools_block_load_blocks and _ctools_get_block_info which are called from ctools_user_login_pane_render line 438.
I added both functions to get this working again, here is the patch. I needed this fixed ASAP so probably this is not the best solution, I hope it helps people in the same situation I was.
Comment #7
jherencia commentedI see that there are more people with this problem (http://drupal.org/node/1489824) so as long as it breaks any site with user login pane block I'm going to change the status to critical.
Comment #8
tim.plunkettThat call was added in #1434772: Support panels on /user/login, which I didn't notice when rerolling #1275886: Error - Notice: Trying to get property of non-object in menu_block_view_alter().
Comment #9
jherencia commented#8 - Works perfect for me, and it's a much better solution than the one I provided.
Thank you.
Comment #10
cladom commented#8 worked for me.
Thank you
Comment #11
tim.plunkettFixed: http://drupalcode.org/project/ctools.git/commit/80a7530
Comment #12
drupalycious commentedHi,
I installed the latest dev version, and everything is fine.
Thank you for the module and the fixes!
Comment #13
scottsawyerPatch working for me, thank you!
Comment #14
srlawr commentedJust chalking up another one who had this problem, but who was also fixed using the patch in #8
thank you very much. good to hear this might already be resolved in .dev, and thus for the next release..! :)
Comment #15
LarsKaae commentedI'v also get: Fatal error: Call to undefined function _ctools_get_block_info() in MY-DRUPAL-SITE-DIRECTORY/sites/all/modules/ctools/plugins/content_types/block/block.inc on line 438
When i'm logged in there is nothing wrong, but as a anonymous user, I can't see my contents.
I don't know how to use Patches and don't know how to install the dev version, if it's not released to update...
Can anybody help?
Comment #16
LarsKaae commentedHi,
I found a way to do the patching manually - it's work again. I can see my contents without login in as admin.
I've using the patch in #8
Comment #17
merlinofchaos commentedNo need to patch this is already committed -- just update to 7.x-1.x-dev -- I'll roll a release some time this week when I've recovered from Drupalcon.