【发布时间】:2014-11-29 03:35:48
【问题描述】:
我试图弄清楚我的 WKPDF.php 文件生成了哪些 PDF 文件。
这是我在失败时收到的电子邮件(每次都这样):
WKPDF system error: <pre>Loading pages (1/6)
[> ] 0%
[======> ] 10%
[=============> ] 23%
[===================> ] 32%
[============================> ] 47%
[============================> ] 48%
[===============================> ] 52%
Warning: SSL error ignored
[===============================> ] 52%
[===============================> ] 53%
[=================================> ] 55%
[==================================> ] 57%
[===================================> ] 59%
[=======================================> ] 66%
[========================================> ] 68%
[===========================================> ] 72%
[==============================================> ] 78%
[================================================> ] 81%
[============================================================] 100%
Counting pages (2/6)
[============================================================] Object 1 of 1
Resolving links (4/6)
[============================================================] Object 1 of 1
Loading headers and footers (5/6)
Printing pages (6/6)
[> ] Preparing
[============================================================] Page 1 of 1
Done
</pre>
/dashboard/submit/overview
Array
(
[info1] => pdf
[attached_stuff] => 0
[more_info] =>
[stackoverflow] => exact
[other_data] =>
[sample_fields] => Array
(
[0] => option1
[1] => option2
[2] => option3
)
[test_option] => Url
[last_test] => ASC
)
这是我的 PHP 文件中发送错误的行,以防万一:
if(strpos(strtolower($this->pdf['stderr']),'error')!==false)throw new Exception('WKPDF system error: <pre>'.$this->pdf['stderr'].'</pre>');
很多人都谈到了与使用带有 SSL 的 WKPDF 相关的类似问题,但我认为这不会导致我的问题,因为它说 SSL 错误被忽略了......任何帮助将不胜感激。每当我尝试这样做时,似乎都会发生 500 错误,但我找不到发生这种情况的任何原因......
如果需要更多信息,请告诉我。
【问题讨论】:
标签: php pdf wkhtmltopdf internal-server-error