Installation Problem (Include file not found)

Hi,
Just attempted an install and when I go to the URL where I have installed Piwik, I get the following error message:

"Smarty::include(tmp/templates_c/%%DF^DF8^DF8D327D%%structure.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory
in ‘/usr/www/users/justdo/piwik/libs/Smarty/Smarty.class.php’ at the line 1264

#0 Piwik_ErrorHandler(2, Smarty::include(tmp/templates_c/%%DF^DF8^DF8D327D%%structure.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory, /usr/www/users/justdo/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://justdone.co.za/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.035,[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] => 1243866358.44,[_included_tpls_idx] => 0,[_smarty_compile_path] => tmp/templates_c/%%DF^DF8^DF8D327D%%structure.tpl.php,[_cache_including] => )) called at [/usr/www/users/justdo/piwik/libs/Smarty/Smarty.class.php:1264]
#1 Smarty::fetch() called at [/usr/www/users/justdo/piwik/libs/Smarty/Smarty.class.php:1264]
#2 Smarty->fetch(Installation/templates/structure.tpl) called at [/usr/www/users/justdo/piwik/core/View.php:114]
#3 Piwik_View->render() called at [/usr/www/users/justdo/piwik/plugins/Installation/View.php:50]
#4 Piwik_Install_View->render() called at [/usr/www/users/justdo/piwik/plugins/Installation/Controller.php:68]
#5 Piwik_Installation_Controller->welcome() called at [/usr/www/users/justdo/piwik/plugins/Installation/Installation.php:61]
#6 Piwik_Installation->startInstallation(Piwik_Event_Notification Object ([_notificationName] => FrontController.NoConfigurationFile,[_notificationObject] => Exception Object ([] => The configuration file /usr/www/users/justdo/piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /usr/www/users/justdo/piwik/core/Config.php,[] => 109,[] => Array ([0] => Array ([file] => /usr/www/users/justdo/piwik/core/Piwik.php,[line] => 1292,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /usr/www/users/justdo/piwik/core/FrontController.php,[line] => 216,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /usr/www/users/justdo/piwik/index.php,[line] => 52,[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 /usr/www/users/justdo/piwik/config/config.ini.php has not been found.,[] => ,[] => 0,[] => /usr/www/users/justdo/piwik/core/Config.php,[] => 109,[] => Array ([0] => Array ([file] => /usr/www/users/justdo/piwik/core/Piwik.php,[line] => 1292,[function] => init,[class] => Piwik_Config,[type] => ->,[args] => Array ()),[1] => Array ([file] => /usr/www/users/justdo/piwik/core/FrontController.php,[line] => 216,[function] => createConfigObject,[class] => Piwik,[type] => ::,[args] => Array ()),[2] => Array ([file] => /usr/www/users/justdo/piwik/index.php,[line] => 52,[function] => init,[class] => Piwik_FrontController,[type] => ->,[args] => Array ()))),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [/usr/www/users/justdo/piwik/libs/Event/Dispatcher.php:214]
#8 Event_Dispatcher->addObserver(Array ([0] => Piwik_Installation Object ([] => Piwik_Installation_Controller),[1] => startInstallation), FrontController.NoConfigurationFile) called at [/usr/www/users/justdo/piwik/core/PluginsManager.php:360]
#9 Piwik_PluginsManager->addPluginObservers(Piwik_Installation Object ([] => Piwik_Installation_Controller)) called at [/usr/www/users/justdo/piwik/core/PluginsManager.php:246]
#10 Piwik_PluginsManager->loadPlugins() called at [/usr/www/users/justdo/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 [/usr/www/users/justdo/piwik/core/FrontController.php:224]
#12 Piwik_FrontController->init() called at [/usr/www/users/justdo/piwik/index.php:52]"

There IS nothing in the tmp folder. I had to create two directories there in response to the first error message. The folder was empty in the installation archive as well.

All the best
John

You need to change the directory ownership or permissions for theweb server “user” to read/write files in tmp.

I did.
justdo@www114:~/public_html/piwik$ ls -ld tmp
drwxrwxrwx 2 justdo justdo 4096 2009-06-01 16:21 tmp
justdo@www114:~/public_html/piwik$ cd tmp
justdo@www114:~/public_html/piwik/tmp$ ll
total 0
-rwxrwxrwx 1 justdo justdo 0 2009-06-01 16:21 cache
-rwxrwxrwx 1 justdo justdo 0 2009-06-01 16:20 templates_c
justdo@www114:~/public_html/piwik/tmp$

cache and templates_c should be directories…

Man, do I feel stupid now. Thank you! Worked perfectly. You might want to add something about this to the FAQ/installation instructions though.
All the best
John