We were in the process of upgrading a client’s site (in local git) and ran into an issue. We have resolved it, but thought it might be a good thing to report.
All of the files were copied from system/ themes/ and images/ to the current project. Visiting the control panel brings up the usual upgrade message. We were able to click through all the way to the license agreement. Selecting submit from there led to the following error:
Unable to locate the model you have specified: agedata
Agedata is a model for a specific module/extension created for this project implementing an age gate on the site’s root address. We tried changing
require_once(dirname(__FILE__).'/models/agedata.php'); $this->agedata = new Agedata();
This led to being able to see more informative php errrors, which pointed to not being able to find CI_model. So we also changed the agedata model to not extend CI_model.
This finally worked in allowing the installer to finish. After removing the installer, the control panel worked perfectly fine, but the site itself complained of not being able to find certain properties in agedata, so we had to revert both of the above changes to restore the site.
This seems like an issue with the updater itself. Not sure why the updater was even invoking that add on as it is in the site’s index template.