Bonjour,
Erreur lors de l'opération "Télécharger en pdf".
Ce problème se produit lors de toute tentative de télécharger en pdf.
La version de dompdf installée est la 1.0.2.
Ci-dessous, le log des erreurs.
Quelqu'un a-t-il rencontré le problème? un moyen de le résoudre?
Merci d'avance.
Marc
\__/
(xx)
//||\\
Une erreur s'est produite
PHP error
Warning: Illegal string offset 'hex'
in .../data/cache/dompdf/dompdf/src/Css/*Style.php*:/1381/
|*1377* { *1378* $color = $this->__get("border_" . $side .
"_color");
*1379* *1380* return $this->__get("border_" . $side . "_width") .
" " .
_*1381* $this->__get("border_" . $side . "_style") . " "
.
$color["hex"];_ *1382* } *1383* *1384* /**#@+ *1385* * Return full
border properties as a string |
in .../data/cache/dompdf/dompdf/src/Css/*Style.php*:/1420/
→ Dompdf\Css\Style->_get_border /(1 arg.)/
$side
string(4) "left"
|*1416* * @return mixed *1417* */ *1418* function get_border_left()
*1419* { _*1420* return $this->_get_border("left");_ *1421* } *1422*
*1423* private function _get_width($prop) *1424* { |
in .../data/cache/dompdf/dompdf/src/Css/*Style.php*:/967/
→ Dompdf\Css\Style->get_border_left /(0 arg.)/
|*963* self::$_methods_cache[$method] = method_exists($this, $method);
*964* } *965* *966* if (self::$_methods_cache[$method]) { _*967* $retval
= $this->_prop_cache[$prop] = $this->$method();_ *968* } *969* *970* if
(!isset($retval)) { *971* $retval = $this->_prop_cache[$prop] =
$this->_props_computed[$prop]; |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Inline.php*:/60/
→ Dompdf\Css\Style->__get /(1 arg.)/
$prop
string(11) "border_left"
|*56* if (($f = $frame->get_first_child()) && $f instanceof
TextFrameDecorator) { *57* $f_style = $f->get_style(); *58*
$f_style->margin_left = $style->margin_left; *59* $f_style->padding_left
= $style->padding_left; _*60* $f_style->border_left =
$style->border_left;_ *61* } *62* *63* if (($l =
$frame->get_last_child()) && $l instanceof TextFrameDecorator) { *64*
$l_style = $l->get_style(); |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Inline->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\TableCell) (32) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*TableCell.php*:/95/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\TableCell) (32) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*91* } *92* *93* $child->set_containing_block($content_x, $content_y,
$cb_w, $h); *94* $this->process_clear($child); _*95*
$child->reflow($this->_frame);_ *96* $this->process_float($child, $x +
$left_space, $w - $right_space - $left_space); *97* } *98* *99* //
Determine our height |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableCell->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*TableRow.php*:/52/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*48* return; *49* } *50* *51* $child->set_containing_block($cb); _*52*
$child->reflow();_ *53* } *54* *55* if ($page->is_full()) { *56* return; |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableRow->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in
.../data/cache/dompdf/dompdf/src/FrameReflower/*TableRowGroup.php*:/51/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*47* return; *48* } *49* *50* $child->set_containing_block($cb["x"],
$cb["y"], $cb["w"], $cb["h"]); _*51* $child->reflow();_
*52* *53* //
Check if a split has occured *54* $page->check_page_break($child); *55* } |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableRowGroup->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Table.php*:/489/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*485* break; *486* } *487* *488*
$child->set_containing_block($content_x, $content_y, $width, $h); _*489*
$child->reflow();_ *490* *491* if (!$page->in_nested_table()) { *492* //
Check if a split has occured *493* $page->check_page_break($child); |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Table->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\TableCell) (32) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*TableCell.php*:/95/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\TableCell) (32) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*91* } *92* *93* $child->set_containing_block($content_x, $content_y,
$cb_w, $h); *94* $this->process_clear($child); _*95*
$child->reflow($this->_frame);_ *96* $this->process_float($child, $x +
$left_space, $w - $right_space - $left_space); *97* } *98* *99* //
Determine our height |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableCell->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*TableRow.php*:/52/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*48* return; *49* } *50* *51* $child->set_containing_block($cb); _*52*
$child->reflow();_ *53* } *54* *55* if ($page->is_full()) { *56* return; |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableRow->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in
.../data/cache/dompdf/dompdf/src/FrameReflower/*TableRowGroup.php*:/51/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*47* return; *48* } *49* *50* $child->set_containing_block($cb["x"],
$cb["y"], $cb["w"], $cb["h"]); _*51* $child->reflow();_
*52* *53* //
Check if a split has occured *54* $page->check_page_break($child); *55* } |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\TableRowGroup->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Table.php*:/489/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*485* break; *486* } *487* *488*
$child->set_containing_block($content_x, $content_y, $width, $h); _*489*
$child->reflow();_ *490* *491* if (!$page->in_nested_table()) { *492* //
Check if a split has occured *493* $page->check_page_break($child); |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Table->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\Block) (30) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Block.php*:/845/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\Block) (30) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*841* $child->set_containing_block($cb_x, $cb_y, $w, $cb_h); *842*
*843* $this->process_clear($child); *844* _*845*
$child->reflow($this->_frame);_ *846* *847* // Don't add the child to
the line if a page break has occurred *848* if
($page->check_page_break($child)) { *849* break; |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Block->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\Block) (30) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Block.php*:/845/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(1 arg.)/
$block
object(Dompdf\FrameDecorator\Block) (30) {
["_counters"]=> array(0) {
}
["_already_pushed"]=> bool(false)
["_float_next_line"]=> bool(false)
["_splitted"]=> NULL
}
|*841* $child->set_containing_block($cb_x, $cb_y, $w, $cb_h); *842*
*843* $this->process_clear($child); *844* _*845*
$child->reflow($this->_frame);_ *846* *847* // Don't add the child to
the line if a page break has occurred *848* if
($page->check_page_break($child)) { *849* break; |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Block->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/FrameReflower/*Page.php*:/141/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*137* $child->insert_child_before($fixed_child->deep_copy(),
$child->get_first_child()); *138* } *139* } *140* _*141*
$child->reflow();_ *142* $next_child = $child->get_next_sibling(); *143*
*144* // Check for begin render callback *145*
$this->_check_callbacks("begin_page_render", $child); |
in
.../data/cache/dompdf/dompdf/src/FrameDecorator/*AbstractFrameDecorator.php*:/895/
→ Dompdf\FrameReflower\Page->reflow /(1 arg.)/
$block
NULL
|*891* { *892* // Uncomment this to see the frames before they're laid
out, instead of *893* // during rendering. *894* //echo $this->_frame;
flush(); _*895* $this->_reflower->reflow($block);_ *896* } *897* *898*
/** *899* * @return array |
in .../data/cache/dompdf/dompdf/src/*Dompdf.php*:/838/
→ Dompdf\FrameDecorator\AbstractFrameDecorator->reflow /(0 arg.)/
|*834* $root->set_containing_block(0, 0, $canvas->get_width(),
$canvas->get_height()); *835* $root->set_renderer(new Renderer($this));
*836* *837* // This is where the magic happens: _*838* $root->reflow();_
*839* *840* // Clean up cached images *841* Cache::clear(); *842* |
in
phar:///home/cfdtcont/www/garradin/data/plugins/dompdf.tar.gz/lib/*PDF.php*:/55/
→ Dompdf\Dompdf->render /(0 arg.)/
|*51* // (Optional) Setup the paper size and orientation *52*
$dompdf->setPaper('A4', 'landscape'); *53* *54* // Render the HTML
as
PDF _*55* $dompdf->render();_ *56* *57* echo $dompdf->output(); *58*
*59* return true; |
→ Garradin\Plugin\Dompdf\PDF::stream /(2 arg.)/
$params
array(2) {
["string"]=> string(8671) "<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
lang="fr" class="" data-version="7f6847ba2c">
<head>
<meta charset="utf-8" />
<meta name="v" content="7f6847ba2c" />
<title>Bilan</title>
<meta name="viewport" content="width=device-width,
initial-scale=1.0" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/admin.css?7f6847ba2c"
media="all" />
<script type="text/javascript"
src="https://compta.sudindustrie3109.fr/admin/static/scripts/global.js?7f6847ba2c"></script>
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/print.css?7f6847ba2c"
media="print" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/handheld.css?7f6847ba2c"
media="handheld,screen and (max-width:981px)" />
<link rel="manifest"
href="https://compta.sudindustrie3109.fr/admin/manifest.php" />
<link rel="icon" type="image/png"
href="https://compta.sudindustrie3109.fr/config/favicon.png?1e9c20f1a4" />
<style type="text/css">
:root {
--gMainColor: 0, 51, 180;
--gSecondColor: 255, 64, 255;
--gBgImage:
url("https://compta.sudindustrie3109.fr/config/admin_bg.png?17be6fee6c");
}
</style>
</head>
<body>
<header class="header">
<nav class="menu">
<figure class="logo">
</figure>
<ul>
<li class="home">
<a href="https://compta.sudindustrie3109.fr/admin/"><b
class="icn">⌂</b><i> Accueil</i></a>
</li>
<li class="member list"><a
href="https://compta.sudindustrie3109.fr/admin/membres/"><b
class="icn">????</b><i> Membres</i></a>
<ul>
<li class="member new"><a
href="https://compta.sudindustrie3109.fr/admin/membres/ajouter.php">Ajouter</a></li>
…
1
NULL
in .../include/lib/Garradin/*Plugin.php*:/848/
→ call_user_func_array /(2 arg.)/
$function_name
string(34) "Garradin\Plugin\Dompdf\PDF::stream"
$parameters
array(2) {
[0]=> array(2) {
["string"]=> string(8671) "<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
lang="fr" class="" data-version="7f6847ba2c">
<head>
<meta charset="utf-8" />
<meta name="v" content="7f6847ba2c" />
<title>Bilan</title>
<meta name="viewport" content="width=device-width,
initial-scale=1.0" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/admin.css?7f6847ba2c"
media="all" />
<script type="text/javascript"
src="https://compta.sudindustrie3109.fr/admin/static/scripts/global.js?7f6847ba2c"></script>
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/print.css?7f6847ba2c"
media="print" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/handheld.css?7f6847ba2c"
media="handheld,screen and (max-width:981px)" />
<link rel="manifest"
href="https://compta.sudindustrie3109.fr/admin/manifest.php" />
<link rel="icon" type="image/png"
href="https://compta.sudindustrie3109.fr/config/favicon.png?1e9c20f1a4" />
<style type="text/css">
:root {
--gMainColor: 0, 51, 180;
--gSecondColor: 255, 64, 255;
--gBgImage:
url("https://compta.sudindustrie3109.fr/config/admin_bg.png?17be6fee6c");
}
</style>
</head>
<body>
<header class="header">
<nav class="menu">
<figure class="logo">
</figure>
<ul>
<li class="home">
<a href="https://compta.sudindustrie3109.fr/admin/"><b
class="icn">⌂</b><i> Accueil</i></a>
</li>
<li class="member list"><a
href="https://compta.sudindustrie3109.fr/admin/membres/"><b
class="icn">????</b><i> Membres</i></a>
<ul>
<li class="member new"><a
href="https://compta.sudindustrie3109.fr/admin/membres/ajouter.php">Ajouter</a></li>…
|*844* } *845* *846* $params['plugin_root'] = $path; *847* _*848*
$return = call_user_func_array('Garradin\\Plugin\\' . $row->callback,
[&$params, &$callback_return]);_ *849* *850* if (true === $return) {
*851* return true; *852* } |
in .../include/lib/Garradin/*Utils.php*:/996/
→ Garradin\Plugin::fireSignal /(2 arg.)/
$signal
string(10) "pdf.stream"
$params
array(2) {
["string"]=> string(8671) "<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
lang="fr" class="" data-version="7f6847ba2c">
<head>
<meta charset="utf-8" />
<meta name="v" content="7f6847ba2c" />
<title>Bilan</title>
<meta name="viewport" content="width=device-width,
initial-scale=1.0" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/admin.css?7f6847ba2c"
media="all" />
<script type="text/javascript"
src="https://compta.sudindustrie3109.fr/admin/static/scripts/global.js?7f6847ba2c"></script>
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/print.css?7f6847ba2c"
media="print" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/handheld.css?7f6847ba2c"
media="handheld,screen and (max-width:981px)" />
<link rel="manifest"
href="https://compta.sudindustrie3109.fr/admin/manifest.php" />
<link rel="icon" type="image/png"
href="https://compta.sudindustrie3109.fr/config/favicon.png?1e9c20f1a4" />
<style type="text/css">
:root {
--gMainColor: 0, 51, 180;
--gSecondColor: 255, 64, 255;
--gBgImage:
url("https://compta.sudindustrie3109.fr/config/admin_bg.png?17be6fee6c");
}
</style>
</head>
<body>
<header class="header">
<nav class="menu">
<figure class="logo">
</figure>
<ul>
<li class="home">
<a href="https://compta.sudindustrie3109.fr/admin/"><b
class="icn">⌂</b><i> Accueil</i></a>
</li>
<li class="member list"><a
href="https://compta.sudindustrie3109.fr/admin/membres/"><b
class="icn">????</b><i> Membres</i></a>
<ul>
<li class="member new"><a
href="https://compta.sudindustrie3109.fr/admin/membres/ajouter.php">Ajouter</a></li>
…
|*992* if (!PDF_COMMAND) { *993* // Try to see if there's a plugin *994*
$in = ['string' => $str]; *995* _*996* if
(Plugin::fireSignal('pdf.stream', $in)) {_ *997* return; *998* } *999*
*1000* unset($in); |
in .../include/lib/Garradin/*Template.php*:/37/
→ Garradin\Utils::streamPDF /(1 arg.)/
$str
string(8671) "<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
lang="fr" class="" data-version="7f6847ba2c">
<head>
<meta charset="utf-8" />
<meta name="v" content="7f6847ba2c" />
<title>Bilan</title>
<meta name="viewport" content="width=device-width,
initial-scale=1.0" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/admin.css?7f6847ba2c"
media="all" />
<script type="text/javascript"
src="https://compta.sudindustrie3109.fr/admin/static/scripts/global.js?7f6847ba2c"></script>
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/print.css?7f6847ba2c"
media="print" />
<link rel="stylesheet" type="text/css"
href="https://compta.sudindustrie3109.fr/admin/static/handheld.css?7f6847ba2c"
media="handheld,screen and (max-width:981px)" />
<link rel="manifest"
href="https://compta.sudindustrie3109.fr/admin/manifest.php" />
<link rel="icon" type="image/png"
href="https://compta.sudindustrie3109.fr/config/favicon.png?1e9c20f1a4" />
<style type="text/css">
:root {
--gMainColor: 0, 51, 180;
--gSecondColor: 255, 64, 255;
--gBgImage:
url("https://compta.sudindustrie3109.fr/config/admin_bg.png?17be6fee6c");
}
</style>
</head>
<body>
<header class="header">
<nav class="menu">
<figure class="logo">
</figure>
<ul>
<li class="home">
<a href="https://compta.sudindustrie3109.fr/admin/"><b
class="icn">⌂</b><i> Accueil</i></a>
</li>
<li class="member list"><a
href="https://compta.sudindustrie3109.fr/admin/membres/"><b
class="icn">????</b><i> Membres</i></a>
<ul>
<li class="member new"><a
href="https://compta.sudindustrie3109.fr/admin/membres/ajouter.php">Ajouter</a></li>
<li class=""><a h…
|*33* } *34* *35* header('Content-type: application/pdf'); *36*
header(sprintf('Content-Disposition: attachment; filename="%s.pdf"',
Utils::safeFileName($filename))); _*37* Utils::streamPDF($out);_ *38*
return $this; *39* } *40* *41* return parent::display($template); |
in .../www/admin/acc/reports/*balance_sheet.php*:/18/
→ Garradin\Template->display /(1 arg.)/
$template
string(29) "acc/reports/balance_sheet.tpl"
|*14* $years = Years::listClosedAssocExcept($criterias['year']); *15*
$tpl->assign('other_years', count($years) ? [null => '-- Ne pas
comparer'] + $years : $years); *16*} *17*
_*18*$tpl->display('acc/reports/balance_sheet.tpl');_ *19* |
Context
date 2022-01-08T12:25:07+01:00
duration 414.48521614075
environment development
garradin_data_root /home/cfdtcont/www/garradin/data
garradin_version 1.1.18
hostname compta.sudindustrie3109.fr
http_files array(0) { }
http_method GET
http_post array(0) { }
http_referrer
https://compta.sudindustrie3109.fr/admin/acc/reports/balance_sheet.php?year=4
http_user_agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0)
Gecko/20100101 Firefox/95.0
id aw4ud3cb
language PHP 7.4.25
memory_peak 12582912
memory_used 12582912
os Linux
php_sapi fpm-fcgi
remote_ip 109.10.8.131
root_directory /home/cfdtcont/www/garradin
server_addr 10.3.20.104
user_addr 109.10.8.131
url
https://compta.sudindustrie3109.fr/admin/acc/reports/balance_sheet.php?year=4&_pdf