We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello. The issue is quite strange.
On a Ubuntu 22.04 hosted on google, this code: $file = $pdf->generatePdf(view('contratto.output', [ 'contratto' => $contratto, 'allegati' => $allegati, 'preventivo' => $preventivo, 'documento_fronte' => $documento_fronte, 'documento_retro' => $documento_retro, 'cf_fronte' => $cf_fronte, 'cf_retro' => $cf_retro, 'prodotti' => $prodotti, 'cliente' => $cliente, 'isPDF' => true, ])); works fine and generate a pdf with styles (bootstrap5 from metronic admin theme).
$file = $pdf->generatePdf(view('contratto.output', [ 'contratto' => $contratto, 'allegati' => $allegati, 'preventivo' => $preventivo, 'documento_fronte' => $documento_fronte, 'documento_retro' => $documento_retro, 'cf_fronte' => $cf_fronte, 'cf_retro' => $cf_retro, 'prodotti' => $prodotti, 'cliente' => $cliente, 'isPDF' => true, ]));
On a different hosted machine, same code (both update with git pull from my git repo), the pdf generated is completely without any style.
It seems that in the second case, it can't reach the external css file but this is quite absurd.
Is there any way to debug the process of creating the pdf in order to understand what's happening when loading the view?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello. The issue is quite strange.
On a Ubuntu 22.04 hosted on google, this code:
$file = $pdf->generatePdf(view('contratto.output', [ 'contratto' => $contratto, 'allegati' => $allegati, 'preventivo' => $preventivo, 'documento_fronte' => $documento_fronte, 'documento_retro' => $documento_retro, 'cf_fronte' => $cf_fronte, 'cf_retro' => $cf_retro, 'prodotti' => $prodotti, 'cliente' => $cliente, 'isPDF' => true, ]));
works fine and generate a pdf with styles (bootstrap5 from metronic admin theme).
On a different hosted machine, same code (both update with git pull from my git repo), the pdf generated is completely without any style.
It seems that in the second case, it can't reach the external css file but this is quite absurd.
Is there any way to debug the process of creating the pdf in order to understand what's happening when loading the view?
The text was updated successfully, but these errors were encountered: