I tried to update my magento 1.9.3 version to magento 1.9.4.1 by replacing the files by magento 1.9.4.1. After that i am getting an 500 internal server error.
How can I resolve this? I am using cPanel to replace the files.
I tried to update my magento 1.9.3 version to magento 1.9.4.1 by replacing the files by magento 1.9.4.1. After that i am getting an 500 internal server error.
How can I resolve this? I am using cPanel to replace the files.
Most probably this is due to file permissions. From the root of your Magento install run:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./media -type d -exec chmod 777 {} \;
If this works, you should try to lower the permissions a little, this are too permissive but will allow you to check if you are on the right path. If it's working please check this excellent answer for detailed explanation.
File Permisions enter 644 in the Numeric values, check Recurse into subdirectories and select apply to files only, click OKvar and media select them, enter 777 and apply it to directories and files. If you need some visual reference check - https://www.pickaweb.co.uk/kb/change-file-folder-permissions-using-filezilla/ Or if you prefer some other FTP client check how you can set permissions recursively.
– Dimitar Ivanov
Apr 10 '19 at 06:15