Search blog
Wednesday, September 23, 2015
Monday, September 7, 2015
[Solved] Magento 500 Internal Server Errors in Ubuntu
I purchased a Magento theme from themeforest and was trying to run a test install in my localhost under Ubuntu. I googled and tried various solutions but all in vain. Perhaps they might work for you and you may give it a try at by visiting the following link: How to Solve Magento 500 Internal Server Errors. But if that does not help you can try doing what I did.
1. Firstly go and check your Apache Error Logs at: '/var/log/apache2/error.log'
2. There check if you are getting an error such as:
[Mon Sep 07 12:40:40.533934 2015] [core:alert] [pid 31413] [client 127.0.0.1:47560] /var/www/html/magento/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
To resolve this open your Terminal by pressing CTRL+ALT+T and enter the following commands. Basically what you are doing is what is called the mod_headers:
and then restart your Apache web server:
Now try accessing your website and it should work!
1. Firstly go and check your Apache Error Logs at: '/var/log/apache2/error.log'
2. There check if you are getting an error such as:
[Mon Sep 07 12:40:40.533934 2015] [core:alert] [pid 31413] [client 127.0.0.1:47560] /var/www/html/magento/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
To resolve this open your Terminal by pressing CTRL+ALT+T and enter the following commands. Basically what you are doing is what is called the mod_headers:
sudo a2enmod headers
and then restart your Apache web server:
service apache2 restart
Now try accessing your website and it should work!
[Solved] - Magento - Cannot delete or update a parent row: a foreign key constraint fails
If you get the following error while trying to drop your Magento tables all you need to do to delete the remaining tables is, first try and drop a few tables from top or bottom and then try deleting the remaining tables all at once.
This should work.
This should work.
Subscribe to:
Posts (Atom)
Top 5 Posts (Weekly)
-
Blogs may get deleted in a number of ways. Once deleted a blog is not lost forever so do not panic. However it is always safer to backup you...
-
>> Download Links: SP Flash Tool (Linux/Windows) : http://bit.ly/2CZkTER SN Write Tool (Windows only) : http://bit.ly/2Aw22Ov ...
-
If you are unable to suspend your laptop, here's the solution which I've tried & tested and it worked with my Lenovo Thinkpad T4...
-
Since yesterday, I've been trying to backup my hard drive using Clonezilla but without any success. Twice I got the following error, wh...
-
Don't know why Mageplaza haven't still listed the composer name of their paid extensions. Look at the comment section of thi...