I updated core one or two days ago and everything was working find until I tried adding a module. It keeps failing with the message:
Error installing Image Block. Error installing / updating. Error: File Transfer failed, reason: /xampp/htdocs/backdrop/modules is outside of the C:\xampp\htdocs\backdrop
The module file is there - I haven't moved anything around, and other than this, the site is working perfectly. Status report show no issues at all, and the the only error messages over the past few days are the ones related to installing a module. I've cleared caches and run database updates (nothing pending there). I updated core by simply deleting the old version and then copying over the new core folder. I went to the uninstall tab and had no problem removing an unused module there.
I found reference to a few similar errors from 2019, but nothing recent. Don't know what else to check.
Here's the full message (and I did try other modules with the same result):
- Failed to install one project.
- Error installing Image Block. Error installing / updating. Error: File Transfer failed, reason: /xampp/htdocs/backdrop/modules is outside of the C:\xampp\htdocs\backdrop
Fortunately, I was able to add the module manually with no issues, and could even update the database, but the installing through the interface still won't work.