View Single Post
  #6  
Old 6th April 2009, 22:55
hahni hahni is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 1
Thanked 0 Times in 0 Posts
Question

Hello Falco,

the Directory Directive doesn't work!
I have installed Magento by extracting the zip-package. I have set the directive but i got this error:

---
Fatal error: Uncaught exception 'Exception' with message 'Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/tmp/magento/var) is not within the allowed path(s): (/var/www/web999/) in /var/www/web999/web/app/code/core/Mage/Core/Model/Config.php on line 745' in /var/www/web999/web/app/code/core/Mage/Core/functions.php:246 Stack trace: #0 [internal function]: mageCoreErrorHandler(2, 'file_exists() [...', '/var/www/web999/...', 745, Array) #1 /var/www/web999/web/app/code/core/Mage/Core/Model/Config.php(745): file_exists('/tmp/magento/va...') #2 /var/www/web999/web/app/code/core/Mage/Core/Model/Config/Options.php(101): Mage_Core_Model_Config->createDirIfNotExists('/tmp/magento/va...') #3 /var/www/web999/web/app/code/core/Mage/Core/Model/Config/Options.php(39): Mage_Core_Model_Config_Options->getVarDir() #4 /var/www/web999/web/app/Mage.php(205): Mage_Core_Model_Config_Options->getDir('var') #5 /var/www/web999/web/app/Mage.php(641): Mage::getBaseDir('var') #6 /var/ in /var/www/web999/web/app/code/core/Mage/Core/functions.php on line 246
---

Best regards

Hahni
Reply With Quote