when i get pdf report the errors "Warning: Missing argument 2 for gen_strtotime(), called in /opt/Inprotect/html/respdf.php on line 125 and defined in /opt/Inprotect/html/functions.inc on line 738" appears. I just add second null argument like this $curtime = gen_strtotime("now",''); and now it's working.
My version is 1.0 final
Full error message is:
Warning: Missing argument 2 for gen_strtotime(), called in /opt/Inprotect/html/respdf.php on line 125 and defined in /opt/Inprotect/html/functions.inc on line 738
Warning: Missing argument 2 for gen_strtotime(), called in /opt/Inprotect/html/respdf.php on line 126 and defined in /opt/Inprotect/html/functions.inc on line 738
Warning: Cannot modify header information - headers already sent by (output started at /opt/Inprotect/html/functions.inc:738) in /opt/Inprotect/html/respdf.php on line 494
Warning: Cannot modify header information - headers already sent by (output started at /opt/Inprotect/html/functions.inc:738) in /opt/Inprotect/html/inc/fpdf.php on line 1022
FPDF error: Some data has already been output to browser, can't send PDF file
per /etc/php.ini
set
display_errors = off
restart apache
And you will quite seeing warning per all the variables ( I chose not to pre-declare ) and arguments not needed passed in various routines.
Ken