View previous topic :: View next topic |
Author |
Message |
VlaD
Joined: 25 Sep 2002 Posts: 3
|
Posted: Wed Sep 25, 2002 3:22 am Post subject: Problème commentaires et erreur 404 |
|
|
Bonsoir !
J'ai décidé d'installer la nouvelle vesion de B2 mais voilà, lorsque je poste un commentaire, une erreur 404 s'affiche aussitot ! Quelqu'un aurait-il la solution? |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Thu Sep 26, 2002 12:45 pm Post subject: |
|
|
La grande question est: l'erreur 404 porte sur quel fichier ? Il faudrait que je sache quel fichier b2 essaie de charger... |
|
Back to top |
|
 |
nig
Joined: 22 Oct 2002 Posts: 3
|
Posted: Tue Oct 22, 2002 7:06 pm Post subject: nouvelle vesion de B2 |
|
|
Je rencontre également le même problème sur free.fr
Ce problème semble venir de la page b2comments.post.php
Une fois le commentaire posté, ou nous envoie b2comments.post.php ? |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Sun Oct 27, 2002 2:06 am Post subject: |
|
|
Si vous ne me dites pas vers quelle URL b2comments.post.php essaie de vous envoyer, je peux pas vraiment savoir quel est le bug...
Pour savoir ça, regardez dans le source html de la page des commentaires. Y'a une ligne comme ça:[code]<input type="hidden" name="redirect_to" value="/un/chemin/vers/une/page" />[/url]
Copiez le /un/chemin/vers/une/page et postez le ici, comme ça je pourrai voir si le problème est avec b2 ou non.
Et aussi, ce serait pas sur lycos.fr ce problème ? |
|
Back to top |
|
 |
nig
Joined: 22 Oct 2002 Posts: 3
|
Posted: Mon Oct 28, 2002 8:14 pm Post subject: |
|
|
Je rencontre le probleme sur free, et le redirect pointe vers
Code: | /b2commentspopup.php?p=10&c=1 |
merci ! |
|
Back to top |
|
 |
Badaluc
Joined: 28 Oct 2002 Posts: 15 Location: Lyon (Fr)
|
Posted: Tue Oct 29, 2002 7:44 am Post subject: |
|
|
j'ai exactement le même problème chez Free.fr (mais je ne sais pas si cela vient de l'hébergeur). Par contre, les commentaires sont biens pris en compte. |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Tue Oct 29, 2002 5:18 pm Post subject: |
|
|
OK, c'est un bug sur leurs serveurs, mais heureusement c'est super simple à réparer
Dans b2commentspopup.php (et b2comments.php histoire de faire ça en bloc), utilisez cette ligne là:
[php:1:67b4a72a2c]<input type="hidden" name="redirect_to" value="http://monlogin.free.fr<?php echo htmlspecialchars($HTTP_SERVER_VARS["REQUEST_URI"]); ?>" />[/php:1:67b4a72a2c]
Au lieu de:
[php:1:67b4a72a2c]<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($HTTP_SERVER_VARS["REQUEST_URI"]); ?>" />[/php:1:67b4a72a2c]
Remplacez http://monlogin.free.fr avec la bonne URL. |
|
Back to top |
|
 |
nig
Joined: 22 Oct 2002 Posts: 3
|
Posted: Thu Oct 31, 2002 1:24 pm Post subject: |
|
|
Ca fonctionne!
Merci! |
|
Back to top |
|
 |
Badaluc
Joined: 28 Oct 2002 Posts: 15 Location: Lyon (Fr)
|
Posted: Thu Oct 31, 2002 7:09 pm Post subject: |
|
|
ça marche aussi.
Merci
Par contre, est-il normal que l'affichage à l'intérieur du popup soit différent en terme de style que le reste du blog ?
Essayez pour voir
http://badaluc.free.fr/b2 |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Fri Nov 01, 2002 12:33 am Post subject: |
|
|
Oui, c'est normal. Puisque c'est une petite fenêtre, seule une partie de la feuille de style est utilisée par le template. C'est un template différent, pour l'éditer faut éditer b2commentspopup.php. |
|
Back to top |
|
 |
Badaluc
Joined: 28 Oct 2002 Posts: 15 Location: Lyon (Fr)
|
Posted: Tue Nov 05, 2002 10:31 pm Post subject: |
|
|
merci |
|
Back to top |
|
 |
|