我正试图弄清楚我的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>');
很多人都谈到了与使用WKPDF和SSL相关的类似问题,但我不认为这会导致我的问题,因为它说SSL错误被忽略了。。。如有任何帮助,我们将不胜感激。每当我尝试这样做时,似乎都会出现500个错误,但我找不到发生这种情况的任何原因。。。
如果需要更多信息,请告诉我。
在html中搜索http://协议,它应该是https。
示例
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Georgia|Asap|Arial|Helvetica|Arial+Black|Gadget|Comic+Sans+MS|Impact|Charcoal|Tahoma|Geneva|Verdana|Geneva|Courier+New|Courier|serif">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?subset=arabic&family=Cairo|Amiri|Changa|Mada|Lateef|Baloo+Bhaijaan|Reem+Kufi|Lalezar|Scheherazade|El+Messiri|Aref+Ruqaa|Harmattan|Lemonada|Mirza|Rakkas|Katibeh|Jomhuria">