-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 Internal Server Error #335
Comments
From fabien.menager on July 31, 2011 13:36:59 |
From binarys...@gmail.com on July 31, 2011 13:56:11 |
From eclecticgeek on August 02, 2011 01:52:48 At any rate it could, in fact, be something related to DOMPDF, but we wouldn't be able to tell without more details. Can you provide a sample document? |
From joshua.f...@gmail.com on November 07, 2011 22:12:37 I attempted changing the script type text/php to text/dompdf as mentioned in similar report, but that didn't help the situation. Here's the output from setup.php, and I've attached a sample of the HTML that's giving me trouble: PHP Version 5.0 5.2.17 |
From joshua.f...@gmail.com on November 07, 2011 22:14:35 |
From eclecticgeek on November 08, 2011 01:54:06 That being said, it sounds like you're probably running into memory issues. The easiest fix is to increase the PHP memory limit. If that's not possible, you could try modifying your HTML to use fewer tables (dompdf is still in need of quite a bit of optimization related to table rendering). FYI, I was able to render your document without any issues. |
From joshua.f...@gmail.com on November 08, 2011 23:08:32 Green Geeks is ridiculously stingy with resource usage--they'll limit your limits and not be able to tell you when or why or how you exceeded them. Anyway, in the script, I upped the PHP memory_limit to 128M, and it rendered without a 500 error. So now I begin the resource limit dance with the host. |
From eclecticgeek on November 09, 2011 19:36:17 |
From gopal.sa...@bminfotech.in on March 02, 2012 06:39:41 Please help me. Thanks |
From eclecticgeek on March 03, 2012 03:39:02 |
From rashid...@gmail.com on March 13, 2012 21:38:41 ini_set("memory_limit", "999M"); Do this before you instantiate the class, $dompdf = new DOMPDF(); Sorry for my English! |
Original author: binarys...@gmail.com (July 29, 2011 21:32:55)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
500 Internal Server Error
What version of the product are you using? On what operating system?
PHP 5.2.14 on Godaddy Linux Shared Hosting. I have set
ini_set("memory_limit","512M");
Please provide any additional information below.
I am using PHP 5.2.14 on godaddy and it seems that there is a big issue with dompdf.
It generates one page pdf. But when we try to generate multipage pdf it show 500 internal server error. This happens when render function is called. I don't think it's an issue of PHP but for dompdf library itself. It even don't make a log when this error occurs.
Original issue: http://code.google.com/p/dompdf/issues/detail?id=329
The text was updated successfully, but these errors were encountered: