Problems with upgrading
Permalink
I tried to upgrade my version (5.6.1.2) of concrete5 to the latest version (5.6.3.1). (Note I first got this problem trying to upgrade to 5.6.2.1 or at least I think that was the number)
But when I did it gave me an error message:
Fatal error: Class Job contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Concrete5_Model_Job::run, Concrete5_Model_Job::getJobName, Concrete5_Model_Job::getJobDescription) in /home1/savager2/public_html/savageriver/models/job.php on line 5
When I went back to the upgrade page (under System & Settings) it says I am running the latest update 5.6.1.2. Which is the same version that I started with before I updated.
The only time that I get told otherwise is when I first log on to the site. On the welcome screen it says:
You have downloaded a new version of concrete5 but have not upgraded to it yet. Update concrete5.
So I click on the link to upgrade and then click the upgrade button on the upgrade page and then get the same error as before.
Also this error show up at the bottom of all my pages:
Fatal error: Class Job contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Concrete5_Model_Job::run, Concrete5_Model_Job::getJobName, Concrete5_Model_Job::getJobDescription) in /home1/savager2/public_html/savageriver/models/job.php on line 5
Please help! I have been trying to get this fix for a couple month now and Have no idea where to even look to fix this.
But when I did it gave me an error message:
Fatal error: Class Job contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Concrete5_Model_Job::run, Concrete5_Model_Job::getJobName, Concrete5_Model_Job::getJobDescription) in /home1/savager2/public_html/savageriver/models/job.php on line 5
When I went back to the upgrade page (under System & Settings) it says I am running the latest update 5.6.1.2. Which is the same version that I started with before I updated.
The only time that I get told otherwise is when I first log on to the site. On the welcome screen it says:
You have downloaded a new version of concrete5 but have not upgraded to it yet. Update concrete5.
So I click on the link to upgrade and then click the upgrade button on the upgrade page and then get the same error as before.
Also this error show up at the bottom of all my pages:
Fatal error: Class Job contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Concrete5_Model_Job::run, Concrete5_Model_Job::getJobName, Concrete5_Model_Job::getJobDescription) in /home1/savager2/public_html/savageriver/models/job.php on line 5
Please help! I have been trying to get this fix for a couple month now and Have no idea where to even look to fix this.
Ok I deleted the jobs.php file from the root/models folder. I now have this error at the bottom my site
Warning: require_once(/home1/savager2/public_html/savageriver/models/job.php): failed to open stream: No such file or directory in /home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48
Fatal error: require_once(): Failed opening required '/home1/savager2/public_html/savageriver/models/job.php' (include_path='/home1/savager2/public_html/savageriver/libraries/3rdparty:/home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48
I downloaded the jobs.php file before deleting it. So I still have it if it is needed.
Warning: require_once(/home1/savager2/public_html/savageriver/models/job.php): failed to open stream: No such file or directory in /home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48
Fatal error: require_once(): Failed opening required '/home1/savager2/public_html/savageriver/models/job.php' (include_path='/home1/savager2/public_html/savageriver/libraries/3rdparty:/home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/savager2/public_html/savageriver/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48
I downloaded the jobs.php file before deleting it. So I still have it if it is needed.
Root overrides are recorded in the overrides cache. Your error should disappear when the the overrides cache is cleared.
While upgrading, its generally a good idea to disable and clear all caches.
While upgrading, its generally a good idea to disable and clear all caches.
Ok the error is now gone. But the update screen still says that I am running the latest version (5.6.1.2). When I click the check for upgrades it says there isn't any.
So try removing the jobs.php file from root/models/ folder and see if that cures your problem..