-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
PDF download freezes entire application #8
Comments
Is this just for this view or for all pdfs? Does this also happen for simple views? Like just one sentence without a lot of data. And is this everytime, first time it works, then no more? |
I found something similar in DOMPDF Faq page. Q: I'm getting the following error: So I experimented with my blade template I use to generate PDF and I found out, that the source of problem is the Twitter Bootstrap CSS. When removed it from html the problem disapeared ... its a different problem than nested tables as mentioned in FAQ, but definitely shows that some kind of html or CSS can cause such kind of problems ... |
Okay, so I guess the problem lies upstream then. I'll close this issue here. |
I have a quite simple report implemented with latest Laravel 4.0.8 under Apapche on windows (PHP 5.4.x). The first time I click on report link the download works fine. The second time I do it it simply freezes app and ends up with error message as below. I tried to restart apache/php stack but its the same.
The error I get is like this:
Symfony \ Component \ Debug \ Exception \ FatalErrorException
Maximum execution time of 30 seconds exceeded
open: C:\e-projects\laravel\gapps\vendor\symfony\http-foundation\Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy.php
My code is quite simple:
public function getPdfreport(){
$p=Project::find(Input::get("id"));
$c=Company::find($p->company_id);
$m=Milestone::where("project_id",$p->id)->orderBy("status")->with("manager")->get();
}
Any idea what causes such error?
The text was updated successfully, but these errors were encountered: