mittwald / typo3-web2pdf

A TYPO3 extension for rendering content as PDF
GNU General Public License v2.0
18 stars 20 forks source link

fcgi:error / 500 after 8.7.17 Core Update - TYPO3-CORE-SA-2018-002 #95

Closed hhchrizzo closed 6 years ago

hhchrizzo commented 6 years ago

My website ends up in 500 Internal Server Errors after upgrading from TYPO3 8.7.16 to TYPO3 8.7.17 Hours later i figured out that there went something wrong with the web2pdf Exenstion. If i disable the Extension the CMS works as well.

I think the problems comes with TYPO3-CORE-SA-2018-002 and the usage of .phar files. If i move or delete typo3conf/ext/web2pdf/Libraries/mpdf.phar the Backend works again. If i set the phars accessrights e.g. to '110' the Backend works too but with the Warning: PHP Warning Core: Error handler (BE): PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/xxx/typo3conf/ext/web2pdf/Libraries/mpdf.phar/vendor/autoload.php) is not within the allowed path(s): (/var/www/vhosts/xxx/:/tmp/) i

TYPO3 Version: 8.7.17 Webserver: Apache PHP Version: 7.1.19 Database (Default): MySQL 5.5.56 Application Context: Production Composer mode: Enabled Operating System : Linux 3.10.0-693.17.1.el7.x86_64

hhchrizzo commented 6 years ago

Maybe related to: https://forge.typo3.org/issues/85547 With this patch the PHP Warning won't show up anymore, but i still get the 500 Apache Error.

pstranghoener commented 6 years ago

Is fixed with TYPO3 Version 8.7.18