Installation error


(sagive) #1

hey, i have created a new database & installation after
downloading 0.62 from home page…

i get an error right after entering login details

here is the error

ok

Cannot modify header information - headers already sent by (output started at /home/virtual/sagive/public_html/stats/core/Http.php:306) 
in '/home/virtual/sagive/public_html/stats/core/Url.php' at the line 265

#0  Piwik_ErrorHandler(2, Cannot modify header information - headers already sent by (output started at /home/virtual/sagive/public_html/stats/core/Http.php:306), /home/virtual/sagive/public_html/stats/core/Url.php, 265, Array ([url] => index.php?action=firstWebsiteSetup&module=Installation&deleteTables=1)) called at [(null):0]
#1  header(Location: index.php?action=firstWebsiteSetup&module=Installation&deleteTables=1) called at [/home/virtual/sagive/public_html/stats/core/Url.php:265]
#2  Piwik_Url::redirectToUrl(index.php?action=firstWebsiteSetup&module=Installation&deleteTables=1) called at [/home/virtual/sagive/public_html/stats/core/Piwik.php:1167]
#3  Piwik::redirectToModule(Installation, firstWebsiteSetup) called at [/home/virtual/sagive/public_html/stats/plugins/Installation/Controller.php:631]
#4  Piwik_Installation_Controller->redirectToNextStep(generalSetup) called at [/home/virtual/sagive/public_html/stats/plugins/Installation/Controller.php:399]
#5  Piwik_Installation_Controller->generalSetup(The configuration file /home/virtual/sagive/public_html/stats/config/config.ini.php has not been found.) called at [/home/virtual/sagive/public_html/stats/plugins/Installation/Installation.php:73]
#6  Piwik_Installation->dispatch(Piwik_Event_Notification Object ([_notificationName] => FrontController.NoConfigurationFile,[_notificationObject] => Exception Object ([] => The configuration file /home/virtual/sagive/public_html/stats/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /home/virtual/sagive/public_html/stats/core/Config.php,[] => 111,[] => Array ([0] => Array ([file] => /home/virtual/sagive/public_html/stats/core/Piwik.php,[line] => 1544,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /home/virtual/sagive/public_html/stats/core/FrontController.php,[line] => 199,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /home/virtual/sagive/public_html/stats/index.php,[line] => 58,[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 /home/virtual/sagive/public_html/stats/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /home/virtual/sagive/public_html/stats/core/Config.php,[] => 111,[] => Array ([0] => Array ([file] => /home/virtual/sagive/public_html/stats/core/Piwik.php,[line] => 1544,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /home/virtual/sagive/public_html/stats/core/FrontController.php,[line] => 199,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /home/virtual/sagive/public_html/stats/index.php,[line] => 58,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [/home/virtual/sagive/public_html/stats/libs/Event/Dispatcher.php:213]
#8  Event_Dispatcher->addObserver(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => dispatch), FrontController.NoConfigurationFile) called at [/home/virtual/sagive/public_html/stats/core/PluginsManager.php:377]
#9  Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([] => Piwik_Installation_Controller)) called at [/home/virtual/sagive/public_html/stats/core/PluginsManager.php:260]
#10 Piwik_PluginsManager->loadPlugins() called at [/home/virtual/sagive/public_html/stats/core/PluginsManager.php:168]
#11 Piwik_PluginsManager->setPluginsToLoad(Array ([0] => CorePluginsAdmin,[1] => CoreAdminHome,[2] => CoreHome,[3] => API,[4] => Widgetize,[5] => LanguagesManager,[6] => Actions,[7] => Dashboard,[8] => MultiSites,[9] => Referers,[10] => UserSettings,[11] => UserCountry,[12] => VisitsSummary,[13] => VisitFrequency,[14] => VisitTime,[15] => VisitorInterest,[16] => ExampleAPI,[17] => ExamplePlugin,[18] => ExampleRssWidget,[19] => ExampleFeedburner,[20] => ExampleRssWidget,[21] => Provider,[22] => Feedback,[23] => Login,[24] => UsersManager,[25] => SitesManager,[26] => Installation)) called at [/home/virtual/sagive/public_html/stats/core/FrontController.php:206]
#12 Piwik_FrontController->init() called at [/home/virtual/sagive/public_html/stats/index.php:58]

i checked out a post about the same problem bt the links in it
didnt lead to anywhere.

so… i am kinda stuck in mid installation… help anyone style_emoticons/<#EMO_DIR#>/smile.gif


(vipsoft) #2

Replace core/Http.php with this version: http://dev.piwik.org/trac/export/2242/trunk/core/Http.php

Or as a workaround, disable safe_mode and open_basedir.


(sagive) #3

wow thanks a lot man style_emoticons/<#EMO_DIR#>/smile.gif

why dont they embed that to the installation file ?.. weird

style_emoticons/<#EMO_DIR#>/smile.gif have a gr8 day


(Buckaroo) #4

Replace core/Http.php with this version: dev.piwik.org/trac/export/2242/trunk/core/Http.php

I did it, but then an error comes up:

Dateiintegrität:     
Der Integritätscheck ist fehlgeschlagen und hat Fehler ausgegeben. Oftmals geschieht dies durch einen partiellen oder fehlgeschlagenen Upload einiger Piwik Dateien. Laden Sie die Piwik Dateien erneut hoch und aktualisieren Sie diese Seite bis keine Fehler mehr vorhanden sind.

Please help!


(vipsoft) #5

This occurs when transferring files from your Windows desktop to your web server, and you don’t use BINARY mode for the transfer.