MySQL & PHP: Get distance between two coordinates in miles/kilometers
Getting the distance in miles or kilometers between two coordinates is not impossible in MySQL, the query is just really nasty looking! It is easier to explain with an example case, so lets use Dallas...
View ArticleSQL Transactions with Kohana 3.x
Since Kohana 2.x, the development team added nice transaction methods to the database class that are comparable to those of Propel, ADODB, PDO, etc. To start, commit, and rollback transactions in...
View ArticleUpdate to using WHMCS 5 with Plesk 10.4 and enabling graceful Apache restarts
We just upgraded our server software for our StarAuto CMS product and we came across a new Apache restart issue with Plesk 10.4 after a new account is created. Our WHMCS installation was also upgraded...
View ArticlePHPMyAdmin is not working with MAMP: Cannot start session without errors
For no apparent reason, PHPMyAdmin from MAMP on my local development environment stopped working and only displayed the following error. Cannot start session without errors, please check errors given...
View Article