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)
-
First make sure you have some unallocated space on the left or right of the main partition where your Ubuntu is installed as the figur...
-
>> Download Links: SP Flash Tool (Linux/Windows) : http://bit.ly/2CZkTER SN Write Tool (Windows only) : http://bit.ly/2Aw22Ov ...
-
Since yesterday, I've been trying to backup my hard drive using Clonezilla but without any success. Twice I got the following error, wh...
-
Below are the settings you can use to configure your mail server if yo are MOS client in Nepal: Account Type: Pop3 Incoming Server: ma...
-
Add your blog/website to the Google Index, to be listed in the Google Search Engine. Doing this will help new visitors locate your blog...