Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Getting a error when I want to enter either Magento Connect Manager or Package extensions
 
horsehunter
Jr. Member
 
Total Posts:  3
Joined:  2009-07-06
 

Hi,

I’m getting this error when I enter either Magento Connect Manager or Package extensions.
Anyone who please can explain what a solution to this might can be ?

I’ve pasted my error code here :

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect.  The script whose uid is 1208 is not allowed to access /tmp owned by uid 0 in /var/www/website/public_html/magento/downloader/pearlib/php/System.php on line 474
Trace:
#0 [internal function]: mageCoreErrorHandler(2, ‘realpath() [tmpdir()
#3 /var/www/website/public_html/magento/downloader/pearlib/php/PEAR/DependencyDB.php(22): require_once(’/var/www/codena...’)
#4 /var/www/website/public_html/magento/downloader/pearlib/php/PEAR/Registry.php(23): require_once(’/var/www/codena...’)
#5 /var/www/website/public_html/magento/lib/Varien/Pear.php(29): require_once(’/var/www/codena...’)
#6 /var/www/website/public_html/magento/lib/Varien/Pear/Package.php(3): require_once(’/var/www/codena...’)
#7 /var/www/website/public_html/magento/app/code/core/Mage/Adminhtml/controllers/Extensions/LocalController.php(28): require_once(’/var/www/codena...’)
#8 /var/www/website/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(303): include(’/var/www/codena...’)
#9 /var/www/website/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(282): Mage_Core_Controller_Varien_Router_Standard->_inludeControllerClass(’/var/www/codena...’, ‘Mage_Adminhtml_...’)
#10 /var/www/website/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(195): Mage_Core_Controller_Varien_Router_Standard->_validateControllerClassName(’Mage_Adminhtml’, ‘extensions_loca...’)
#11 /var/www/website/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /var/www/website/public_html/magento/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#13 /var/www/website/public_html/magento/index.php(65): Mage::run()
#14 {main}

Thanks in advance.

Best regards
Ras

 
Magento Community Magento Community
Magento Community
Magento Community
 
horsehunter
Jr. Member
 
Total Posts:  3
Joined:  2009-07-06
 

Hi Again,

I tried to create a tmp folder in the magento folder and chmod 755 or 777
But that didn’t work either.

Best regards
Raz

 
Magento Community Magento Community
Magento Community
Magento Community
 
rainman127
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2008-06-30
 

SAFE MODE Restriction in effect

I would ask my web host about this…
bet thats what’’s giving you trouble

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
horsehunter
Jr. Member
 
Total Posts:  3
Joined:  2009-07-06
 

Thanks for your reply rainman127,

That was correct, found out that my web host haven’t disabled safe mode, and they wont until php6 are to be released..

Best regards
Raz

 
Magento Community Magento Community
Magento Community
Magento Community
 
winta
Member
 
Total Posts:  38
Joined:  2009-09-28
 

;
; Safe Mode
;
safe_mode = Off

; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = On

; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)

 
Magento Community Magento Community
Magento Community
Magento Community
 
sekmo
Member
 
Avatar
Total Posts:  35
Joined:  2009-11-24
Macerata
 

Have you solved this issue?

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