Hi folks,
I was hoping migrating our Drupal 7 to Backdrop would be an easy task for once but I'm faced with dealing with errors which don't seem to have a readily available solution so I'm hoping someone here can help.
First of all, my setup is a docker based development environment where I have a local copy of our Drupal 7 website. The setup runs on a php-fpm platform with the database located in its own container, all normally working as expected. Since it's docker, the base image runs from a debian-based image (so no SELinux to worry about at least in that setup). PHP version is 8.2, web server is Nginx. If I've omitted other details to help troubleshoot this, please let me know.
So on to my problem. I've followed the migration guide as closely as I could and got to the point of installing all the modules on the freshly installed Backdrop instance. I managed to run https://localhost:xxxx/core/update.php (where localhost:xxxx is my local instance of Backdrop running on a dedicated port number) and at first it complained about some missing modules for dependency which I eventually resolved. Only now that those are resolved, I'm being served a 500 error. Looking at my logs on the docker container, I see that it's throwing the error:
PHP Fatal error: Uncaught Error: Call to undefined function _system_rebuild_theme_data() in /path/to/backdrop/core/includes/theme.inc:822
I can confirm the _system_rebuild_theme_data()
function exists in /path/to/backdrop/core/modules/system/system.module
so why it thinks it's an undefined function I'm not sure. I haven't seen anything that suggested changing permissions in any way in the migration guide but it's possible I missed it somehow.
I should point out that our original theme is Zeropoint, which hasn't been ported to Backdrop. However I did revert it back to Bartik as instructed and unless the issue is there is no theme at all that comes with Backdrop, I would have expected that theme to load up.
I also seem to have issues with the config folders defined in settings.php but I'm hoping the two issues are related. Any help would be greatly appreciated as if I'm able to mostly transfer our Drupal 7 site over to Backdrop that would save me a lot of time.
Cheers
I'm pleased you've found it. I think it would be helpful if you could raise an issue there.
https://github.com/backdrop-contrib/css_injector/issues