Re: plugin agenda

Gildas Cotomale <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <CAKRmq4B264PjhiZwNEPiD36HPgSSdatRpHefK_Xs9OiVbNKbbQ@mail.gmail.com>
C'est la clause de filtrage qui est foireuse :
* WHERE (evenements.statut = 'publie') AND (L3.lang = 'fr') AND
(evenements.date_debut agendafull 'date_fin') AND (evenements.id_article
NOT IN ( SELECT zzza.id_article FROM spip_articles as zzza WHERE
((zzza.id_rubrique IN (0))))) *

Plus précisément, cette condition : *(evenements.date_debut agendafull
'date_fin')*
En effet, il y juste une suite de noms alors qu'on s'attend à une opération
de comparaison...

Par ailleurs, je ne vois pas d'où sort cet *agendafull* par exemple, rien
de tel dans ta sélection : *SELECT evenements.id_evenement,
evenements.titre, evenements.horaire, evenements.date_debut,
evenements.date_fin, evenements.id_article FROM spip_evenements AS
`evenements` INNER JOIN spip_articles AS L3 ON ( L3.id_article =
evenements.id_article )*

Tu as certainement un/une squelette/noisette qui fait un truc foireux, ou
dépend d'un autre plugin que t'as oublié d'activer.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.