You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-01-20 19:03:56

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

[SVN 0.84] preg_replace(): The /e modifier is deprecated, use preg_rep

J'ai cette erreur dans le php-error en boucle(sur les collecteurs) - PHP 5.5.12

J'ai pas testé en 0.85. Surement besoin d'un upgrade de la lib phpmailer

2015-01-13 16:55:13
Deprecated function(8192): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Backtrace :
/var/www/html/glpi/lib/phpmailer/class.phpmailer.php:1918        preg_replace()
/var/www/html/glpi/lib/phpmailer/class.phpmailer.php:1748        PHPMailer->EncodeQ()
/var/www/html/glpi/lib/phpmailer/class.phpmailer.php:1221        PHPMailer->EncodeHeader()
/var/www/html/glpi/lib/phpmailer/class.phpmailer.php:618        PHPMailer->CreateHeader()
/var/www/html/glpi/lib/phpmailer/class.phpmailer.php:587        PHPMailer->PreSend()
/var/www/html/glpi/inc/notificationmail.class.php:245        PHPMailer->Send()
/var/www/html/glpi/inc/notification.class.php:417        NotificationMail->sendNotification()
/var/www/html/glpi/inc/notificationevent.class.php:167        Notification::send()
/var/www/html/glpi/inc/ticket.class.php:1461        NotificationEvent::raiseEvent()
/var/www/html/glpi/inc/commondbtm.class.php:786        Ticket->post_addItem()
/var/www/html/glpi/inc/mailcollector.class.php:534        CommonDBTM->add()
/var/www/html/glpi/inc/mailcollector.class.php:1464        MailCollector->collect()
/var/www/html/glpi/inc/crontask.class.php:755        call_user_func()
/var/www/html/glpi/front/cron.php:84        CronTask::launch()


Xavier Caillaud
Blog GLPI Infotel

Offline

#2 2015-01-20 19:21:49

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: [SVN 0.84] preg_replace(): The /e modifier is deprecated, use preg_rep

Ok donc faut que j'applique ca en 0.84

https://forge.indepnet.net/projects/glp … ions/23120


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2015-01-21 09:58:51

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: [SVN 0.84] preg_replace(): The /e modifier is deprecated, use preg_rep

Exception près : le require est a placer dans le fichier inc\notificationmail.class.php


Xavier Caillaud
Blog GLPI Infotel

Offline

#4 2015-01-30 11:57:17

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: [SVN 0.84] preg_replace(): The /e modifier is deprecated, use preg_rep

A clore. Merci.


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB