Installation problem


(Syntaxmovies) #1

I just started installing Piwik, and the first thing that happens when i try to open the piwik page is,

include(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 1264

#0 Piwik_ErrorHandler(2, include(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, 1264, Array ([this] => Piwik_Smarty Object ([template_dir] => Array ([0] => plugins,[1] => themes/default,[2] => themes),[compile_dir] => tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array ([0] => libs/Smarty/plugins,[1] => core/SmartyPlugins),[debugging] => 1,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => 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] => ),[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,[piwikUrl] => http://www.netsolv.dk/piwik/,[subTemplateToLoad] => Installation/templates/welcome.tpl,[steps] => Array ([0] => welcome,[1] => systemCheck,[2] => databaseSetup,[3] => tablesCreation,[4] => generalSetup,[5] => firstWebsiteSetup,[6] => displayJavascriptCode,[7] => finished),[currentStepName] => welcome,[showNextStep] => 1,[allStepsTitle] => Array ([0] => welcome,[1] => systemCheck,[2] => databaseSetup,[3] => tablesCreation,[4] => generalSetup,[5] => firstWebsiteSetup,[6] => displayJavascriptCode,[7] => finished),[currentStepId] => 0,[totalNumberOfSteps] => 8,[percentDone] => 0,[percentToDo] => 100,[nextModuleName] => systemCheck,[previousModuleName] => ,[currentModule] => ,[totalTimeGeneration] => 0.066,[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.22,[_inclusion_depth] => 0,[_compile_id] => ,[_smarty_debug_id] => SMARTY_DEBUG,[_smarty_debug_info] => Array ([0] => Array ([type] => template,[filename] => Installation/templates/structure.tpl,[depth] => 0)),[_cache_info] => Array (),[_file_perms] => 420,[_dir_perms] => 505,[_reg_objects] => Array (),[_plugins] => Array ([modifier] => Array (),[function] => Array ([url] => Array ([0] => smarty_function_url,[1] => ,[2] => ,[3] => ,[4] => 1)),[block] => Array (),[compiler] => Array (),[prefilter] => Array (),[postfilter] => Array (),[outputfilter] => Array ([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 (),[_params] => Array (),[_debug_start_time] => 1239864249.5987,[_included_tpls_idx] => 0,[_smarty_compile_path] => tmp/templates_c%%DF^DF8^DF8D327D%%structure.tpl.php,[_cache_including] => )) called at [C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php:1264]
#1 Smarty::fetch() called at [C:\Inetpub\wwwroot\piwik\libs\Smarty\Smarty.class.php:1264]
#2 Smarty->fetch(Installation/templates/structure.tpl) called at [C:\Inetpub\wwwroot\piwik\core\View.php:113]
#3 Piwik_View->render() called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\View.php:50]
#4 Piwik_Install_View->render() called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\Controller.php:68]
#5 Piwik_Installation_Controller->welcome() called at [C:\Inetpub\wwwroot\piwik\plugins\Installation\Installation.php:61]
#6 Piwik_Installation->startInstallation(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,[] => 108,[] => Array ([0] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\Piwik.php,[line] => 1260,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\FrontController.php,[line] => 216,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => C:\Inetpub\wwwroot\piwik\index.php,[line] => 48,[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] => startInstallation), 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,[] => 108,[] => Array ([0] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\Piwik.php,[line] => 1260,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => C:\Inetpub\wwwroot\piwik\core\FrontController.php,[line] => 216,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => C:\Inetpub\wwwroot\piwik\index.php,[line] => 48,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [C:\Inetpub\wwwroot\piwik\libs\Event\Dispatcher.php:214]
#8 Event_Dispatcher->addObserver(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => startInstallation), FrontController.NoConfigurationFile) called at [C:\Inetpub\wwwroot\piwik\core\PluginsManager.php:360]
#9 Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([] => Piwik_Installation_Controller)) called at [C:\Inetpub\wwwroot\piwik\core\PluginsManager.php:246]
#10 Piwik_PluginsManager->loadPlugins() called at [C:\Inetpub\wwwroot\piwik\core\PluginsManager.php:161]
#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 [C:\Inetpub\wwwroot\piwik\core\FrontController.php:224]
#12 Piwik_FrontController->init() called at [C:\Inetpub\wwwroot\piwik\index.php:48]

What have i done wrong?
It is a Windows 2003 server, PHP version 5.2.8 and MySQL version 5.0.67.
Has anybody got any idear?


(mvanlaar) #2

I’ve you refresh it’s gone?


(Syntaxmovies) #3

Nope, it stays there. So i can’t get any further with the installation. But i wonder if it has anything to do with that smarty class thing. I can’t figure out if it has to be installed seperetly in php in someway.


(Syntaxmovies) #4

Problem solved, it was a huge compination og read/write access and where the path’s were in php, pheuuwww, my poor brain is almost cooking :slight_smile:
But, i still need some help, how can i get visitors count to show on my homepage?
Like ‘You are visitor number’

???

Thanx


(kolchak) #5

You can write a small PHP widget that will pull out the data from the Piwik API. See some examples here:

http://dev.piwik.org/trac/wiki/API/CallingTechniques