Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000549Piwigodisplaypublic2006.09.27 23:382006.10.08 18:59
Reporterrub 
Assigned Torvelices 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.6.2 
Target VersionFixed in Version1.6.2 
Summary0000549: Error message on future date with calendar functionnality
DescriptionFor example, with http://www.xyz.net/phpwebgallery/index.php?/categories/created-monthly-calendar-2006-11 [^]
I have this messages:


Warning: Invalid argument supplied for foreach() in /mnt/115/sdc/0/c/mysite/phpwebgallery/include/calendar_monthly.class.php on line 339

Warning: Invalid argument supplied for foreach() in /mnt/115/sdc/0/c/mysite/phpwebgallery/include/calendar_monthly.class.php on line 536

Warning: Cannot modify header information - headers already sent by (output started at /mnt/115/sdc/0/c/mysite/phpwebgallery/include/calendar_monthly.class.php:339) in /mnt/115/sdc/0/c/mysite/phpwebgallery/include/page_header.php on line 67
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0001456)
rvelices (developer)
2006.10.08 02:38
edited on: 2006.10.08 02:38

Je n'arrive pas a reproduire le probleme. Ca marche bien pour les dates futures.
Est-ce que tes dates sont correctes, c'est a dire elles contiennent annee, mois et jour non nuls ? (MySql accepte 20061000 comme date, mais apres ca peut poser probleme)

(0001457)
VDigital (reporter)
2006.10.08 16:25

Si tu n'as pas les messages, c'est que le niveau de warning de php est déactivé chez toi...
(0001458)
rub (developer)
2006.10.08 16:32

function build_month_calendar

Tu rajoutes:
$items = array();

Et c'est ok.

Le problème survient chez moi, uniquement si la liste est vide.
Le tableau doit être initialisé.

C'est peut-être une question de version de php.
Erreur survenant avec:
PHP: 4.3.10
PHP: 4.4.3-dev
(0001459)
rvelices (developer)
2006.10.08 18:59

fixed in branch-1_6 [Subversion] r1557 and Alligator [Subversion] r1558

- Issue History
Date Modified Username Field Change
2006.09.27 23:38 rub New Issue
2006.09.27 23:38 rub browser => any
2006.09.27 23:38 rub Web server => Apache 1.3.x
2006.10.08 02:38 rvelices Note Added: 0001456
2006.10.08 02:38 rvelices Status new => feedback
2006.10.08 02:38 rvelices Note Edited: 0001456
2006.10.08 16:25 VDigital Note Added: 0001457
2006.10.08 16:32 rub Note Added: 0001458
2006.10.08 18:59 rvelices Note Added: 0001459
2006.10.08 18:59 rvelices Assigned To => rvelices
2006.10.08 18:59 rvelices Status feedback => closed
2006.10.08 18:59 rvelices Resolution open => fixed
2006.10.08 18:59 rvelices Fixed in Version => 1.6.2


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker