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

Cron Error
 
simon hirst
Jr. Member
 
Total Posts:  5
Joined:  2010-05-08
 

Just upgraded to V1.5.0.1 from 1.4.0.1 and everything works appart from the cron.php it send the followe=ing email:

PHP Fatal error:  Uncaught exception ‘Mage_Core_Exception’ with message ‘ is not a directory or not readable by this user’ in /var/www/vhosts/nosiweb.com/httpdocs/shop/app/Mage.php:550
Stack trace:
#0 /var/www/vhosts/nosiweb.com/httpdocs/shop/app/Mage.php(248): Mage::throwException(’ is not a direc...’)
#1 /var/www/vhosts/nosiweb.com/httpdocs/shop/app/Mage.php(662): Mage::setRoot()
#2 /var/www/vhosts/nosiweb.com/httpdocs/shop/cron.php(29): Mage::isInstalled()
#3 {main}
thrown in /var/www/vhosts/nosiweb.com/httpdocs/shop/app/Mage.php on line 550

I’ve tried re-copying all the files using connect. Also manually re uploading all the files, cleared all the cache and no difference just the same email.

Tried a fresh installation of V1.5.0.1 and that works fine but cannot spot what’s wrong with the main installation.

Can anybody help it would be much appreciated? I’ve been at this for a few days and run out of ideas to try.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Turnkeye
Enthusiast
 
Avatar
Total Posts:  908
Joined:  2008-12-20
URL: turnkeye.com
 

The same issue is described here: http://forum.aheadworks.com/viewtopic.php?f=145&t;=455

Try to chmod 777 the files and chown apache:apache the folders.

 
Magento Community Magento Community
Magento Community
Magento Community
 
SimpleHelixcom
Enthusiast
 
Avatar
Total Posts:  906
Joined:  2007-08-31
Huntsville, AL
 

Hello,

Continuing off the above, we generally recommend 755 for folders, 644, for files, and in some cases, recursively setting the var folder to 777 may help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mudroombench
Jr. Member
 
Total Posts:  1
Joined:  2011-03-19
 

I am facing a similar issue.Do anyone have solution.I am a newbie.Thanks.

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