W dniu 14.05.2015 13:39, Marcin napisał(a):
gdy ustawiam document_type na pdf w logach ngix mam coś takiego :/
W dokumentach html masz zaszyty taki kod, z którym pewnie nie radzi sobie
biblioteka html2pdf. Komentarze mówią gdzie mniej więcej html2pdf napotyka
problemy.
#v-
2015/05/14 13:15:35 [error] 2913#0: *167 FastCGI sent in stderr: "PHP
message: PHP Warning: Invalid argument supplied for foreach() in
/var/www/lms/documents/templates/umowa/engine.php on line 47" while
reading response header from upstream, client: 192.168.57.1, server:
polygon, request: "POST /?m=documentadd&print=1 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=documentadd&cid=529 [1]"
2015/05/14 13:29:02 [error] 2913#0: *187 FastCGI sent in stderr: "PHP
message: PHP Warning: Invalid argument supplied for foreach() in
/var/www/lms/documents/templates/umowa/engine.php on line 47" while
reading response header from upstream, client: 192.168.57.1, server:
polygon, request: "POST /?m=documentadd&print=1 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=documentadd&cid=529&type= [2]"
2015/05/14 13:34:56 [error] 2914#0: *208 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught <span style="color: #AA0000;
font-weight: bold;">ERROR n°4</span><br>File :
/var/www/lms/lib/html2pdf/class/parsingHtml.class.php<br>Line :
119<br><br>HTML code invalid, the tags are not closed in an orderly
fashion.<br>Status : <pre>Array
(
[0] => page
[1] => section
[2] => div
[3] => p
)
</pre><br><br>HTML : ...</p>
</div>
</div>
</section>
</page>...
thrown in /var/www/lms/lib/html2pdf/class/parsingHtml.class.php on
line 119" while reading response header from upstream, client:
192.168.57.1, server: polygon, request: "GET
/?m=documentview&id=206879 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=customerinfo&id=529 [3]"
2015/05/14 13:36:33 [error] 2914#0: *208 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught <span style="color: #AA0000;
font-weight: bold;">ERROR n°4</span><br>File :
/var/www/lms/lib/html2pdf/class/parsingHtml.class.php<br>Line :
119<br><br>HTML code invalid, the tags are not closed in an orderly
fashion.<br>Status : <pre>Array
(
[0] => page
[1] => section
[2] => div
[3] => p
)
</pre><br><br>HTML : ...</p>
</div>
</div>
</section>
</page>...
thrown in /var/www/lms/lib/html2pdf/class/parsingHtml.class.php on
line 119" while reading response header from upstream, client:
192.168.57.1, server: polygon, request: "GET
/?m=documentview&id=206879 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=customerinfo&id=529 [3]"
2015/05/14 13:36:38 [error] 2914#0: *208 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught <span style="color: #AA0000;
font-weight: bold;">ERROR n°4</span><br>File :
/var/www/lms/lib/html2pdf/class/parsingHtml.class.php<br>Line :
119<br><br>HTML code invalid, the tags are not closed in an orderly
fashion.<br>Status : <pre>Array
(
[0] => page
[1] => section
[2] => div
[3] => p
)
</pre><br><br>HTML : ...</p>
</div>
</div>
</section>
</page>...
thrown in /var/www/lms/lib/html2pdf/class/parsingHtml.class.php on
line 119" while reading response header from upstream, client:
192.168.57.1, server: polygon, request: "GET
/?m=documentview&id=206879&save=1 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=customerinfo&id=529 [3]"
2015/05/14 13:37:15 [error] 2914#0: *226 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Uncaught <span style="color: #AA0000;
font-weight: bold;">ERROR n°4</span><br>File :
/var/www/lms/lib/html2pdf/class/parsingHtml.class.php<br>Line :
119<br><br>HTML code invalid, the tags are not closed in an orderly
fashion.<br>Status : <pre>Array
(
[0] => page
[1] => section
[2] => div
[3] => p
)
</pre><br><br>HTML : ...</p>
</div>
</div>
</section>
</page>...
thrown in /var/www/lms/lib/html2pdf/class/parsingHtml.class.php on
line 119" while reading response header from upstream, client:
192.168.57.1, server: polygon, request: "GET
/?m=documentview&id=206881 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "polygon", referrer:
"http://polygon/?m=documentlist&c=2765 [4]"
#v-
--
Pozdrawiam
Marcin / nicraM
Links:
------
[1] http://polygon/?m=documentadd&cid=529
[2] http://polygon/?m=documentadd&cid=529&type=
[3] http://polygon/?m=customerinfo&id=529
[4] http://polygon/?m=documentlist&c=2765
_______________________________________________
lms mailing list
lms@lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
--
Pozdrawiam
Tomasz Chiliński, Chilan
_______________________________________________
lms mailing list
lms@lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms