Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Error: (0) preg_replace() #1

Open
centreon opened this issue May 5, 2015 · 0 comments
Open

Error: (0) preg_replace() #1

centreon opened this issue May 5, 2015 · 0 comments
Labels
Milestone

Comments

@centreon
Copy link
Collaborator

centreon commented May 5, 2015

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): preg_replace('~{_(._?)*}|...', ''{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

@leoncx leoncx added the bug label Sep 3, 2015
@leoncx leoncx added this to the 1.1.2 milestone Sep 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant