Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.4

Bug #17990 PHP Notice: Undefined index: date in PackageFileManager2.php
Submitted: 2010-10-25 17:30 UTC
From: doconnor Assigned: dufuz
Status: Closed Package: PEAR_PackageFileManager2 (version 1.0.1)
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-10-25 17:30 UTC] doconnor (Daniel O'Connor)
Description: ------------ When parsing some package files (Net_IPv6/trunk/package.xml); sometimes a date is not set. PHP Notice: Undefined index: date in /usr/share/php/PEAR/PackageFileManager2.php on line 1545

Comments

 [2011-03-24 04:21 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Can you elaborate on how you are parsing the file? Problem is that the changelog should at minimum contain a date, not sure why we don't have the XSD catching this. I am keen on finding a solution but the problem is that it is happening in the sorting so anything I replace it with (e.g. there has to be a value) will mean the releases without dates will be sorted incorrectly.
 [2011-03-24 04:51 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Closed -Assigned To: +Assigned To: dufuz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2011-12-18 22:04 UTC] jess_mimek (Jessica Semoil)
( ! ) Notice: Undefined index: date in C:\wamp\www\template 443 latest updated\bookingForm.php on line 24 Call Stack # Time Memory Function Location 1 0.0022 685096 {main}( ) ..\bookingForm.php:0 ( ! ) Notice: Undefined index: time in C:\wamp\www\template 443 latest updated\bookingForm.php on line 25 Call Stack # Time Memory Function Location 1 0.0022 685096 {main}( ) ..\bookingForm.php:0 ( ! ) Notice: Undefined variable: masa in C:\wamp\www\template 443 latest updated\bookingForm.php on line 81 Call Stack # Time Memory Function Location 1 0.0022 685096 {main}( ) ..\bookingForm.php:0 why it like that. what are the appropriate solution for that really messy problem?