Magento Forum

Magento Connect Manager PHP error (downloader/index.php on line 26)
 
schaafkopf
Jr. Member
 
Total Posts:  2
Joined:  2012-10-26
 

Hello,

I clicked on System -> Magento Connect -> Magento Connectmanager and than only php error:

Fatal error: Class ‘Mage’ not found in /var/www/vhosts/liv-vitan.com/httpdocs/downloader/index.php on line 26

It is normal that the files like index.php have permissions 666 ???

Perhaps it has to do with my Plesk Update please help.

Magento Version 1.7.0.2
Dominik

 
Magento Community Magento Community
Magento Community
Magento Community
 
schaafkopf
Jr. Member
 
Total Posts:  2
Joined:  2012-10-26
 

I replaced the file from the install directory and fixed the file permissions with that commands on my plesk server:

Reset all the files permissions
sudo find . -type f -exec chmod 644 {} \;

Reset all the directory
sudo find . -type d -exec chmod 755 {} \;

Give full write permission to the following folders
chmod 777 app/etc/
chmod 777 var/
chmod 777 media/

Perhaps it will help someone else.

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