Annonce

#1 2005-02-26 19:05:11

Michrone
Membre
Bruxelles
2003-03-17
143

[1.4.0 RC3] Calendrier des catégories vide

Hello,

In calendar, I have 7 category from year '0'.

I think it correspond a the 7 main category of the gallery where there are no picture, but only sub-category(with picture)

Hors ligne

#2 2005-03-06 19:35:47

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [1.4.0 RC3] Calendrier des catégories vide

At the root of calendar special category, thumbnails correspond to distinct years found in date_creation (by default) field of images table. If PhpWebGallery proposes year 0, it means that there are elements in your gallery with date creation in year 0.

You say "I think it corresponds", can you be more precise ? can you be sure ? which thumbnails are shown ?


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#3 2005-03-06 23:58:11

Michrone
Membre
Bruxelles
2003-03-17
143

Re: [1.4.0 RC3] Calendrier des catégories vide

z0rglub a écrit:

At the root of calendar special category, thumbnails correspond to distinct years found in date_creation (by default) field of images table. If PhpWebGallery proposes year 0, it means that there are elements in your gallery with date creation in year 0.

You say "I think it corresponds", can you be more precise ? can you be sure ? which thumbnails are shown ?

Wich date have I to look in the base ?

Example:
http://www.la25eme.be/WebGallery/catego … t=calendar

Hors ligne

#4 2005-03-07 09:13:57

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [1.4.0 RC3] Calendrier des catégories vide

Give us the result of this query :

Code:

SELECT file,tn_ext,date_creation,path
  FROM phpwebgallery_images INNER JOIN phpwebgallery_image_category ON id = image_id
  WHERE date_creation IS NOT NULL
    AND date_creation BETWEEN '0-1-1' AND '0-12-31'
;

Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#5 2005-03-07 17:53:50

Michrone
Membre
Bruxelles
2003-03-17
143

Re: [1.4.0 RC3] Calendrier des catégories vide

z0rglub a écrit:

Give us the result of this query :

Code:

SELECT file,tn_ext,date_creation,path
  FROM phpwebgallery_images INNER JOIN phpwebgallery_image_category ON id = image_id
  WHERE date_creation IS NOT NULL
    AND date_creation BETWEEN '0-1-1' AND '0-12-31'
;

Votre requête SQL a été exécutée avec succès (traitement: 0.0010 sec.)
requête SQL:
SELECT FILE , tn_ext, date_creation, path
FROM phpwebgallery_images
INNER JOIN phpwebgallery_image_category ON id = image_id
WHERE date_creation IS NOT NULL
AND date_creation
BETWEEN '0-1-1'
AND '0-12-31'
LIMIT 0 , 30


And there is nothing more (no rows selected)

If i select WHERE date_creation IS NOT NULL
AND date_creation
> '0-1-1' 
I have all the record

Hors ligne

#6 2005-03-13 11:53:34

Michrone
Membre
Bruxelles
2003-03-17
143

Re: [1.4.0 RC3] Calendrier des catégories vide

This problem is still in final 1.4.0

Hors ligne

#7 2005-03-13 12:26:30

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [1.4.0 RC3] Calendrier des catégories vide

Try this query :

Code:

select date_creation,path from phpwebgallery_images where year(date_creation) = 0;

Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#8 2005-03-13 12:35:38

Michrone
Membre
Bruxelles
2003-03-17
143

Re: [1.4.0 RC3] Calendrier des catégories vide

z0rglub a écrit:

Try this query :

Code:

select date_creation,path from phpwebgallery_images where year(date_creation) = 0;

Ok, He found 7record :-)

I modify the date on this :-)

Hors ligne

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact