Fatal error : Call to undefined function charger_generer_url() in
/var/alternc/html/v/vignevieille/NEW/plugins/auto/notifications/notifications.php
on line 266
++
touti
Fatal error : Call to undefined function charger_generer_url() in
/var/alternc/html/v/vignevieille/NEW/plugins/auto/notifications/notifications.php
on line 266
++
touti
toutati a écrit :
Fatal error : Call to undefined function charger_generer_url() in
/var/alternc/html/v/vignevieille/NEW/plugins/auto/notifications/notifications.phpon line 266
Bon, je poursuis donc sur la zone!
je suis en SPIP 2 dernière mouture
SPIP 2.0.1 SVN [13517]
avec notifications idem
Version : 0.4 [25196]
touti
toutati a écrit :
toutati a écrit :
Fatal error : Call to undefined function charger_generer_url() in
/var/alternc/html/v/vignevieille/NEW/plugins/auto/notifications/notifications.phpon line 266
Bon, je poursuis donc sur la zone!
je suis en SPIP 2 dernière mouture
SPIP 2.0.1 SVN [13517]avec notifications idem
Version : 0.4 [25196]
oups, c'est sur la version en ligne= SPIP 2.0.1 [13495]
bizarre ça!
bon, allez c'est tard
+=
![]()
Bonjour,
Je l’avais remarqué lors de mes tests avec ma version spip 1.9.2 pour la création de mon plugin d’alertes.
Ce qui provoquait cette erreur était l’absence de deux inclusions manquantes dans la fonction surchargée, de mémoire il y a un texte, mail et un autre fichier à inclure et là il y a que texte.
MoC
2008/12/22 toutati <toutati@free.fr>
toutati a écrit :
toutati a écrit :
Fatal error : Call to undefined function charger_generer_url() in
/var/alternc/html/v/vignevieille/NEW/plugins/auto/notifications/notifications.php
on line 266Bon, je poursuis donc sur la zone!
je suis en SPIP 2 dernière mouture
SPIP 2.0.1 SVN [13517]avec notifications idem
Version : 0.4 [25196]oups, c’est sur la version en ligne= SPIP 2.0.1 [13495]
bizarre ça!
bon, allez c’est tard
+=
spip-zone@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-zone
ligne 266, 267, 268
notifications.php
- charger_generer_url();
- $url = generer_url_ecrire('message', 'id_message='.$t['id_message']) .'#id'.$t['id_forum'];
- $t['texte'] .= "\n\n"._T('forum_ne_repondez_pas')."\n<html>$url</html>";
bon, ça semble marcher avec ça (en tout cas les logs mails prives semblent bons)
if (function_exists('generer_url_entite')) {
$url = url_absolue(generer_url_entite($id_message, 'message'));
$t['texte'] .= "\n\n"._T('forum_ne_repondez_pas')."\n<html>$url</html>";
} else {
charger_generer_url(false);
$url = generer_url_ecrire('message', 'id_message='.$t['id_message']) .'#id'.$t['id_forum'];
$t['texte'] .= "\n\n"._T('forum_ne_repondez_pas')."\n<html>$url</html>";
}
++
touti
ligne 266, 267, 268
notifications.php
bon, ça semble marcher avec ça (en tout cas les logs mails prives semblent
bons)
if (function_exists('generer_url_entite')) {
$url = url_absolue(generer_url_entite($id_message, 'message'));
$t['texte'] .=
../..
++
touti
Il n'est pas interdit de commiter touti !
C'est fait avec [25877] qui corrige un autre bug + celui-ci.
-- Fil