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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to