Upgrading from 5.4.1.1 to 5.6.0.2
Permalink
Hey everyone!
I'm running into this time and time again and really what it comes down to is just starting with a fresh install but I'm hoping otherwise. I'm trying to update a Concrete5 site that's running off 5.4.1.1 to a 5.6.0.2 and I always get the same ol' error. Here's the error:
Now I know how to roll it back, but how do I overcome this error?
Thanks!!
I'm running into this time and time again and really what it comes down to is just starting with a fresh install but I'm hoping otherwise. I'm trying to update a Concrete5 site that's running off 5.4.1.1 to a 5.6.0.2 and I always get the same ol' error. Here's the error:
Fatal error: Call to undefined method Request::setCurrentPage() in /home/brick/public_html/updates/concrete5.4.2.2/concrete/dispatcher.php on line 166
Now I know how to roll it back, but how do I overcome this error?
Thanks!!
Hey JohntheFish!
I was trying to do a step upgrade sadly. I got that error at 5.4.2.2. I'll try switching the theme once I get the staging site up.
Thanks for any tips! :)
I was trying to do a step upgrade sadly. I got that error at 5.4.2.2. I'll try switching the theme once I get the staging site up.
Thanks for any tips! :)
First of all, did you back up your site + DB?
Remove any updates after 5.4.1.1 in the folder 'upates', accordingly remove any lines like
in 'sites.php'
Try again with a fresh 5.4.2-update (just very next update), if it is working go on like JohntheFish was advising...
Remove any updates after 5.4.1.1 in the folder 'upates', accordingly remove any lines like
<?php define('DIRNAME_APP_UPDATED', 'concrete5.x');?>
in 'sites.php'
Try again with a fresh 5.4.2-update (just very next update), if it is working go on like JohntheFish was advising...
Hey SuperNova!
Ohhh I know all too well how to roll them back. I've had several clients who have updated and shouldn't have. :)
Anywho, I think I might have got it. Here's what I did:
- Created a developing site. Put on fresh version of 5.4.2 and then put the theme back in.
- Upgraded to 5.5.2.1 and then to 5.6.0.2
The last two upgrades seemed to be just fine. It was just getting around whatever was causing the big error when I tried to upgrade the first time. Kind of wondering if anyone has had trouble going from 5.4.2 to 5.5.2.1. :-S
Thanks guys for your tips! Really appreciated it.
Ohhh I know all too well how to roll them back. I've had several clients who have updated and shouldn't have. :)
Anywho, I think I might have got it. Here's what I did:
- Created a developing site. Put on fresh version of 5.4.2 and then put the theme back in.
- Upgraded to 5.5.2.1 and then to 5.6.0.2
The last two upgrades seemed to be just fine. It was just getting around whatever was causing the big error when I tried to upgrade the first time. Kind of wondering if anyone has had trouble going from 5.4.2 to 5.5.2.1. :-S
Thanks guys for your tips! Really appreciated it.
There was a bug in the upgrader round about 5.4.2.something that didn't work in some environments and had to be manually patched. I think it was 5.4.2.1, but you would need to look back through the forums to be sure.
That would make sense. I've had horrible luck upgrading from that version. Figured it would be worth a try to figure out how to get around it. Thanks!
Try a clone of the site on a development system. Upgrade to 5.4.2.2 (which then has the new upgrade mechanism), then 5.5.2, then 5.6.0.2.
Probably also worth switching to the plain yogurt default theme while you are testing it, so that any theme/version issues don't confuse the process.