I am having problems updating my sites. I keep getting an invalid archive error message when trying to decode the zip files. The host company states that the PHP zip decoding function IS enabled. Looking at past forum posts it is suggested that the caches need to be cleared via update.php. I haave tried running this as say mywedsite.com/update.php but this sometimes resolvs to a error page and other times it just crashes the site. Well one of my sites as I have a multi site installation. Is there some way to clear these caches other than running update.php? I seem to remember a clear all caches command was availiable in Drupal 7. I am also considering manually copying the latest Backdrop versiion directly to my web host. Would that do it or would i have to completely reinstall all(4) of my sites ?
Comments
OK so looking a the results of running update.ph[ it calls for a specific version of PHP. My host company is providing a 8+ version of PHP. One now wonders if therre is a general limit on PHP version.
I finally found the PHP controle in my CPANEL and Reset the PHP to vwersion 7.3. Using this version I was able to clear the update caches but I am still unable to run update instite of the site stating that the update cache was cleared. So something else must be going on. Can anyone give me an idea on what to try next? Maybe manually overwriting the core files?
- In Backdrop CMS the update.php file located in the /core folder (mydomain.com/core/update.php).
- For launch the update.php from address bar of the browser, without restrictions, you need to change the value of the variable $settings['update_free_access'] in the /settings.php file (read the description in the file).
- To update the CMS core, it is enough to replace the /core folder with a new version (be sure to make a backup!).
(I always use PHP 7.4 to avoid any problems.
When I tried to use PHP 8, I had an error at the module installation page (/admin/modules/install). At a minimum, not want to check further.)