[SPIP Zone] Agenda 2 et url propres ?

Bonjour,

Lorsque j’active les url propres avec agenda 2 (2.0.12 ) sur spip 2.1, j’obtiens ça dès qu’il y a un #URL_EVENEMENT dans un squelette.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‹ FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U O › at line 2 SELECT U.url, U.date, O. FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1
SELECT U.url, U.date, O. FROM spip_evenements AS O LEFT JOIN spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1

Comment résoudre ce soucis ? J’ai aucun enregistrement de type evenement sur spip_urls ? De quel coté il faut regarder ?

Pourquoi le pipeline agenda_declarer_tables_interfaces ne déclare pas la colonne titre comme titre ? Est ce un choix ?
$interface[‹ table_titre ›][‹ evenements ›] = « titre, ‹  › AS lang »;

Bon, c’est résolu en tout cas.

2010/5/11 Guy Cesaro <guy.cesaro@gmail.com>

Bonjour,

Lorsque j’active les url propres avec agenda 2 (2.0.12 ) sur spip 2.1, j’obtiens ça dès qu’il y a un #URL_EVENEMENT dans un squelette.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‹ FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U O › at line 2 SELECT U.url, U.date, O. FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1
SELECT U.url, U.date, O. FROM spip_evenements AS O LEFT JOIN spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1

Comment résoudre ce soucis ? J’ai aucun enregistrement de type evenement sur spip_urls ? De quel coté il faut regarder ?

un oublie, plutot

Le 12 mai 2010 à 01:58, Guy Cesaro a écrit :

Pourquoi le pipeline agenda_declarer_tables_interfaces ne déclare pas la colonne titre comme titre ? Est ce un choix ?
$interface[‹ table_titre ›][‹ evenements ›] = « titre, ‹  › AS lang »;

Bon, c’est résolu en tout cas.

2010/5/11 Guy Cesaro <guy.cesaro@gmail.com>

Bonjour,

Lorsque j’active les url propres avec agenda 2 (2.0.12 ) sur spip 2.1, j’obtiens ça dès qu’il y a un #URL_EVENEMENT dans un squelette.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‹ FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U O › at line 2 SELECT U.url, U.date, O. FROM xxx.spip_evenements AS O LEFT JOIN xxx.spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1
SELECT U.url, U.date, O. FROM spip_evenements AS O LEFT JOIN spip_urls AS U ON (U.type=‹ evenement › AND U.id_objet=O.id_evenement) WHERE O.id_evenement=199 ORDER BY U.date DESC LIMIT 1

Comment résoudre ce soucis ? J’ai aucun enregistrement de type evenement sur spip_urls ? De quel coté il faut regarder ?


spip-zone@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-zone