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'm using pdf-invoice with Symfony, it works perfectly, no errors or anything, but when it comes to showing the generated PDF, "F", for writing it to disk, works perfectly no errors or anything.
But when it comes to just sending it to the browser, for example with destination "I", that I assume opens a new page with the PDF, it doesn't do anything and just go straight to the next step, which in my case redirects the user to the homepage... I'm guessing it is because it takes some time for php to generate the PDF but it should not execute this part of the code before going to the next no ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm using pdf-invoice with Symfony, it works perfectly, no errors or anything, but when it comes to showing the generated PDF, "F", for writing it to disk, works perfectly no errors or anything.
But when it comes to just sending it to the browser, for example with destination "I", that I assume opens a new page with the PDF, it doesn't do anything and just go straight to the next step, which in my case redirects the user to the homepage... I'm guessing it is because it takes some time for php to generate the PDF but it should not execute this part of the code before going to the next no ?
Here is my code :
Thank you very much !
Beta Was this translation helpful? Give feedback.
All reactions