Ben's Pro Tips

Tech Tips Made Easy

Category Archives: PHP Tips

Tips and code snippets for Javascript development.

OpenCart: How to exclude tax from your Google Products feed

Due to an odd design decision, OpenCart will always factor in sales (or VAT) taxes in your Google Products feed (or Froogle or Google Base or Google Shopping or Google Merchants or whatever the heck they’re calling it this week). … Continue reading

March 25, 2014 eCommerce, PHP Tips

Upgrading to PHP 5.5 (or PHP 5.4) on Ubuntu 12.04 Precise Pangolin

To upgrade the default PHP 5.3 to 5.5 and still receive automatic updates, you can do the following:

February 13, 2014 Linux Server Tips, PHP Tips php, php 5.4, php 5.5, ubuntu server, upgrade

Adding canonical URLs to your OpenCart pages (for free)

OpenCart is a pretty good free PHP shopping cart system. Despite its popularity, some of its missing features are glaring, especially when it comes to SEO. OpenCart does implement the rel=”canonical” tag on its product pages. However, there’s no canonical … Continue reading

February 6, 2014 eCommerce, PHP Tips canonical, opencart

CakePHP error: Fatal error: Class ‘Router’ not found in xxxx

Are you getting the Router not found error in your CakePHP app? Let me guess, you just moved servers or directories, right? Fortunately it’s an easy fix. Cake keeps caches of computationally expensive data in order to reduce CPU and … Continue reading

February 12, 2011 PHP Tips, Programming Tips