gdy ustawiam document_type na pdf w logach ngix mam coś takiego :/
#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" 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=" 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" 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" 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" 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" #v-