Magento Forum

   
Erro de instalação
 
josemartins
Jr. Member
 
Total Posts:  4
Joined:  2008-02-14
 

Estou a ter esta mensagem ao lançar o install.php
Fatal error: Uncaught exception ‘Mage_Core_Exception’ with message ‘Unable to find writable var_dir’ in /home/jmvm/public_html/teste/app/code/core/Mage/Core/Model/Config/Options.php:102 Stack trace: #0 /home/jmvm/public_html/teste/app/code/core/Mage/Core/Model/Config/Options.php(39): Mage_Core_Model_Config_Options->getVarDir() #1 /home/jmvm/public_html/teste/app/Mage.php(202): Mage_Core_Model_Config_Options->getDir(’var’) #2 /home/jmvm/public_html/teste/app/Mage.php(587): Mage::getBaseDir(’var’) #3 /home/jmvm/public_html/teste/install.php(140): Mage::printException(Object(Mage_Core_Exception)) #4 {main} thrown in /home/jmvm/public_html/teste/app/code/core/Mage/Core/Model/Config/Options.php on line 102

Que posso fazer?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sousa
Moderator
 
Avatar
Total Posts:  348
Joined:  2007-09-02
Porto, Portugal
 

Tens que dar permissões de escrita ao directório var que está na raiz do site

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top