Wednesday, September 23, 2015

Check Your Internet Speed from Terminal, Ubuntu

This post explains you how to test your internet speed from your terminal in Ubuntu:

1. Install the python-pip package:

 sudo apt-get install python-pip  

2. Now install the speedtest-cli:

 sudo pip install speedtest-cli 

3. Finally run the command below to test your internet speed:

 speedtest-cli  


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:

 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.

Top Magento Hosting:

Top 5 Posts (Weekly)

Lets Connect: