Install problems


(puckthefly) #1

hi,
i have tried to install piwik but i get the following error and i dont know what to do:

escapeshellcmd() has been disabled for security reasons
in ‘/www/htdocs/w00aa834/piwik/core/Piwik.php’ at the line 1351

#0 Piwik_ErrorHandler(2, escapeshellcmd() has been disabled for security reasons, /www/htdocs/w00aa834/piwik/core/Piwik.php, 1351, Array ([sDir] => /www/htdocs/w00aa834/piwik/core/Db,[sPattern] => *.php,[nFlags] => )) called at [(null):0]
#1 escapeshellcmd(/www/htdocs/w00aa834/piwik/core/Db) called at [/www/htdocs/w00aa834/piwik/core/Piwik.php:1351]
#2 Piwik::globr(/www/htdocs/w00aa834/piwik/core/Db, *.php) called at [/www/htdocs/w00aa834/piwik/core/Db.php:64]
#3 Piwik_Db::getAdapters() called at [/www/htdocs/w00aa834/piwik/plugins/Installation/Controller.php:522]
#4 Piwik_Installation_Controller::getSystemInformation() called at [/www/htdocs/w00aa834/piwik/plugins/Installation/Controller.php:81]
#5 Piwik_Installation_Controller->systemCheck() called at [/www/htdocs/w00aa834/piwik/plugins/Installation/Installation.php:62]
#6 Piwik_Installation->dispatch(Piwik_Event_Notification Object ([_notificationName] => FrontController.NoConfigurationFile,[_notificationObject] => Exception Object ([] => The configuration file /www/htdocs/w00aa834/piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /www/htdocs/w00aa834/piwik/core/Config.php,[] => 110,[] => Array ([0] => Array ([file] => /www/htdocs/w00aa834/piwik/core/Piwik.php,[line] => 1573,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /www/htdocs/w00aa834/piwik/core/FrontController.php,[line] => 207,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /www/htdocs/w00aa834/piwik/index.php,[line] => 90,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0)) called at [(null):0]
#7 call_user_func_array(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => dispatch), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => FrontController.NoConfigurationFile,[_notificationObject] => Exception Object ([] => The configuration file /www/htdocs/w00aa834/piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /www/htdocs/w00aa834/piwik/core/Config.php,[] => 110,[] => Array ([0] => Array ([file] => /www/htdocs/w00aa834/piwik/core/Piwik.php,[line] => 1573,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /www/htdocs/w00aa834/piwik/core/FrontController.php,[line] => 207,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /www/htdocs/w00aa834/piwik/index.php,[line] => 90,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [/www/htdocs/w00aa834/piwik/libs/Event/Dispatcher.php:213]
#8 Event_Dispatcher->addObserver(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => dispatch), FrontController.NoConfigurationFile) called at [/www/htdocs/w00aa834/piwik/core/PluginsManager.php:363]
#9 Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([] => Piwik_Installation_Controller)) called at [/www/htdocs/w00aa834/piwik/core/PluginsManager.php:250]
#10 Piwik_PluginsManager->loadPlugins() called at [/www/htdocs/w00aa834/piwik/core/PluginsManager.php:165]
#11 Piwik_PluginsManager->setPluginsToLoad(Array ([0] => CorePluginsAdmin,[1] => CoreAdminHome,[2] => CoreHome,[3] => API,[4] => Widgetize,[5] => LanguagesManager,[6] => Actions,[7] => Dashboard,[8] => Referers,[9] => UserSettings,[10] => UserCountry,[11] => VisitsSummary,[12] => VisitFrequency,[13] => VisitTime,[14] => VisitorInterest,[15] => ExampleAPI,[16] => ExamplePlugin,[17] => ExampleRssWidget,[18] => ExampleFeedburner,[19] => ExampleRssWidget,[20] => Provider,[21] => Feedback,[22] => Login,[23] => UsersManager,[24] => SitesManager,[25] => Installation)) called at [/www/htdocs/w00aa834/piwik/core/FrontController.php:214]
#12 Piwik_FrontController->init() called at [/www/htdocs/w00aa834/piwik/index.php:90]

can somebody help me please?


(vipsoft) #2

That’s funny! We use escapeshellcmd as a security measure.


(vipsoft) #3

I’ve reviewed the code and have removed the call for the next release.

See patch: http://dev.piwik.org/trac/changeset/1529