Block Layout - Bug
Permalink
Over the past 4 websites I've installed with Concrete5 I have run into the same bug/error message. It shows up in the layout feature of a blocks. I first create a layout with whatever features and everything works fine. Then I get the error message by clicking that '+' sign on the top left. Instead of layout features, A box shows up with this message.
Has anyone else run into this issue?
Fatal error: Call to a member function getAreaHandle() on a non-object in /hermes/web01c/b1289/moo.mywebsiteURL/concrete/tools/edit_area_popup.php on line 27
Has anyone else run into this issue?
Before adding a block the user is also given the options of 'add from scrapbook', 'add layout', and 'design'. I choose 'add layout' then create whatever layout. Afterwords the error shows when I want to edit the layout. I click on the '+' on the top left and get that box with the error. Happens every time, every site..
See these two discussions...
http://www.concrete5.org/community/forums/usage/fatal-error-in-new-...
http://www.concrete5.org/community/forums/customizing_c5/design-err...
-Steve
http://www.concrete5.org/community/forums/usage/fatal-error-in-new-...
http://www.concrete5.org/community/forums/customizing_c5/design-err...
-Steve
So there is one space that is causing this issue. go figure. well what I got from the other post was good, but I look forward to the fix in later concrete5 update. Here's a run down of what i got from the forum.
Take this code and change it to this code
on line 4 of /root/concrete/tools/edit_area_popup.php
and then do the same thing on these files
/root/concrete/blocks/form/tools/services.php, lines 7 and 9.
/root/concrete/blocks/page_list/tools/rss.php, line 7.
/root/concrete/elements/block_area_groups.php, line 27.
/root/concrete/startup/process.php, lines 115, 141, 180, 208, 225, 239, 271, 507.
/root/concrete/tools/edit_area_popup.php, line 4.
/root/concrete/tools/layout_services.php, line 5.
Might also need to change most occurrences of $_REQUEST['arHandle'] as well. There are around 15 of these.
/root/concrete/controllers/dashboard/scrapbook/controller.php, line 66.
/root/concrete/startup/process.php, lines 50, 60, 72, 161, 483, 570.
/root/concrete/tools/add_block_popup.php, line 8.
/root/concrete/tools/dashboard/scrapbook_services.php, line 17.
/root/concrete/tools/edit_area_scrapbook_refresh.php, line 13.
/root/concrete/tools/edit_block_popup.php, line 16.
/root/concrete/tools/marketplace/refresh_block.php, line 25.
/root/concrete/tools/pile_manager.php, lines 26, 109, 126.
Thanks, but I think I'll wait till the fix is released..
Take this code
$a = Area::get($c,$_GET['arHandle']);
$a = Area::get($c, urldecode($_GET['arHandle']));
on line 4 of /root/concrete/tools/edit_area_popup.php
and then do the same thing on these files
/root/concrete/blocks/form/tools/services.php, lines 7 and 9.
/root/concrete/blocks/page_list/tools/rss.php, line 7.
/root/concrete/elements/block_area_groups.php, line 27.
/root/concrete/startup/process.php, lines 115, 141, 180, 208, 225, 239, 271, 507.
/root/concrete/tools/edit_area_popup.php, line 4.
/root/concrete/tools/layout_services.php, line 5.
Might also need to change most occurrences of $_REQUEST['arHandle'] as well. There are around 15 of these.
/root/concrete/controllers/dashboard/scrapbook/controller.php, line 66.
/root/concrete/startup/process.php, lines 50, 60, 72, 161, 483, 570.
/root/concrete/tools/add_block_popup.php, line 8.
/root/concrete/tools/dashboard/scrapbook_services.php, line 17.
/root/concrete/tools/edit_area_scrapbook_refresh.php, line 13.
/root/concrete/tools/edit_block_popup.php, line 16.
/root/concrete/tools/marketplace/refresh_block.php, line 25.
/root/concrete/tools/pile_manager.php, lines 26, 109, 126.
Thanks, but I think I'll wait till the fix is released..
http://www.concrete5.org/community/forums/usage/fatal-error-in-new-...
See another discussion here...
http://www.concrete5.org/community/forums/customizing_c5/design-err...
-Steve