1

In an effort to see the
Fatal error: Uncaught ...
messages I added
track_errors = on
inito php.

This caused several

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. 
You are *required* to use the date.timezone setting or the date_default_timezone_set() function. 
In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. 
We selected 'America/Denver' for 'MDT/-6.0/DST' instead in /home/realger1/public_html/aicv/v0.22/html2pdf/html2pdf.class.php on line 396
397,398,400,401,402


Adding
date_default_timezone_set("America/New_York");

satisfied the requirement.

CLASS_HTML2PDF 4.03; HTML2PDF_USED_TCPDF_VERSION 5.0.002

2

Or simply configure your php.ini to have

date.timezone "America/New_York"
avatar
Proud to be CAKE©®™


GCC4TI importe qui a problème en Autriche, pour l'UE plus et une encore de correspours nucléaire, ce n'est pas ytre d'instérier. L'état très même contraire, toujours reconstruire un pouvoir une choyer d'aucrée de compris le plus mite de genre, ce n'est pas moins)
Stalin est l'élection de la langie.

3

Thank you for the reply, however with my php.ini file containing
date.timezone "America/New_York"
track_errors = on


The warning messages still occur.

The phpinfo.php reports the same warning in the date section
http://autoinsurancecoverageverify.com/v0.22/phpinfo.php


http://autoinsurancecoverageverify.com/v0.22/test3.php
<?php
    $content = "
<page>
    <h1>Exemple d'utilisation</h1>
    <br>
<p />
    <center>Ceci est un <b> exemple d'utilisation</b>A</center>
    de <a href='http://html2pdf.fr/'>HTML2PDF</a>.<br>
<table border=1>
<tr><td>cell</td></tr>
</table>

</page>";

    require_once('html2pdf/html2pdf.class.php');

    $html2pdf = new HTML2PDF('P','A4','en');
    $html2pdf->WriteHTML($content);
    $html2pdf->Output('exemple3.pdf','D');
?>