Upgrading from 188.8.131.52 to 184.108.40.206
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 220.127.116.11 to a 18.104.22.168 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/concrete22.214.171.124/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 126.96.36.199 (which then has the new upgrade mechanism), then 5.5.2, then 188.8.131.52.
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 184.108.40.206. I'll try switching the theme once I get the staging site up.
Thanks for any tips! :)
Remove any updates after 220.127.116.11 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 18.104.22.168 and then to 22.214.171.124
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 126.96.36.199. :-S
Thanks guys for your tips! Really appreciated it.