Upgrading from 22.214.171.124 to 126.96.36.199
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 188.8.131.52 to a 184.108.40.206 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/concrete220.127.116.11/concrete/dispatcher.php on line 166
Now I know how to roll it back, but how do I overcome this error?
Try a clone of the site on a development system. Upgrade to 18.104.22.168 (which then has the new upgrade mechanism), then 5.5.2, then 22.214.171.124.
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.
I was trying to do a step upgrade sadly. I got that error at 126.96.36.199. I'll try switching the theme once I get the staging site up.
Thanks for any tips! :)
Remove any updates after 188.8.131.52 in the folder 'upates', accordingly remove any lines like
<?php define('DIRNAME_APP_UPDATED', 'concrete5.x');?>
Try again with a fresh 5.4.2-update (just very next update), if it is working go on like JohntheFish was advising...
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 184.108.40.206 and then to 220.127.116.11
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 18.104.22.168. :-S
Thanks guys for your tips! Really appreciated it.