#98545file_exists(): open_basedir restriction in effect
Description
Issue is related to https://forge.typo3.org/issues/98152
Issue was marked as resolved, but the issue still seems to exist (for at least 2 users)
- Open forms backend module
- Open protocol: “PHP Warning: file_exists(): open_basedir restriction in effect. File(/typo3/sysext/form/Resources/Public/Css/form.css) is not within the allowed path(s)”
see: https://github.com/TYPO3-CMS/form/blob/v11.5.16/Resources/Private/Backend/Layouts/FormManager.html#L2
FormManager.html was shipped with 11.5.16 but has been removed since then
Also happens in the backend module of EXT:formlog which integrates the CSS files like this:
https://github.com/pagemachine/typo3-formlog/blob/master/Resources/Private/Templates/Backend/FormLog/Index.html#L8
Tested with TYPO3 11.5.16 (+ EXT:forms 11.5.16) and PHP 8.0
Reviews 5
- main 81474[BUGFIX] File checks should honor open_basedir setting, IM presets
- main 82727[TASK] Remove unused resolveResourcePaths() in EXT:form
- 11.5 82617[BUGFIX] Do not resolve resource paths in EXT:form
- 12.4 82616[BUGFIX] Do not resolve resource paths in EXT:form
- main 82635[BUGFIX] Do not resolve resource paths in EXT:form
Related issues 4
- Bug #98152PHP Warning: file_exists(): open_basedir restriction in effect.
- Bug #98330PHP warning log with EXT-syntax using asset vh in BE
- Bug #101921open_basedir restriction in effect. File(/typo3/sysext/form/Resources/Public/Css/form.css) is not within the allowed
- Task #102999Remove obsolete method resolveResourcePaths() from EXT:form