Safe mode backquotes


#1

Upgrading from to 2.4.1 from 2.4.0 - following warning :expressionless:

Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /var/www/vhosts/*****.com/httpdocs/piwik/core/Filechecks.php on line 219

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 shell_exec(…) called at [/var/www/vhosts/.com/httpdocs/piwik/core/Filechecks.php:219]
#2 Piwik\Filechecks::getUserAndGroup(…) called at [/var/www/vhosts/
.com/httpdocs/piwik/core/Filechecks.php:181]
#3 Piwik\Filechecks::getAutoUpdateMakeWritableMessage(…) called at [/var/www/vhosts/com/httpdocs/piwik/plugins/CoreUpdater/Controller.php:83]
#4 Piwik\Plugins\CoreUpdater\Controller->newVersionAvailable(…) called at [:]
#5 call_user_func_array(…) called at [/var/www/vhosts/
.com/httpdocs/piwik/core/FrontController.php:507]
#6 Piwik\FrontController->doDispatch(…) called at [/var/www/vhosts/.com/httpdocs/piwik/core/FrontController.php:84]
#7 Piwik\FrontController->dispatch(…) called at [/var/www/vhosts/
.com/httpdocs/piwik/core/dispatch.php:34]
#8 require_once(…) called at [/var/www/vhosts/*****.com/httpdocs/piwik/index.php:47]

kind regards


#2

same upgrade, same warning, different line#

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in /home/.sites//site240*/web/analytics/core/CliMulti/Process.php on line 170

#0 Piwik\Error::errorHandler(…) called at [:]
#1 shell_exec(…) called at [/home/.sites//site240*/web/analytics/core/CliMulti/Process.php:170]
#2 Piwik\CliMulti\Process::isSystemNotSupported(…) called at [/home/.sites//site240*/web/analytics/core/CliMulti/Process.php:153]
#3 Piwik\CliMulti\Process::isSupported(…) called at [/home/.sites//site240*/web/analytics/core/CliMulti.php:163]
#4 Piwik\CliMulti->supportsAsync(…) called at [/home/.sites//site240*/web/analytics/core/CliMulti.php:46]
#5 Piwik\CliMulti->__construct(…) called at [/home/.sites//site240*/web/analytics/plugins/Installation/SystemCheck.php:187]
#6 Piwik\Plugins\Installation\SystemCheck::getSystemInformation(…) called at [/home/.sites//site240*/web/analytics/plugins/Installation/Controller.php:406]
#7 Piwik\Plugins\Installation\Controller::getSystemInformation(…) called at [/home/.sites//site240*/web/analytics/plugins/Installation/Controller.php:605]
#8 Piwik\Plugins\Installation\Controller->setupSystemCheckView(…) called at [/home/.sites//site240*/web/analytics/plugins/Installation/Controller.php:429]
#9 Piwik\Plugins\Installation\Controller->systemCheckPage(…) called at [:]
#10 call_user_func_array(…) called at [/home/.sites//site240*/web/analytics/core/FrontController.php:531]
#11 Piwik\FrontController->doDispatch(…) called at [/home/.sites//site240*/web/analytics/core/FrontController.php:84]
#12 Piwik\FrontController->dispatch(…) called at [/home/.sites//site240*/web/analytics/core/dispatch.php:34]
#13 require_once(…) called at [/home/.sites//site240*/web/analytics/index.php:47]

regards


(Matthieu Aubry) #3

Please contact your webhost with this error message and kindly ask them to disable this setting for your Piwik server.