<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Les forums de JeBulle.net – Problème : headers already sent]]></title>
		<link>https://forums.jebulle.net/topic/704/probleme-headers-already-sent/</link>
		<atom:link href="https://forums.jebulle.net/feed/rss/topic/704/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Messages les plus récents de Problème : headers already sent.]]></description>
		<lastBuildDate>Tue, 11 Sep 2007 17:33:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7303/#p7303</link>
			<description><![CDATA[<p>You&#039;re welcome <img src="https://forums.jebulle.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (SamRay1024)]]></author>
			<pubDate>Tue, 11 Sep 2007 17:33:47 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7303/#p7303</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7302/#p7302</link>
			<description><![CDATA[<p>ok problème réglé, merci bcp.</p><p>Je n&#039;ai plus qu&#039;à apprendre le php <img src="https://forums.jebulle.net/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[null@example.com (sylock)]]></author>
			<pubDate>Tue, 11 Sep 2007 16:22:50 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7302/#p7302</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7301/#p7301</link>
			<description><![CDATA[<p>Ah ben si, j&#039;avais bien mis le bon code. Désolé de parler tout seul, je vais relire les instructions attentivement alors <img src="https://forums.jebulle.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (sylock)]]></author>
			<pubDate>Tue, 11 Sep 2007 16:13:16 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7301/#p7301</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7299/#p7299</link>
			<description><![CDATA[<p>Oups, ce n&#039;était pas le code de mon fichier photo.php ça... Voici le bon code :</p><div class="codebox"><pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;fr&quot; &gt;
    &lt;head&gt;
        &lt;title&gt;Nicolas Michel -- Photographe&lt;/title&gt;
        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
        &lt;link rel=&quot;stylesheet&quot; media=&quot;screen&quot; type=&quot;text/css&quot; title=&quot;Défaut&quot; href=&quot;theme.css&quot; /&gt;
    &lt;/head&gt;
    &lt;body&gt;
   
        &lt;div id=&quot;banniere&quot;&gt;&lt;/div&gt;
        
        &lt;div id=&quot;menu&quot;&gt;
        
            &lt;a id=&quot;accueil_bouton&quot; href=&quot;/&quot;&gt;&lt;/a&gt;
            &lt;a id=&quot;photos_bouton&quot; href=&quot;photos.php&quot;&gt;&lt;/a&gt;
            &lt;a id=&quot;contact_bouton&quot; href=&quot;contact.html&quot;&gt;&lt;/a&gt;
                    
        &lt;/div&gt;
        
        &lt;div id=&quot;ligne&quot;&gt;&lt;/div&gt;
                
        &lt;div id=&quot;corps&quot;&gt;
        
        &lt;?php
            
        define( &#039;JB_AL_ROOT&#039;, &#039;albulle/&#039; );
        $sPageAlbulle = require_once( JB_AL_ROOT.&#039;core/explore.php&#039; );
 
        // Le code qui suit montre simplement l&#039;existence des deux variables à utiliser au bon endroit pour votre site
        echo $sThmCssMetas;
        echo $sPageAlbulle ;
        ?&gt;
        &lt;/div&gt;
   
    &lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>Désolé pour les balises codes <img src="https://forums.jebulle.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (sylock)]]></author>
			<pubDate>Tue, 11 Sep 2007 16:09:47 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7299/#p7299</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7298/#p7298</link>
			<description><![CDATA[<p>Ok. C&#039;est presque ça.</p><p>Relis (ou lis) attentivement le paragraphe sur les <a href="http://doc.jebulle.net/apps/albulle1.0/integration_dans_un_site#conseils_d_integration">conseils d&#039;intégration de la documentation</a> et suis-les. Ca ira mieux après <img src="https://forums.jebulle.net/img/smilies/wink.png" width="15" height="15" alt="wink" />...enfin ça devrait !</p>]]></description>
			<author><![CDATA[null@example.com (SamRay1024)]]></author>
			<pubDate>Tue, 11 Sep 2007 15:49:54 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7298/#p7298</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7297/#p7297</link>
			<description><![CDATA[<p>Merci pour ces éclaircissements SamRay1024, voici mon code du fichier photo.php:</p><div class="codebox"><pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;fr&quot; &gt;
    &lt;head&gt;
        &lt;title&gt;Nicolas Michel -- Photographe&lt;/title&gt;
        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
        &lt;link rel=&quot;stylesheet&quot; media=&quot;screen&quot; type=&quot;text/css&quot; title=&quot;Défaut&quot; href=&quot;theme.css&quot; /&gt;
    &lt;/head&gt;
    &lt;body&gt;
   
        &lt;div id=&quot;banniere&quot;&gt;&lt;/div&gt;
        
        &lt;div id=&quot;menu&quot;&gt;
        
            &lt;a id=&quot;accueil_bouton&quot; href=&quot;/&quot;&gt;&lt;/a&gt;
            &lt;a id=&quot;photos_bouton&quot; href=&quot;photos.php&quot;&gt;&lt;/a&gt;
            &lt;a id=&quot;contact_bouton&quot; href=&quot;contact.html&quot;&gt;&lt;/a&gt;
                    
        &lt;/div&gt;
        
        &lt;div id=&quot;ligne&quot;&gt;&lt;/div&gt;
                
        &lt;div id=&quot;corps&quot;&gt;
        
        &lt;?php
            
        define( &#039;JB_AL_ROOT&#039;, &#039;albulle/&#039; );
        $sPageAlbulle = require_once( JB_AL_ROOT.&#039;core/explore.php&#039; );
 
        // Le code qui suit montre simplement l&#039;existence des deux variables à utiliser au bon endroit pour votre site
        echo $sThmCssMetas;
        echo $sPageAlbulle ;
        ?&gt;
        &lt;/div&gt;
   
    &lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>La ligne 26 se situe à define( &#039;JB_AL_ROOT&#039;, &#039;albulle/&#039; );</p><p><span style="color: tomato"><em>Edit : pense à utiliser la balise code, stp.</em></span></p>]]></description>
			<author><![CDATA[null@example.com (sylock)]]></author>
			<pubDate>Tue, 11 Sep 2007 15:43:27 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7297/#p7297</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7285/#p7285</link>
			<description><![CDATA[<p>Salut,</p><p><span class="bbu">1ère réponse pour le premier problème :</span></p><p>Il y a dans ton fichier photos.php, à la ligne 26, quelque chose qui imprime au moins un caractère dans ta page. Si tu peux nous mettre le code de ton fichier en citation, on pourra sûrement te dire d&#039;où vient le problème.</p><p><span class="bbu">2ème réponse pour le deuxième problème :</span></p><p>Albulle est codé en Utf-8. Hors ton site est très certainement en Iso-8859-1. D&#039;où l&#039;apparition de caractères bizarres. Si tu indiques à ton navigateur que la page est en Iso-88591-1, tous les caractères Utf-8 ne seront pas analysés correctement.</p><p>Pour palier ce problème, il faut que tu paramètres Albulle pour qu&#039;il fonctionne en Iso-8859-1 : <a href="http://doc.jebulle.net/apps/albulle1.0/parametrage#avance">cf. les paramètres avancés de la configuration d&#039;Albulle</a>.</p>]]></description>
			<author><![CDATA[null@example.com (SamRay1024)]]></author>
			<pubDate>Tue, 11 Sep 2007 07:46:06 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7285/#p7285</guid>
		</item>
		<item>
			<title><![CDATA[Problème : headers already sent]]></title>
			<link>https://forums.jebulle.net/post/7284/#p7284</link>
			<description><![CDATA[<p>bonjour à tous,</p><p>Je suis débutant dans la programmation web et je suis devant un problème que je ne parviens pas à résoudre :</p><p>1er problème<br />----------------</p><p>Lorsque j&#039;installe Albulle en mode autonome, tout est parfait. Par contre, lorsque je l&#039;intègre à mon site web, il m&#039;affiche un warning :</p><div class="quotebox"><blockquote><p>Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\le bon\photos.php:8) in C:\wamp\www\le bon\albulle\core\explore.php on line 166</p></blockquote></div><p>Pour info, à la ligne 8 du fichier photo.php se trouve ma balise &lt;body&gt; (il manque quelque chose dans le &lt;head&gt; ?).</p><br /><br /><p>J&#039;avais lu dans la doc qu&#039;il fallait faire un session_start(); avant de lancer le script mais ça ne fait qu&#039;aggraver les choses :</p><div class="quotebox"><blockquote><p>Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\le bon\photos.php:8) in C:\wamp\www\le bon\photos.php on line 26</p><p>Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module&#039;s ini settings at this time. in C:\wamp\www\le bon\albulle\core\explore.php on line 139</p></blockquote></div><p>2ème problème<br />------------------<br />Lorsque j&#039;intègre Albulle à mon site web, il affiche mal les accents. Exemple : (*) Ces informations sont celles de l&#039;image qui sera tÃ©lÃ©chargÃ©e et non de celle affichÃ©e.</p><p>Merci d&#039;avance <img src="https://forums.jebulle.net/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />Sylock</p>]]></description>
			<author><![CDATA[null@example.com (Sylock)]]></author>
			<pubDate>Mon, 10 Sep 2007 21:12:38 +0000</pubDate>
			<guid>https://forums.jebulle.net/post/7284/#p7284</guid>
		</item>
	</channel>
</rss>
