Problem in installation


(benten) #1

Hi all,
I have problems during installation. the generated message when i try the first step :
is:
problem writing temporary file ‘/var/www/vhosts/greenn.ci/httpdocs/piwik/tmp/templates_c/wrt4b82a22548be6’

Backtrace:
#0 /var/www/vhosts/greenn.ci/httpdocs/piwik/libs/Smarty/internals/core.write_file.php(32): Piwik_Smarty->trigger_error(‘problem writing…’)
#1 /var/www/vhosts/greenn.ci/httpdocs/piwik/libs/Smarty/internals/core.write_compiled_resource.php(29): smarty_core_write_file(Array, Object(Piwik_Smarty))
#2 /var/www/vhosts/greenn.ci/httpdocs/piwik/libs/Smarty/Smarty.class.php(1451): smarty_core_write_compiled_resource(Array, Object(Piwik_Smarty))
#3 /var/www/vhosts/greenn.ci/httpdocs/piwik/libs/Smarty/Smarty.class.php(1281): Smarty->_compile_resource(‘Installation/te…’, ‘/var/www/vhosts…’)
#4 /var/www/vhosts/greenn.ci/httpdocs/piwik/core/View.php(142): Smarty->fetch(‘Installation/te…’)
#5 /var/www/vhosts/greenn.ci/httpdocs/piwik/plugins/Installation/View.php(52): Piwik_View->render()
#6 /var/www/vhosts/greenn.ci/httpdocs/piwik/plugins/Installation/Controller.php(68): Piwik_Installation_View->render()
#7 /var/www/vhosts/greenn.ci/httpdocs/piwik/plugins/Installation/Installation.php(62): Piwik_Installation_Controller->welcome()
#8 [internal function]: Piwik_Installation->dispatch(Object(Piwik_Event_Notification))
#9 /var/www/vhosts/greenn.ci/httpdocs/piwik/libs/Event/Dispatcher.php(213): call_user_func_array(Array, Array)
#10 /var/www/vhosts/greenn.ci/httpdocs/piwik/core/PluginsManager.php(362): Event_Dispatcher->addObserver(Array, ‘FrontController…’)
#11 /var/www/vhosts/greenn.ci/httpdocs/piwik/core/PluginsManager.php(248): Piwik_PluginsManager->addPluginObservers(Object(Piwik_Installation))
#12 /var/www/vhosts/greenn.ci/httpdocs/piwik/core/PluginsManager.php(165): Piwik_PluginsManager->loadPlugins()
#13 /var/www/vhosts/greenn.ci/httpdocs/piwik/core/FrontController.php(209): Piwik_PluginsManager->setPluginsToLoad(Array)
#14 /var/www/vhosts/greenn.ci/httpdocs/piwik/index.php(103): Piwik_FrontController->init()
#15 {main}

please someone can help me??? style_emoticons/<#EMO_DIR#>/sad.gif


(Matthieu Aubry) #2

you don’t have enough privilege on your directory, which the installer should have said something about it. try to execute: chmod 777/var/www/vhosts/greenn.ci/httpdocs/piwik/tmp/templates_c


(benten) #3

I ran chmod 777/var/www/vhosts/greenn.ci/httpdocs/piwik/tmp/templates_c but it gives the same result.

I told the hosting company to try with their administrator access to change the chmod, it’s the same thing

what can i do!!?


(c3chong) #4

[quote=benten @ Mar 17 2010, 04:17 PM]I ran chmod 777/var/www/vhosts/greenn.ci/httpdocs/piwik/tmp/templates_c but it gives the same result.

I told the hosting company to try with their administrator access to change the chmod, it’s the same thing

what can i do!!?[/quote]

Are you sure the chmod command was run properly? There should be a space between the ‘777’ and the directory (not present in the original suggestion or your reply). Run ‘ls -l /var/www/vhosts/greenn.ci/httpdocs/piwik/tmp/templates_c’ to determine the dir permissions.