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)
-
If you would like to restrict access to specific page(s) of your Buddypress/bbPress site such as Groups, Forum or Member page from non-logg...
-
In some cases, you might have two PHP configuration files: one for the PHP command line and for the web server. If so, make the change in b...
-
>> Inventory It is global across all the websites and stores. Either the product is IN STOCK or Not! If you need different inventor...
-
If you do not want to the Navigation Bar in your blog-page then you can remove it by following the steps below. But please be aware of the f...
-
>> Download Links: SP Flash Tool (Linux/Windows) : http://bit.ly/2CZkTER SN Write Tool (Windows only) : http://bit.ly/2Aw22Ov ...
