Achetez et vendez votre matériel multimédia d'occasion sur notre service de petites annonces informatiques gratuites

gros probleme Warning: Cannot modify header information

Forum informatique > Support & Utilisation > gros probleme Warning: Cannot modify header information

<<<1>>>

[Page 1 sur 1 - 5 messages]
Informations Messages

titotione

Avatar de titotione
8 messages
Neurone isolé
Neurone isolé

Lien direct Le 18 Janvier 2005 à 20h11

bonjour à tous voila apres avoir installé le mod voir 10 dernier sujet posté j'ai tout mon forum qui foire et plus moyen d'y acceder... j'ai ça au dessus de ma banniere : en tant qu'utilisateur


Code

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/page_header.php on line 492

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/page_header.php on line 494

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/page_header.php on line 495



et quand je veux me connecter ave mon login plus de forum j'ai juste ça :


Code

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/config.php:1 in /data/members/free/multimania/fr/d/i/v/divxworld/htdocs/includes/functions.php on line 777




mon config maintenant est Config.php :

Code

<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql';

$dbhost = '*******';
$dbname = '*******';
$dbuser = '******';
$dbpasswd = '******';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>



en fait j'ai voulu installer un truc pour voir les 10dernier post et je devais juste aller dans le config.php ça à merdé j'ai remis mon config.php que j'avais sauvegardé et c pire j'ai voulu mettre ça:

Code

#################################################
## phpBB 2.x - Afficher les xx derniers sujets ##
#################################################

------------------------------------------------------------------------------------- ----------
<?php
require("config.php");
//-------------------------------------------------------------
$nbr_sujets = "10"; // nombre de sujets
$url_phpbb = "/phpBB2";
//-------------------------------------------------------------
$db = @mysql_connect("$dbhost", "$dbuser", "$dbpasswd") or die("mysql : erreur a la connexion");
@mysql_select_db("$dbname",$db) or die("mysql : probleme de selection de base");

$table=$table_prefix.'topics';
$sql = "SELECT t.topic_title, t.topic_id FROM $table t ORDER BY t.topic_last_post_id DESC LIMIT $nbr_sujets";

if($r = mysql_query($sql, $db)) {
while($m = mysql_fetch_array($r)) {
$j = stripslashes($m[topic_title]);
echo "<a href=\"$url_phpbb/viewtopic.php?t=$m[topic_id]\"><b><font FACE=\"Verdana\" color=\"#000000\" size=\"1\">$j</font></b></a>\n";
}
}
?>




et ça a foiré donc j'ai remit celui que j'avais sauvegardé et c pire

 

Zorik21

Avatar de Zorik21
274 messages
Processeur
Processeur

Lien direct Le 18 Janvier 2005 à 20h44

Euhhh attend là. Ce ficher ne dois jamais être modifié! Aucun MOD ne modifie config.php! :s

Tu as du te tromper. Refait toutes les démarches de l'installation du MOD, tu as d ufaire une erreur. Pour ton config.php, vérifie que tu n'ais pas d'espaces après le "?>" final.

 

titotione

Avatar de titotione
8 messages
Neurone isolé
Neurone isolé

Lien direct Le 18 Janvier 2005 à 20h55

lu ben je me suis trompé je croyais qu'il fallait faire ça dans config.php et mon fichier config.php il n'y a pas d'espace il est là au dessus donc tjs pas su resoudre le probleme... snif snif merci quand meme

 

Pouette Man

Avatar de Pouette Man
921 messages
Carte Mère
Carte Mère
Ancien Combattant
Ancien Combattant

Lien direct Le 18 Janvier 2005 à 23h02

Retrouve l'installation de ton mod et fait les opérations mais à l'envers ! Tu pourras corriger comme celaSourire.

 

titotione

Avatar de titotione
8 messages
Neurone isolé
Neurone isolé

Lien direct Le 19 Janvier 2005 à 00h12

merci à toi zorik t'es un roi c reglé c'etait tout betement dans espaces apres ?> qui etait invisible merci quand meme

 

<<<1>>>

[Page 1 sur 1 - 5 messages]

Forum informatique > Support & Utilisation > gros probleme Warning: Cannot modify header information