Project

General

Profile

Actions

Bug #101778

closed

Configuration Presets open_basedir

Added by Stephan Bauer about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-08-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After clicking at 'Settings -> Configuration Presets -> Choose Preset' this error occors:

PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/gm) is not within the allowed path(s): 
(/var/www/vhosts/xxx/:/tmp/:/var/lib/php/sessions) in 
/var/www/vhosts/xxx/httpdocs/typo3-12/typo3_src-12.4.5/typo3/sysext/install/Classes/Configuration/Image/GraphicsMagickPreset.php line 78

After surpressing this error with an '@' I'm getting this error:

PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/identify) is not within the allowed path(s): 
(/var/www/vhosts/xxx/:/tmp/:/var/lib/php/sessions) in 
/var/www/vhosts/xxx/httpdocs/typo3-12/typo3_src-12.4.5/typo3/sysext/install/Classes/Configuration/Image/ImageMagick6Preset.php line 81

After surpressing this error with an '@' also I'm getting only a spinner.


Related issues 3 (2 open1 closed)

Related to TYPO3 Core - Bug #101921: open_basedir restriction in effect. File(/typo3/sysext/form/Resources/Public/Css/form.css) is not within the allowedClosed2023-09-14

Actions
Related to TYPO3 Core - Bug #100021: Incorrect path because of absolutely reference file(s) in typo3/cms-dashboard plus it causes open_basedir warningsNew2023-02-23

Actions
Has duplicate TYPO3 Core - Bug #102736: Install Tool Configuration Presets broken for image handling settings with debug mode enabledAcceptedStefan Bürk2024-01-01

Actions
Actions #1

Updated by Garvin Hicking 11 months ago

  • Related to Bug #101921: open_basedir restriction in effect. File(/typo3/sysext/form/Resources/Public/Css/form.css) is not within the allowed added
Actions #2

Updated by Gerrit Code Review 11 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81474

Actions #3

Updated by Garvin Hicking 6 months ago

  • Has duplicate Bug #102736: Install Tool Configuration Presets broken for image handling settings with debug mode enabled added
Actions #4

Updated by Reiner Kempkes 5 months ago

I am able to reproduce this issue using TYPO3 v12.4.14 running within an php 8.3 alpine linux docker container with defined open_basedir restriction.

Actions #5

Updated by Garvin Hicking about 2 months ago

  • Related to Bug #100021: Incorrect path because of absolutely reference file(s) in typo3/cms-dashboard plus it causes open_basedir warnings added
Actions #6

Updated by Martin Weymayer about 2 months ago

  • Priority changed from Should have to Must have

PHP Warning still in 12.4.17 - after 11 month it is annoying:

Core: Error handler (BE): PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/identify) is not within the allowed path(s): (/var/www/vhosts/xxx/:/tmp/) in /var/www/vhosts/xxxhttpdocs/xxx/vendor/typo3/cms-install/Classes/Configuration/Image/ImageMagick6Preset.php line 81     
Core: Error handler (BE): PHP Warning: file_exists(): open_basedir restriction in effect. File(/opt/bin/gm) is not within the allowed path(s): (/var/www/vhosts/xxx/:/tmp/) in /var/www/vhosts/xxx/httpdocs/xxx/vendor/typo3/cms-install/Classes/Configuration/Image/GraphicsMagickPreset.php line 77 

Actions #7

Updated by Garvin Hicking about 2 months ago

  • Status changed from Under Review to Closed

I am closing this issue in favor of #102736 because there someone might take over

Actions

Also available in: Atom PDF