upgraded to 5.5.2.1 - fatal dashboard error line 60
Permalink
In the "old" dashboard, there was a message that "The latest version of concrete5 is 5.5.2.1. You are running 5.4.2.2. Update Now!" I backed up my site and then clicked to update.
A few minutes later, my site would not display at all. My Internet Hosting company told me to restore the domain configuration, content, and database. I did.
Now the site displays, and I can login to edit, but I cannot go to the dashboard. Here is the message:
The code in line 60 is:
I've tried to login through chrome and IE and get the same error. I've cleared browser cache both through the tools and <ctrl>5 - several times.
Thank you to anyone who can help.
A few minutes later, my site would not display at all. My Internet Hosting company told me to restore the domain configuration, content, and database. I did.
Now the site displays, and I can login to edit, but I cannot go to the dashboard. Here is the message:
Fatal error: Call to undefined method ConcreteDashboardHelper::getDashboardBackgroundImage() in /var/www/vhosts/FPofWestFlorida.org/httpdocs/concrete/themes/dashboard/elements/header.php on line 60
The code in line 60 is:
$backgroundImage = Loader::helper('concrete/dashboard')->getDashboardBackgroundImage();
I've tried to login through chrome and IE and get the same error. I've cleared browser cache both through the tools and <ctrl>5 - several times.
Thank you to anyone who can help.
This line of code belongs to concrete5 higher than 5.4. I guess you've missed something. Maybe your hosting company only restored the database but not the files?
Thank you for your reply.
My hosting company did a manual install and a force install, but no good. They said that usually works. But the site wouldn't come up at all after that. So I restored the backup, but they said the core is still caught between two versions. They can't fix it.
We've all spent too many hours trying to make this work. Tomorrow they are going to scrub the site, install the latest version, and I'll start over.
What was I thinking by clicking the "simple" updte button?!
My hosting company did a manual install and a force install, but no good. They said that usually works. But the site wouldn't come up at all after that. So I restored the backup, but they said the core is still caught between two versions. They can't fix it.
We've all spent too many hours trying to make this work. Tomorrow they are going to scrub the site, install the latest version, and I'll start over.
What was I thinking by clicking the "simple" updte button?!
You should be able to revert back to your previous version. In the /config/site.php file you most likely have a setting indicating the version of c5 you are using.
Something like:
If you change that back to the version you were using (should exist in the updates folder) or if you delete it it will go back to whatever version of concrete5 you have in the /concrete/ directory of your site. If you need additional assistance shoot me a PM and i'd be happy to take a look at this with you.
EDIT: These steps are in ADDITION to doing a database restore.
Something like:
define('DIRNAME_APP_UPDATED', 'concrete5.5.2.1');
If you change that back to the version you were using (should exist in the updates folder) or if you delete it it will go back to whatever version of concrete5 you have in the /concrete/ directory of your site. If you need additional assistance shoot me a PM and i'd be happy to take a look at this with you.
EDIT: These steps are in ADDITION to doing a database restore.