Re: Re: Date: undefined offset
| From: | Pierre | Date: | Tue, 16 May 2006 10:43:17 +0000 |
| Subject: | Re: Re: Date: undefined offset | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24085@lists.php.net to get a copy of this message | ||
On 5/15/06, Charlie van de Kerkhof <pear@mowd.nl> wrote:
On 15 May 2006, at 13:46, Pierre wrote: On Mon, 15 May 2006 13:43:11 +0200 pear@mowd.nl (Charlie van de Kerkhof) wrote:AM_DEBUG? There is no such constant in Date. You are not including only Date.php. Or you are not including the correct Date.php.Do you have this message using only this one line script: <?php include 'Date.php';?> include_once('Date.php'); And nothing else included? include_once is enough which php version are you using? 5.1.2 But I discoverd that if a constont is true (AM_DEBUG) then it workes fine, otherwise wheb it is false it fails. mmmm.... Seems that it hs to do with that more or less.Hi, I use the Date library, but if I include a file which includes the Date library then a Notice is shown: Notice: Undefined offset: 2048 in lib/pear/Date.php on line 93But line 93: ' var $year;' is only used to define the var $year.Has anybody any idea?