Support the ongoing development of Laravel.io →
Octane
Last updated 3 months ago.
0

Here's what happened: we're using FPDi, but not only to do some magic with our PDFs. It comes with built-in support to display inline PDFs and downloads. We're using that. Or in fact, we were using that. As we changed it.

FPDi uses plain PHP and headers for it. Apparently, Octane doesn't like that. Octane catches the request and passes it on to whatever server you're using (Swoole or RoadRunner). This needs to be a Response object. It wasn't.

So, problem solved!

0

Sign in to participate in this thread!

LoadForge

Your banner here too?

ju5t ju5t ju5t Joined 11 May 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.