Fatal Error on Edit Mode Click
Permalink
The theme I'm using is compatible with c5.5.
However, when I click "Edit" on any page the dashboard disappears, the main content disappears (except the header), and I see the following fatal error on the index.php:
I went to line 11 of that block_area_header file and compared it to a fresh copy of concrete5.5.2.1. The line 11 on both is the same and there were no major changes:
Next, I looked into the default.php to see this line of code when it's not live and this is what it shows:
Not sure how else to narrow down the problem..
Please help.
Thanks,
Keith
However, when I click "Edit" on any page the dashboard disappears, the main content disappears (except the header), and I see the following fatal error on the index.php:
<div id="container"> <div id="content"> <div id="a1100" cID="173" handle="Main" class="ccm-<br /> <b>Fatal error</b>: Call to undefined method Area::isGlobalArea() in <b>public_html/updates/concrete5.5.2.1/concrete/elements/block_area_header.php</b> on line <b>11</b><br />
I went to line 11 of that block_area_header file and compared it to a fresh copy of concrete5.5.2.1. The line 11 on both is the same and there were no major changes:
Next, I looked into the default.php to see this line of code when it's not live and this is what it shows:
<div id="container"> <div id="content"> <?php $a = new Area('Main'); $a->display($c); ?> </div>
Not sure how else to narrow down the problem..
Please help.
Thanks,
Keith
Try replacing line 11 of the root/updates/concrete5.5.2.1/concrete/elements/block_area_header.php with this code.
I get the same error:
Am I missing something?
<div id="container"> <div id="content"> <!--<div id="a1100" cID="173" handle="Main" class="ccm-<br /> <b>Fatal error</b>: Call to undefined method Area::isGlobalArea() in <b>/public_html/updates/concrete5.5.2.1/concrete/elements/block_area_header.php</b> on line <b>11</b><br />
Am I missing something?
and yes, I cleared my cache after the change :)
Strange,
If you pasted the entire code block into line 11, I would have expected the error to be shown on line 12?
If you pasted the entire code block into line 11, I would have expected the error to be shown on line 12?
Taking that, I deleted the commented out section you gave above which moved your new code to line 11.
Even with this, the error on line 11 came up again..
Even with this, the error on line 11 came up again..
If you change to one of the built in themes (greensalad for instance)
does the problem persist?
Did you recently upgrade to 5.5.2.1 and if so did you use the auto update facility or did you update manually?
does the problem persist?
Did you recently upgrade to 5.5.2.1 and if so did you use the auto update facility or did you update manually?
The problem does not persist with another theme.
Yes, I upgraded from 5.4.2.2 using the update feature in c5's dashboard.
Now because of this editing problem where the dashboard disappears, I need to manually downgrade to 5.4.2.2 to edit pages.
Now, I'm trying to narrow down the causes of this issue...
Yes, I upgraded from 5.4.2.2 using the update feature in c5's dashboard.
Now because of this editing problem where the dashboard disappears, I need to manually downgrade to 5.4.2.2 to edit pages.
Now, I'm trying to narrow down the causes of this issue...
There have been problems with auto update recently due to server time outs so I would advice against using it, instead do this,
download the latest package from this website (currently 5.5.2.1),
unzip the package and ftp it into the root/updates/ folder,
then run this file from your browser,
http://www.yoursite.com/index.php/tools/required/upgrade?force=1...
make sure you backup your database before updating just in case..
download the latest package from this website (currently 5.5.2.1),
unzip the package and ftp it into the root/updates/ folder,
then run this file from your browser,
http://www.yoursite.com/index.php/tools/required/upgrade?force=1...
make sure you backup your database before updating just in case..
Downloaded, unzipped, uploaded, backed up DB, and forced the upgrade.
Same error on line 11.
I'm thinking it's a theme problem at this point, but the only thing in the theme that's in that place of the error is:
Same error on line 11.
I'm thinking it's a theme problem at this point, but the only thing in the theme that's in that place of the error is:
<div id="container"> <div id="content"> <?php $a = new Area('Main'); $a->display($c); ?> </div>
I've figured out a temporary work around.
I built this website on the 5.4 core.
So what I found was that Fatal Error was caused because of a Global Area. The theme innovation does not have Global Areas (the 5.4 version) therefore in order to get the theme to work hand-in-hand with the new 5.5 core. I did the following:
1) Download the 5.4.2.2 package
2) rename original 5.5 concrete/elements "block_area_header", "block_area_footer", and "block_controls" so i keep the original copy
3) upload the 5.4.2.2 versions of "block_area_header", "block_area_footer", and "block_controls"
Of course, any new updates to c5, I'd have to keep doing this but in the meantime, I can now edit pages on the c5 5.5 core.
:)
weyboat, I really appreciate the help nonetheless!
Thanks,
Keith
I built this website on the 5.4 core.
So what I found was that Fatal Error was caused because of a Global Area. The theme innovation does not have Global Areas (the 5.4 version) therefore in order to get the theme to work hand-in-hand with the new 5.5 core. I did the following:
1) Download the 5.4.2.2 package
2) rename original 5.5 concrete/elements "block_area_header", "block_area_footer", and "block_controls" so i keep the original copy
3) upload the 5.4.2.2 versions of "block_area_header", "block_area_footer", and "block_controls"
Of course, any new updates to c5, I'd have to keep doing this but in the meantime, I can now edit pages on the c5 5.5 core.
:)
weyboat, I really appreciate the help nonetheless!
Thanks,
Keith
I spent many hours trying to figure out why a site (that has had several iterations up to 5.4.4.2) when I upgraded 5.5.2.1 stopped when I tried to edit a page and checking the server error log it was an error with a global area.
After many changes and alterations I found that the actual problem was a legacy file left by an old version of Concrete5 in the models directory named area.php
Once deleted all was fine.
After many changes and alterations I found that the actual problem was a legacy file left by an old version of Concrete5 in the models directory named area.php
Once deleted all was fine.