The strange case of Woocommerce Csv Export plugin not working

WooCommerce is an WordPress plugin that lets you sell products and services from your website: it’s free but with additional features available as paid addons.

Among those available plugin is Woocommerce Csv Export that permit to export orders and other stuff from WooCommerce database to a CSV file easily, using ftp, mail or just create a file in a local folder.

These days I’ve moved a WordPress web-site, using WooCommerce + Woocommerce Csv Exportor, working properly for years in a new Debian-based LAMP hosting and…. it did not work anymore. Continue reading →

Connect PHP in Debian Jessie to Ms Sql Server using FreeTDS

In this post we will connect Php code in Linux env (Debian 8 Jessie) to M$ Sql Server, using FreeTDS (latest vers.).

We start from a fresh installation of Debian 8 Jessie.

# apt-get update && sudo apt-get upgrade
# apt-get install apache2
# apt-get install php5
# /etc/init.d/apache2 restart
# apt-get install dpkg-dev
# apt-get install devscripts

To check that php5 works fine

# php -v
PHP 5.6.13-0+deb8u1 (cli) (built: Sep 7 2015 13:38:37)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

Now if all works fine you can continue. Click here to continue reading Php code in Linux to Ms Sql Server using Freetds