centreon / centreon-nagvis

A module to integrate Nagvis into Centreon in order to have simple graphical views
10 stars 10 forks source link

Error: (0) preg_replace() #1

Open centreon opened 9 years ago

centreon commented 9 years ago

Bonjour,

J'ai une erreur sur la vue centreon-nagvis :

Pierre Gilbaud Write :

Error: (0) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead (/usr/local/centreon/GPL_LIB/Smarty/libs/Smarty_Compiler.class.php:270)

0 [internal function]: nagvisExceptionErrorHandler(8192, 'preg_replace():...', '/usr/local/cent...', 270, Array)

1 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty_Compiler.class.php(270): pregreplace('~{_(.?)*}|...', ''{php' . str_re...', '{literal}\n #2 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1491): Smarty_Compiler->_compile_file('nagvis.ihtml', '{literal}\n #3 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1424): Smarty->_compile_source('nagvis.ihtml', '{literal}\n #4 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1256): Smarty->_compile_resource('nagvis.ihtml', '../GPL_LIB/Smar...')

5 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1108): Smarty->fetch('nagvis.ihtml', NULL, NULL, true)

6 /usr/local/centreon/www/modules/centreon-nagvis/index.php(156): Smarty->display('nagvis.ihtml')

7 /usr/local/centreon/www/main.php(230): include_once('/usr/local/cent...')

8 {main}

Je précise que je suis une installation avec centreon en 2.6.0 sur une debian 8. Nagvis est en version 1.7.10.

Merci beaucoup pour votre aide