Your message dated Mon, 16 Aug 2010 12:11:15 +0200
with message-id <[email protected]>
and subject line php-fpdf: PHP warnings about date() from 
/usr/share/fpdf/fpdf.php:1361
has caused the Debian Bug report #572713,
regarding php-fpdf: PHP warnings about date() from /usr/share/fpdf/fpdf.php:1361
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
572713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572713
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php-fpdf
Version: 2:1.53.dfsg-6.1
Severity: normal

When using php-fpdf, I get lots of spew in my error logs like this:

[Fri Mar 05 15:56:47 2010] [error] [client 127.0.2.2] PHP Warning:  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/New_York' 
for 'EST/-5.0/no DST' instead in /usr/share/php/fpdf/fpdf.php on line 1361

looking at the file itself, i see:

1358-           $this->_out('/Keywords '.$this->_textstring($this->keywords));
1359-   if(!empty($this->creator))
1360-           $this->_out('/Creator '.$this->_textstring($this->creator));
1361:   $this->_out('/CreationDate '.$this->_textstring('D:'.date('YmdHis')));
1362-}
1363-
1364-function _putcatalog()

This should probably be fixed so that simply using php-fpdf doesn't
cause error log noise.

     --dkg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php-fpdf depends on:
ii  php5-cli                      5.3.1-5    command-line interpreter for the p

php-fpdf recommends no packages.

Versions of packages php-fpdf suggests:
pn  ttf2pt1                       <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi Daniel,
I am the new Maintainer for php-fpdf. Thanks for report.

I just upload the new upstream relase 1.6 (read as 1.60...). I believe
this bug closed by upstream,
as you can see the line that produces the error now call date() function
with operator @ that supress error.

<     $this->_out('/CreationDate
'.$this->_textstring('D:'....@date('YmdHis')));
>     $this->_out('/CreationDate '.$this->_textstring('D:'.date('YmdHis')));

If the error still appears, do not hesitate to reopen the bug!

cheers
Alessandro (lota)

--- End Message ---

Reply via email to