Open GoogleCodeExporter opened 9 years ago
A 500 error is a server error typically caused by the currently running script.
"500 Internal Server Error" is a generic message when no other information is
available. Enable error reporting or error logging and post back the error
reported by PHP.
Original comment by eclecticgeek
on 3 Mar 2012 at 3:41
Thank you for your replying, I will try.
Original comment by chanthor...@gmail.com
on 5 Mar 2012 at 3:00
This happens for the memory limit of server and the maximun execution time.
There's that increase these, for example:
ini_set("memory_limit", "999M");
ini_set("max_execution_time", "999");
Do this before you instantiate the class, $dompdf = new DOMPDF();
Sorry for my English!
Original comment by rashid...@gmail.com
on 13 Mar 2012 at 9:35
I had the same problem with DOMPDF 0.6.0 beta 3 on a server running php 5.2.17.
Moved all the code to a server running php 5.3.3 and the PDFs generated
successfully.
There were no error in the PHP or Apache logs. Just a 500 Internal Server error
whenever more than a couple images were included in the PDF. Increased
memory_limit and max_execution_time and still had 500 Internal Server error on
the php 5.2.17 server.
Original comment by cristina...@gmail.com
on 20 Jun 2012 at 11:37
@cristina.hanes 500 typically indicates some kind of code error, and if it's a
PHP script you're accessing then PHP should be returning an error. I have
occasionally seen PHP/Apache segfault, and in that case no errors are produced
(though I believe no 500 message is returned in that case). Could logging be
disabled? You can always try turning it on in script using
ini_set('display_errors',true). Any PHP errors should be returned instead of
the generic 500 response.
If you need further assistance please visit the support forum:
https://groups.google.com/forum/#!forum/dompdf
Original comment by eclecticgeek
on 21 Jun 2012 at 12:44
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
chanthor...@gmail.com
on 2 Mar 2012 at 4:21