Ticket Hash: | 9f3adbe28773f6742c826d393da51aa95f5de6ae | |||
Title: | Generation du PDF impossible. | |||
Status: | Closed | Type: | Bug | |
Severity: | Critique | Priority: | Immediate | |
Subsystem: | Resolution: | Rejected | ||
Last Modified: | 2022-02-17 17:43:02 | |||
Version Found In: | 1.1.21 | |||
User Comments: | ||||
christophePE added on 2022-02-16 09:39:43:PDF command failed: The switch --print-media-type, is not support using unpatched qt, and will be ignored.wkhtmltopdf: cannot connect to X server in .../include/lib/Garradin/Utils.php:1126 1122 $output = shell_exec($cmd); 1123 Utils::safe_unlink($source); 1124 1125 if (!file_exists($target)) { 1126 throw new RuntimeException('PDF command failed: ' . $output); 1127 } 1128 1129 return $target; 1130 } bohwaz added on 2022-02-17 16:43:02:Comme l'indique le message, l'erreur vient de ta configuration du serveur, et de wkhtmltopdf, il faut probablement utiliser un autre logiciel de génération de PDF, tout est dans la doc :) |