Annonce

  •  » Installation
  •  » Résolu - Cannot regenerate session id - header already sent

#16 2009-07-15 21:21:09

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Sinon voici l'adresse http://www.ebiscus.fr/latribu

Hors ligne

#17 2009-07-15 21:24:13

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Notice: A session had already been started - ignoring session_start() in /home/ebiscus1/public_html/latribu/include/user.inc.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/ebiscus1/public_html/latribu/include/user.inc.php:29) in /home/ebiscus1/public_html/latribu/include/page_header.php on line 98

Hors ligne

#18 2009-07-15 21:28:03

VDigital
Former Piwigo Team
Montpellier (FR)
2005-05-04
15127

Re: Résolu - Cannot regenerate session id - header already sent

Notice: A session had already been started - ignoring session_start() in /home/ebiscus1/public_html/latribu/include/user.inc.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/ebiscus1/public_html/latribu/include/user.inc.php:29) in /home/ebiscus1/public_html/latribu/include/page_header.php on line 98


Ok.
Ça sent autostart.

On passe à la solution 3
[Forum, post 111086 by nicolas in topic 15423] [Résolu] Problème function session après installation.

crée un fichier .htaccess (tu le transfères à la racine (dans public_html) du site par FTP).
avec

php_value session.auto_start = 0


Vincent -« Plus vidéaste averti que photographe amateur... »
La galerie - Le blog   

Piwigo est une application libre de gestion de photos en ligne.

Hors ligne

#19 2009-07-15 21:42:28

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

J'ai déjà testé cette manip, elle me renvoi un Internal Server Error

Hors ligne

#20 2009-07-15 21:45:51

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@ebiscus.fr and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 mod_perl/2.0.4 Perl/v5.8.8 Server at www.ebiscus.fr Port 80

Hors ligne

#21 2009-07-15 21:54:17

VDigital
Former Piwigo Team
Montpellier (FR)
2005-05-04
15127

Re: Résolu - Cannot regenerate session id - header already sent

Leur support: seule solution.
Question : comment désactiver l'autostart des sessions php?


Vincent -« Plus vidéaste averti que photographe amateur... »
La galerie - Le blog   

Piwigo est une application libre de gestion de photos en ligne.

Hors ligne

#22 2009-07-15 22:18:32

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Ok je m'en occupe, merci pout tout, je vous tiens au courant.

A++

Alex

Hors ligne

#23 2009-07-16 12:29:11

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Bon mon hébergeur m'a donné la même réponse sur le .htaccess, mais j'aurai une solution à 14h, en intégrant une nouvelle ligne dans le Template de Piwigo.
A+

Hors ligne

#24 2009-07-16 14:34:44

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Notice: A session had already been started - ignoring session_start() in /home/ebiscus1/public_html/latribu/include/user.inc.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/ebiscus1/public_html/latribu/include/user.inc.php:29) in /home/ebiscus1/public_html/latribu/include/functions_user.inc.php on line 1055

Warning: Cannot modify header information - headers already sent by (output started at /home/ebiscus1/public_html/latribu/include/user.inc.php:29) in /home/ebiscus1/public_html/latribu/include/functions_user.inc.php on line 1056

Notice: Undefined index: template in /home/ebiscus1/public_html/latribu/include/functions.inc.php on line 708

Notice: Undefined index: theme in /home/ebiscus1/public_html/latribu/include/functions.inc.php on line 708

Warning: Cannot modify header information - headers already sent by (output started at /home/ebiscus1/public_html/latribu/include/user.inc.php:29) in /home/ebiscus1/public_html/latribu/include/page_header.php on line 98

Notice: Undefined index: adviser in /home/ebiscus1/public_html/latribu/include/functions_user.inc.php on line 1197

Notice: Undefined index: adviser in /home/ebiscus1/public_html/latribu/include/functions_user.inc.php on line 1197

Notice: Use of undefined constant PHPWG_URL - assumed 'PHPWG_URL' in /home/ebiscus1/public_html/latribu/include/page_tail.php on line 30

Notice: Undefined index: adviser in /home/ebiscus1/public_html/latribu/include/functions_user.inc.php on line 1197

Warning: Smarty error: unable to read resource: "header.tpl" in /home/ebiscus1/public_html/latribu/include/smarty/libs/Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "redirect.tpl" in /home/ebiscus1/public_html/latribu/include/smarty/libs/Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "footer.tpl" in /home/ebiscus1/public_html/latribu/include/smarty/libs/Smarty.class.php on line 1092

Hors ligne

#25 2009-07-16 21:08:41

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Bon les PHP Men ... on dit quoi ? je suis le seul à avoir ce pb où bien ?

Merci quand même à VDigital Rio et Gotcha !

Hors ligne

#26 2009-07-16 21:23:57

VDigital
Former Piwigo Team
Montpellier (FR)
2005-05-04
15127

Re: Résolu - Cannot regenerate session id - header already sent

AlexFisho a écrit:

Bon mon hébergeur m'a donné la même réponse sur le .htaccess, mais j'aurai une solution à 14h, en intégrant une nouvelle ligne dans le Template de Piwigo.
A+

"mais j'aurai une solution à 14h, en intégrant une nouvelle ligne dans le Template de Piwigo." ???

C'est quoi la nouvelle ligne ?
D'autant plus qu'on a un 404 quand on va sur latribu.

Quand tu veux, on t'aide mais il est inutile de nous faire chercher pour rien.
Merci.


Vincent -« Plus vidéaste averti que photographe amateur... »
La galerie - Le blog   

Piwigo est une application libre de gestion de photos en ligne.

Hors ligne

#27 2009-07-17 08:07:33

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

La nouvelle ligne était un ini_set qq part, j'ai un collègue qui développe en PHP, mais il n'a pas trouvé.
D'après lui cela vient d'un appel à user.inc.php, mais par quelle page ????

J'ai une indication supplémentaire, ce matin en arivant sur la page, pas d'erreur, j'actualise, erreur : ça ne viendrait pas du cookie ?

Hors ligne

#28 2009-07-18 12:48:48

AlexFisho
Membre
2009-07-15
22

Re: Résolu - Cannot regenerate session id - header already sent

Et voici la solution dans un .htaccess

# Use PHP5 as default

AddHandler application/x-httpd-php .php

<IfModule mod_php4.c>
php_value session.auto_start 0
</IfModule>

<IfModule mod_php5.c>
  php_value magic_quotes_gpc 0
  php_value register_globals 0
  php_value session.auto_start 0
</IfModule>


Merci à tous pour votre implication
Alex

Hors ligne

#29 2009-07-18 12:57:53

Gotcha
Ex Equipe Piwigo
Pierrelatte (26)
2007-03-14
13331

Re: Résolu - Cannot regenerate session id - header already sent

Merci pour le retour AlexFisho ;-)

Question aux connaisseurs: est-ce que cette mérite d'être notifié dans le wiki ? Mais surtout, est-ce que c'est uniquement valable chez location-serveurs.com ou bien est-ce que ça peut s'appliquer ailleurs ?

:-)


Ayez comme premier réflexe de consulter le wiki.
Ensuite, veuillez effectuer une recherche sur le forum avant de poser votre question.

LE FAIRE EST LE REVELATEUR DE L'ETRE

Hors ligne

#30 2009-07-18 13:55:37

VDigital
Former Piwigo Team
Montpellier (FR)
2005-05-04
15127

Re: Résolu - Cannot regenerate session id - header already sent

AlexFisho a écrit:

Et voici la solution dans un .htaccess

# Use PHP5 as default

AddHandler application/x-httpd-php .php

<IfModule mod_php4.c>
php_value session.auto_start 0
</IfModule>

<IfModule mod_php5.c>
  php_value magic_quotes_gpc 0
  php_value register_globals 0
  php_value session.auto_start 0
</IfModule>


Merci à tous pour votre implication
Alex

Merci Alex. Très bonne réaction qui sera utile à d'autres. ;-)


Vincent -« Plus vidéaste averti que photographe amateur... »
La galerie - Le blog   

Piwigo est une application libre de gestion de photos en ligne.

Hors ligne

  •  » Installation
  •  » Résolu - Cannot regenerate session id - header already sent

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact