Mon mystère étant passé inaperçu vendredi, je le reposte au cas où...
---
Mystère.
Je suis en train de tester la distribution d'infos du site sur l'un de mes autres sites.
Le fichier
http://www.actuabd.com/distrib-infos.php3
fonctionne, de même que le fichier HTML qui fait la mise en page
Mais lorsque, dans le code HTML d'un autre fichier, je l'appelle par
<script src="http://www.actuabd.com/distrib-infos.php3"></script>
il n'affiche rien.
Le code du fichier php3 est
<?
$fond = "distrib-infos";
$delais = 3600;
// cette ligne empeche l'affichage des boutons d'administration
$flag_preserver = true;
include ("inc-public.php3");
?>
et le code du fichier HTML est
<BOUCLE_articles(articles){id_rubrique=1}{par date}{inverse}{0,5}>
document.write('<p><img src="habillage/carrer.gif" width="5" height="5">');
document.write('<A href="#URL_ARTICLE"><FONT FACE="Verdana, Arial, Helvetica, sans-serif"size="1" color="#000000">[(#TITRE|majuscules)]</FONT></A><br>');
document.write('<FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="1">(#CHAPO|justifier)</font></p>');
</BOUCLE_articles>
Quelqu'un a-t-il une idée de l'origine du problème?
Patrick
From xavier.courtonne@nantesweb.com Mon Jul 29 09:41:40 2002
Return-Path: <xavier.courtonne@nantesweb.com>
Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23])
by miel.brainstorm.fr (Postfix) with ESMTP id 0713B1C038
for <spip@rezo.net>; Mon, 29 Jul 2002 09:41:40 +0200 (CEST)
Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto4.wanadoo.fr
(6.5.007)id 3D18589F0115CBEE; Mon, 29 Jul 2002 09:41:39 +0200
Received: from xavier (80.15.56.189) by mel-rta10.wanadoo.fr (6.5.007)
id 3D2A7916009771F3; Mon, 29 Jul 2002 09:41:39 +0200
From: "mailnantesweb" <xavier.courtonne@nantesweb.com>
To: "Troll" <troll@dionysos.org>, "SPIP" <spip@rezo.net>
Subject: RE: [Spip] Boucle auteur
Date: Mon, 29 Jul 2002 09:36:58 +0200
Message-ID: <NFBBLLICFAFLFPFLLHNBGENCCJAA.xavier.courtonne@nantesweb.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0004_01C236E3.7BF49DA0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <00f401c23675$74b83ce0$65304151@b5h7d3>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-BeenThere: spip@rezo.net
X-Mailman-Version: 2.1b2+
Precedence: list
List-Help: <mailto:spip-request@rezo.net?subject=help>
List-Archive: <Discuter chez rezo.net;
List-Unsubscribe: <http://listes.rezo.net/mailman/listinfo/spip>,
<mailto:spip-request@rezo.net?subject=unsubscribe>
List-Subscribe: <http://listes.rezo.net/mailman/listinfo/spip>,
<mailto:spip-request@rezo.net?subject=subscribe>
List-Post: <mailto:spip@rezo.net>
List-Id: SPIP : questions/reponses <spip.rezo.net>
X-List-Received-Date: Mon, 29 Jul 2002 07:41:40 -0000
Status: O
Content-Length: 2746
Lines: 76
C'est un message de format MIME en plusieurs parties.
------=_NextPart_000_0004_01C236E3.7BF49DA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
moij vois un dble antislash dans tag fermant <//B_nb_rubriques> non?
-----Message d'origine-----
De : spip-bounces@rezo.net [mailto:spip-bounces@rezo.net]De la part de
Troll
Envoyé : dimanche 28 juillet 2002 22:29
à : SPIP
Objet : [Spip] Boucle auteur
Je n"arrive pas à afficher le nb de rubriques auquelles participe un
auteur
une idée ? Merci
<BOUCLE_auteur (AUTEURS){par nom}{tout}>
<BOUCLE_declenche(RUBRIQUES){0,1}>
<BOUCLE_nb_rubriques(RUBRIQUES)></BOUCLE_nb_rubriques>
#TOTAL_BOUCLE rubriques<//B_nb_rubriques>
</BOUCLE_declenche>
</BOUCLE_auteur>
------=_NextPart_000_0004_01C236E3.7BF49DA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D560363407-29072002><FONT face=3DArial color=3D#0000ff =
size=3D2>moij=20
vois un dble antislash dans tag fermant <//B_nb_rubriques> =
non?=20
</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Message d'origine-----<BR><B>De :</B> =
spip-bounces@rezo.net=20
[mailto:spip-bounces@rezo.net]<B>De la part de</B>=20
Troll<BR><B>Envoy=E9 :</B> dimanche 28 juillet 2002=20
22:29<BR><B>=C0 :</B> SPIP<BR><B>Objet :</B> [Spip] Boucle=20
auteur<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Je n"arrive pas =
=E0 afficher le nb de=20
rubriques auquelles participe un auteur</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>une id=E9e ? Merci</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
<BOUCLE_auteur (AUTEURS){par=20
=
nom}{tout}><BR> <BOUCLE_declenche(RUBR=
IQUES){0,1}><BR><BOUCLE_nb_rubriques(RUBRIQUES)></BOUCLE_nb_r=
ubriques><BR>#TOTAL_BOUCLE=20
rubriques<//B_nb_rubriques></FONT><FONT face=3DArial=20
=
size=3D2><BR> </BOUCLE_declenche><BR> &=
nbsp; =20
</BOUCLE_auteur></FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0004_01C236E3.7BF49DA0--