Bug description
When inserting image in RTE, when saving content, we got a 503 error because of open_basedir restriction.
We are using Plesk default php settings with open_basedir set.
I don't know since when this problem exists, because it's on a website that is not so active. We updated it from TYPO 10 to 11 in may this year, and last update to 11.5.33 in november.
Steps to reproduce
To reproduce the problem:
Open content
Insert image
Validate "image properties" modale
Save content
Got 503 in TYPO3 backend
Screenshots or logs
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: is_file(): open_basedir restriction in effect. File(/fileadmin/user_upload/subdirectory/Image.jpg) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/) in /var/www/vhosts/domain.com/httpdocs/releases/20231116103330/public/typo3conf/ext/rte_ckeditor_image/Classes/Database/RteImagesDbHook.php line 141
Environment
TYPO3 version: 11.5.33
PHP version: 8.1.26
Extension version: 11.0.14
==> Potential fix ?
Change line 136 in rte_ckeditor_image/Classes/Database/RteImagesDbHook.php to
Bug description When inserting image in RTE, when saving content, we got a 503 error because of open_basedir restriction. We are using Plesk default php settings with open_basedir set. I don't know since when this problem exists, because it's on a website that is not so active. We updated it from TYPO 10 to 11 in may this year, and last update to 11.5.33 in november.
Steps to reproduce To reproduce the problem:
Screenshots or logs
Environment
Extension version: 11.0.14
==> Potential fix ? Change line 136 in rte_ckeditor_image/Classes/Database/RteImagesDbHook.php to
in order to get rid of the initial /