@anonymous-piwik-user opened this Issue on June 7th 2011

I followed the procedure to install piwik. All went through fine.

When i tried to run /piwik on browser got some errors related to directories in temp directory. So added 777 permission from root (/piwik).

After all this correction, when i try to run piwik, i get the following error

include(C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php) [function.include]: failed to open stream: No such file or directory
in 'C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\libs\Smarty\Smarty.class.php' at the line 1263
#0 Piwik_ErrorHandler(2, include(C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php) [failed to open stream: No such file or directory, C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\libs\Smarty\Smarty.class.php, 1263, Array (this => Piwik_Smarty Object ([=> Array (0 => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/plugins,[=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/themes/default,2 => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/themes),[=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/tmp/templates_c,config_dir => configs,[=> Array (0 => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/core/SmartyPlugins,[=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/libs/Smarty/plugins),debugging => ,[=> 6143,debug_tpl => ,[=> NONE,compile_check => 1,[=> ,caching => 0,[=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/tmp/cache,cache_lifetime => 3600,[=> ,php_handling => 0,[=> ,secure_dir => Array (),[=> Array (PHP_HANDLING => ,[=> Array (0 => array,[=> list,2 => isset,[=> empty,4 => count,[=> sizeof,6 => in_array,[=> is_array,8 => true,[=> false,10 => null),[=> ,PHP_TAGS => ,[=> Array (0 => count),[=> ,ALLOW_SUPER_GLOBALS => 1),[=> Array (),left_delimiter => {,[=> },request_vars_order => EGPCS,[=> 1,compile_id => ,[=> ,default_modifiers => Array (),[=> file,cache_handler_func => ,[=> Array (),config_overwrite => 1,[=> 1,config_read_hidden => ,[=> 1,default_template_handler_func => ,[=> Smarty_Compiler.class.php,compiler_class => Smarty_Compiler,[=> Config_File,_tpl_vars => Array ([=> /piwik/Index.php,piwikUrl => http://charityambassador.com/piwik/,[=> http://charityambassador.com/piwik/,[piwik_version](currentUrlWithoutFilename]) => 1.4,[=> Installation/templates/welcome.tpl,steps => Array ([=> welcome,1 => systemCheck,[=> databaseSetup,3 => databaseCheck,[=> tablesCreation,5 => generalSetup,[=> firstWebsiteSetup,7 => displayJavascriptCode,[=> finished),allStepsTitle => Array ([=> Installation_Welcome,1 => Installation_SystemCheck,[=> Installation_DatabaseSetup,3 => Installation_DatabaseCheck,[=> Installation_Tables,5 => Installation_SuperUser,[=> Installation_SetupWebsite,7 => Installation_JsTag,[=> Installation_Congratulations),currentStepName => welcome,[=> 1,newInstall => 1,[=> The configuration file {C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/config/config.ini.php} has not been found.,currentStepId => 0,[=> 9,percentDone => 0,[=> 100,nextModuleName => systemCheck,[=> ,previousPreviousModuleName => ,[=> ,totalTimeGeneration => 1.112,[=> 0),_smarty_vars => ,[=> Array (),_foreach => Array (),[=> Array (),_conf_obj => ,[=> Array (0 => Array ([=> Array (),files => Array ())),[=> f8d698aea36fcbead2b9d5359ffca76f,_version => 2.6.26,[=> 0,_compile_id => ,[=> SMARTY_DEBUG,_smarty_debug_info => Array (),[=> Array (),_file_perms => 420,[=> 505,_reg_objects => Array (),[=> Array (modifier => Array (),[=> Array (postEvent => Array ([=> smarty_function_postEvent,1 => ,[=> ,3 => ,[=> 1),url => Array ([=> smarty_function_url,1 => ,[=> ,3 => ,[=> 1)),block => Array (),[=> Array (),prefilter => Array (),[=> Array (),outputfilter => Array ([=> Array (0 => smarty_outputfilter_cachebuster,[=> ,2 => ,[=> 1,4 => 1),[=> Array (0 => smarty_outputfilter_trimwhitespace,[=> ,2 => ,[=> 1,4 => 1)),[=> Array (),insert => Array ()),[=> Array (),_cache_include => ,[=> ,_cache_include_info => ),[=> Installation/templates/structure.tpl,cache_id => ,[=> ,display => ,[=> Array (),_smarty_old_error_level => 6143,[=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php,_cache_including => )) called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\libs\Smarty\Smarty.class.php:1263]
#1 Smarty::fetch() called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\libs\Smarty\Smarty.class.php:1263]
#2 Smarty->fetch(Installation/templates/structure.tpl) called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\View.php:136]
#3 Piwik_View->render() called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\plugins\Installation\View.php:57]
#4 Piwik_Installation_View->render() called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\plugins\Installation\Controller.php:88]
#5 Piwik_Installation_Controller->welcome(The configuration file {C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/config/config.ini.php} has not been found.) called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\plugins\Installation\Installation.php:72]
#6 Piwik_Installation->dispatch(Piwik_Event_Notification Object ([=> FrontController.NoConfigurationFile,_notificationObject => Exception Object ([=> The configuration file {C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/config/config.ini.php} has not been found., => ,[=> 0, => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\Config.php,[=> 121, => Array ([=> Array (file => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\Piwik.php,[=> 1913,function => init,[=> Piwik_Config,type => ->,[=> Array ()),1 => Array ([=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\FrontController.php,line => 205,[=> createConfigObject,class => Piwik,[=> ::,args => Array ()),[=> Array (file => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\index.php,[=> 57,function => init,[=> Piwik_FrontController,type => ->,[=> Array ()))),_notificationInfo => Array (),[=> 0,_notificationCount => 0))
#7 call_user_func_array(Array ([=> Piwik_Installation Object ( => Piwik_Installation_Controller),[=> dispatch), Array (0 => Piwik_Event_Notification Object ([=> FrontController.NoConfigurationFile,_notificationObject => Exception Object ([=> The configuration file {C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik/config/config.ini.php} has not been found., => ,[=> 0, => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\Config.php,[=> 121, => Array ([=> Array (file => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\Piwik.php,[=> 1913,function => init,[=> Piwik_Config,type => ->,[=> Array ()),1 => Array ([=> C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\FrontController.php,line => 205,[=> createConfigObject,class => Piwik,[=> ::,args => Array ()),[=> Array (file => C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\index.php,[=> 57,function => init,[=> Piwik_FrontController,type => ->,[=> Array ()))),_notificationInfo => Array (),[=> 0,_notificationCount => 0))) called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\libs\Event\Dispatcher.php:213]
#8 Event_Dispatcher->addObserver(Array ([=> Piwik_Installation Object ( => Piwik_Installation_Controller),[=> dispatch), FrontController.NoConfigurationFile) called at C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\PluginsManager.php:458
#9 Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([=> Piwik_Installation_Controller)) called at C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\PluginsManager.php:330
#10 Piwik_PluginsManager->reloadPlugins() called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\PluginsManager.php:219]
#11 Piwik_PluginsManager->loadPlugins(Array ([=> CorePluginsAdmin,1 => CoreAdminHome,[=> CoreHome,3 => Proxy,[=> API,5 => Widgetize,[=> LanguagesManager,7 => Actions,[=> Dashboard,9 => MultiSites,[=> Referers,11 => UserSettings,[=> Goals,13 => SEO,[=> UserCountry,15 => VisitsSummary,[=> VisitFrequency,17 => VisitTime,[=> VisitorInterest,19 => ExampleAPI,[=> ExamplePlugin,21 => ExampleRssWidget,[=> ExampleFeedburner,23 => Provider,[=> Feedback,25 => Login,[=> UsersManager,27 => SitesManager,[=> Installation,29 => CoreUpdater,[=> PDFReports,31 => UserCountryMap,[=> Live,33 => CustomVariables)) called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\core\FrontController.php:217]
#12 Piwik_FrontController->init() called at [C:\inetpub\vhosts\charityambassador.com\httpdocs\piwik\index.php:57]

@robocoder commented on June 10th 2011 Contributor

On Windows, you have to change the access control lists.

Alternatively, install Piwik through Microsoft's Web App Gallery. It contains IIS-specific configuration files. After you've installed Piwik, you can update to the latest version from within the app.

This Issue was closed on June 10th 2011
Powered by GitHub Issue Mirror