Trouble with fpdf [solved]

apps

#1

Hi,

I’m using fpdf to generate some pdf’s required in my application.
Its working perfectly fine on my local system, but on dreamhost I keep getting the dreaded 500 Internal Server Error, and on error.log it says ‘premature end of script headers’.

Anyone having experienced this before?
A quick heads up will be appreciated!


#2

If you are doing this under shared hosting, the process may be getting killed before it can finish.


#3

Sorry for the trouble!

The issue is actually with an email which is being sent before the pdf generation.
When I disable the email, the pdf gets generated, though it does take a while to generate.

Thanks Sean for the help anyways.
Moderators, please delete this if needed.