You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue when trying to use the extension plugin to generate a PDF of TYPO3 page containing a tx_news detail plugin. I've included the web2pdf plugin below the tx_news plugin expecting to be able to download a PDF version of the page when I click the "Print Current Page" link provided by web2pdf, yet I encounter a 404 "ERR_INVALID_RESPONSE" page.
I've tried to track the error through xdebug and the pdf file is generated and seems to be read by the middleware which returns a response object with response code 200 all the way to the TYPO3 bootstrapper.
Expected behaviour:
Clicking the plugin link returns a file stream with content-disposition header telling the browser to download the stream as a file.
Observed behaviour:
A 404 error is returned with error const "ERR_INVALID_RESPONSE" being shown in the browser window.
Steps to reproduce:
set up a TYPO3 10.4 installation via composer (e.g. TYPO3 composer helper)
I had the same problem when inserting the link on a record detail view. I solved it by adding addQueryStringMethod="GET" into the f:link.action in the GeneratePdfLink.html
Right now I had solved my problem by using the news view helper. <n:link newsItem="{newsItem}" settings="{settings}" class="c-button" configuration="{additionalParams: '&tx_web2pdf_pi1[argument]=printPage'}">
I ran into an issue when trying to use the extension plugin to generate a PDF of TYPO3 page containing a tx_news detail plugin. I've included the web2pdf plugin below the tx_news plugin expecting to be able to download a PDF version of the page when I click the "Print Current Page" link provided by web2pdf, yet I encounter a 404 "ERR_INVALID_RESPONSE" page.
I've tried to track the error through xdebug and the pdf file is generated and seems to be read by the middleware which returns a response object with response code 200 all the way to the TYPO3 bootstrapper.
Expected behaviour:
Clicking the plugin link returns a file stream with content-disposition header telling the browser to download the stream as a file.
Observed behaviour:
A 404 error is returned with error const "ERR_INVALID_RESPONSE" being shown in the browser window.
Steps to reproduce:
Environment:
DDEV 1.16.2
PHP 7.4
MySQL 5.7
Apache 2.4.38
TYPO3 10.4.13
The text was updated successfully, but these errors were encountered: