Adding advanced permissions takes site back to version 5.4.1
Permalink
Guys,
Dont know if anybody has seen this but I added the advanced permissions line to my site.php file, uploaded and found my site is now at version 5.4.1 again!! clicking on the upgrade link gets a 404.
Anybody seen this and does anybody know ho I can get back to version 5.5!
Ian
Dont know if anybody has seen this but I added the advanced permissions line to my site.php file, uploaded and found my site is now at version 5.4.1 again!! clicking on the upgrade link gets a 404.
Anybody seen this and does anybody know ho I can get back to version 5.5!
Ian
Looks like we both posted at the same time. If this turns out to be the answer, please mark Mesuva's answer as he posted first.
It looks like we did. We're both awesome.
Thank you Sir!
When you ran an upgrade of C5, the upgrade process added a line to the end of your site.php file with the c5 version in it.
By editing an offline copy of site.php and uploading, you may have lost that line and C5 does not know to get the core from the relevant update.
You will as a consequence have also lost some functionality (like your 404 error), particularly in the dashboard. Any editing of your site could leave it in an awkward state because some content will be old version and some new version.
If this is the case, you will need to repair the missing last line of site.php. It will be something like:
The exact format depending on your current version.
By editing an offline copy of site.php and uploading, you may have lost that line and C5 does not know to get the core from the relevant update.
You will as a consequence have also lost some functionality (like your 404 error), particularly in the dashboard. Any editing of your site could leave it in an awkward state because some content will be old version and some new version.
If this is the case, you will need to repair the missing last line of site.php. It will be something like:
?><?php define('DIRNAME_APP_UPDATED', 'concrete5.5.2.1');?>
The exact format depending on your current version.
Thanks John - that got me back to the latest version.
If you think this might have been the case, you can check your updates folder to see what version you got up to, then add back in the line:
(obviously change the version number in the example to last version you upgraded to)