Install error using IIS 6

Trying to install piwik .6.2 on Windows server 2003 using IIS 6 and PHP 5.2.13 and MySQL 5.1.47 I get the following error:

include(C:\Inetpub\wwwroot\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php) [function.include]: failed to open stream: No such file or directory 
in 'C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php' at the line 1263

#0  Piwik_ErrorHandler(2, include(C:\Inetpub\wwwroot\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php) [function.include]: failed to open stream: No such file or directory, C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php, 1263, Array ([this] => Piwik_Smarty Object ([template_dir] => Array ([0] => C:\Inetpub\wwwroot\piwik/plugins,[1] => C:\Inetpub\wwwroot\piwik/themes/default,[2] => C:\Inetpub\wwwroot\piwik/themes),[compile_dir] => C:\Inetpub\wwwroot\piwik/tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array ([0] => C:\Inetpub\wwwroot\piwik/core/SmartyPlugins,[1] => C:\Inetpub\wwwroot\piwik/libs/Smarty/plugins),[debugging] => ,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => C:\Inetpub\wwwroot\piwik/tmp/cache,[cache_lifetime] => 3600,[cache_modified_check] => ,[php_handling] => 0,[security] => ,[secure_dir] => Array (),[security_settings] => Array ([PHP_HANDLING] => ,[IF_FUNCS] => Array ([0] => array,[1] => list,[2] => isset,[3] => empty,[4] => count,[5] => sizeof,[6] => in_array,[7] => is_array,[8] => true,[9] => false,[10] => null),[INCLUDE_ANY] => ,[PHP_TAGS] => ,[MODIFIER_FUNCS] => Array ([0] => count),[ALLOW_CONSTANTS] => ,[ALLOW_SUPER_GLOBALS] => 1),[trusted_dir] => Array (),[left_delimiter] => {,[right_delimiter] => },[request_vars_order] => EGPCS,[request_use_auto_globals] => 1,[compile_id] => ,[use_sub_dirs] => ,[default_modifiers] => Array (),[default_resource_type] => file,[cache_handler_func] => ,[autoload_filters] => Array (),[config_overwrite] => 1,[config_booleanize] => 1,[config_read_hidden] => ,[config_fix_newlines] => 1,[default_template_handler_func] => ,[compiler_file] => Smarty_Compiler.class.php,[compiler_class] => Smarty_Compiler,[config_class] => Config_File,[_tpl_vars] => Array ([SCRIPT_NAME] => /piwik/index.php,[tag] => piwik=0.5.5,[piwikUrl] => http://www.bwsc.org/piwik/,[subTemplateToLoad] => Installation/templates/welcome.tpl,[steps] => Array ([0] => welcome,[1] => systemCheck,[2] => databaseSetup,[3] => databaseCheck,[4] => tablesCreation,[5] => generalSetup,[6] => firstWebsiteSetup,[7] => displayJavascriptCode,[8] => finished),[allStepsTitle] => Array ([0] => Installation_Welcome,[1] => Installation_SystemCheck,[2] => Installation_DatabaseSetup,[3] => Installation_DatabaseCheck,[4] => Installation_Tables,[5] => Installation_GeneralSetup,[6] => Installation_SetupWebsite,[7] => Installation_JsTag,[8] => Installation_Congratulations),[currentStepName] => welcome,[showNextStep] => 1,[newInstall] => 1,[errorMessage] => The configuration file C:\Inetpub\wwwroot\piwik/config/config.ini.php has not been found.,[currentStepId] => 0,[totalNumberOfSteps] => 9,[percentDone] => 0,[percentToDo] => 100,[nextModuleName] => systemCheck,[previousModuleName] => ,[currentModule] => ,[totalTimeGeneration] => 0.095,[totalNumberOfQueries] => 0),[_smarty_vars] => ,[_sections] => Array (),[_foreach] => Array (),[_tag_stack] => Array (),[_conf_obj] => ,[_config] => Array ([0] => Array ([vars] => Array (),[files] => Array ())),[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f,[_version] => 2.6.26,[_inclusion_depth] => 0,[_compile_id] => ,[_smarty_debug_id] => SMARTY_DEBUG,[_smarty_debug_info] => Array (),[_cache_info] => Array (),[_file_perms] => 420,[_dir_perms] => 505,[_reg_objects] => Array (),[_plugins] => Array ([modifier] => Array (),[function] => Array ([postEvent] => Array ([0] => smarty_function_postEvent,[1] => ,[2] => ,[3] => ,[4] => 1),[url] => Array ([0] => smarty_function_url,[1] => ,[2] => ,[3] => ,[4] => 1)),[block] => Array (),[compiler] => Array (),[prefilter] => Array (),[postfilter] => Array (),[outputfilter] => Array ([cachebuster] => Array ([0] => smarty_outputfilter_cachebuster,[1] => ,[2] => ,[3] => 1,[4] => 1),[ajaxcdn] => Array ([0] => smarty_outputfilter_ajaxcdn,[1] => ,[2] => ,[3] => 1,[4] => 1),[trimwhitespace] => Array ([0] => smarty_outputfilter_trimwhitespace,[1] => ,[2] => ,[3] => 1,[4] => 1)),[resource] => Array (),[insert] => Array ()),[_cache_serials] => Array (),[_cache_include] => ,[_cache_including] => ,[_cache_include_info] => ),[resource_name] => Installation/templates/structure.tpl,[cache_id] => ,[compile_id] => ,[display] => ,[_cache_info] => Array (),[_smarty_old_error_level] => 6143,[_smarty_compile_path] => C:\Inetpub\wwwroot\piwik/tmp/templates_c\%%DF^DF8^DF8D327D%%structure.tpl.php,[_cache_including] => )) called at [C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php:1263]
#1  Smarty::fetch() called at [C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php:1263]
#2  Smarty->fetch(Installation/templates/structure.tpl) called at [C:\Inetpub\wwwroot\piwik\core\View.php:146]
#3  Piwik_View->render() called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\View.php:52]
#4  Piwik_Installation_View->render() called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\Controller.php:85]
#5  Piwik_Installation_Controller->welcome(The configuration file C:\Inetpub\wwwroot\piwik/config/config.ini.php has not been found.) called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\Installation.php:73]
#6  Piwik_Installation->dispatch(Piwik_Event_Notification Object ([_notificationName] => FrontController.NoConfigurationFile,[_notificationObject] => Exception Object ([] => The configuration file C:\Inetpub\wwwroot\piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => C:\Inetpub\wwwroot\piwik\core\Config.php,[] => 110,[] => Array ([0] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\Piwik.php,[line] => 1797,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\FrontController.php,[line] => 202,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => C:\Inetpub\wwwroot\piwik\index.php,[line] => 103,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 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 C:\Inetpub\wwwroot\piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => C:\Inetpub\wwwroot\piwik\core\Config.php,[] => 110,[] => Array ([0] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\Piwik.php,[line] => 1797,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\FrontController.php,[line] => 202,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => C:\Inetpub\wwwroot\piwik\index.php,[line] => 103,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [C:\Inetpub\wwwroot\piwik\libs\Event\Dispatcher.php:213]
#8  Event_Dispatcher->addObserver(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => dispatch), FrontController.NoConfigurationFile) called at [C:\Inetpub\wwwroot\piwik\core\PluginsManager.php:362]
#9  Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([] => Piwik_Installation_Controller)) called at [C:\Inetpub\wwwroot\piwik\core\PluginsManager.php:248]
#10 Piwik_PluginsManager->loadPlugins() called at [C:\Inetpub\wwwroot\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] => 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 [C:\Inetpub\wwwroot\piwik\core\FrontController.php:209]
#12 Piwik_FrontController->init() called at [C:\Inetpub\wwwroot\piwik\index.php:103]

All PDO and MySQL extensions enabled in PHP.ini
PHP working on IIS.

Any ideas of what’s going wrong?

Thanks

This looks like a permissions issue.

Were the tmp and tmp/templates_c folders created by the installer? or did you create the folders manually?

I never get to the official install part. After copying the unzipped piwik folder to the server and I attempt to open the index.php I get the above errors.

[quote=CapnKirk @ Jun 10 2010, 12:22 PM]Can someone point me to a howto for using piwik on a Plone website?

I searched the forum here and well as google’d it, and there’s only one thread on this forum about it and that thread is cryptic and incomplete.

TIA!

Kirk[/quote]

Try removing the web.config file. We’re going to create it at installation runtime in a future release.

If that doesn’t help, then it’s an IIS configuration issue (and very much outside my area of expertise), but I’ll try to offer whatever help I can. For example, with IIS7, we use config files to setacl “Modify” privileges over the piwik folder. That’s something you’d have ti do manually for IIS 6, if not already the default.

It looks like the URL path separators are not consistent. The slashes change from windows style (backslash) to unix/linux style (forwardslash), no wonder files can’t be found. Is there any way to set this to be windows style only?

It was a permissions issue after all. We gave Administrator and Guest Account full permissions initially which did not work, but once we added Everybody it was able to create the temp files and we got to the welcome screen.