Create subtheme doesn't work with open_basedir restriction

Created on 1 January 2024, 6 months ago
Updated 16 March 2024, 3 months ago

Problem/Motivation

I use the open_basedir restriction and when trying to create a subtheme I obtain the error:
'The website encountered an unexpected error. Please try again later.'

Steps to reproduce

1. Enable open_basedir in your php.ini file, e.g.: open_basedir = /var/www
2. Try to create a subtheme from the bootstrap5 settings page
3. The above error appears

Proposed resolution

- Wait for https://www.drupal.org/project/drupal/issues/2799635 πŸ› FileSystem::mkdir should handle open_basedir correctly Needs work to be fixed
- As a workaround disable open_basedir while creating themes

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom egfrith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @egfrith
  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡¦πŸ‡ΊAustralia VladimirAus Brisbane, Australia

    Doesn't look like it is theme related, rather environment issue.

Production build 0.69.0 2024