If you have set cakephp up so that DocumentRoot of apache is pointing to app/webroot/ you might have encountered a couple of errors like these - not the first time you set it up, but consequent attempts to remove and replace the files.
Posted on August 12th, 2008 by franktank
Filed under: Tips of the Week | No Comments »
If you have admin routing set:
Configure::write(’Routing.admin’, ‘admin’);
Redirecting between admin_* and non admin functions inside the controller, or linking to admin_* functions from non admin views can throw an error unless you pass an admin variable in the URL.
Posted on July 30th, 2008 by franktank
Filed under: Tips of the Week | No Comments »
Iconv is a useful tool to convert the encoding of given files from one encoding to another - which comes in very handy if you want to migrate that old MySQL 4 database to a hot new MySQL 5.
I recently had to migrate a database from MySQL 4 to 5 and its not as easy […]
Posted on July 21st, 2008 by franktank
Filed under: Tips of the Week | No Comments »
This is a fun one I found today - using getElementById() in IE7 to find a dom element on the page, if you are getting some interesting errors then one possibility is that you have two elements with the same id - or the same name attribute it seems.
Posted on April 24th, 2008 by franktank
Filed under: Tips of the Week | 3 Comments »
Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.
You could install Davids batch processor for Gimp.
OR, you could do it the truly easy way with a single command:
Posted on April 9th, 2008 by franktank
Filed under: Tips of the Week | No Comments »