Tips Blog

Welcome to our technical tips blog – solutions and answers for numerous Joomla, Wordpress, Magento, Linux, MySQL and other problems.
 

SFTP with Filezilla and Putty

In case of IP address restrictions, if you want to connect to SFTP via another host eg.a server, you can do this by SSHing in to the other host. Open a Putty session and connect to your host using SSH.

read more

Delete a Magento order in 1.9 using MySQL

To delete an order from Magento 1.9 using SQL – “100001234” is the order number : SET @increment_id=’100001234′;SELECT @order_id:=entity_id FROM sales_flat_order WHERE increment_id=@increment_id;DELETE FROM sales_flat_order WHERE entity_id=@order_id;DELETE FROM sales_flat_order WHERE increment_id=@increment_id;DELETE FROM sales_flat_invoice WHERE increment_id=@increment_id; DELETE FROM sales_flat_shipment WHERE increment_id=@increment_id;DELETE

read more

How to use fail2ban and iptables

Config files for fail2ban are in /etc/fail2ban. On CentOS fail2ban uses SYSLOG which is /var/log/messages as its log file. grep fail2ban fail2ban bans addresses for ‘bantime’ seconds (often 10minutes) in /etc/fail2ban/fail2ban.conf List currently banned IP addresses : iptables -L -nv

read more

Magento Shipping Matrix Rates Extension Tips

Go to Configuration -> Delivery/Shipping Methods In config change “Current Configuration Scope” (top left) to Main website – to download the CSV. If this doesn’t contain the rates you need, you’ll have to edit the database table directly. The table

read more

WordPress wp_options has grown too big

Run this – clears out Nextgen gallery rows bloating the table : DELETE FROM wp_options WHERE option_name like ‘_transient_%’ OR option_name like ‘displayed_galleries%’