Add more error handling.
Add more error handling.

ndm2/cakephp,CakeDC/cakephp,ndm2/cakephp,CakeDC/cakephp,ndm2/cakephp,cakephp/cakephp,ADmad/cakephp,ADmad/cakephp,ADmad/cakephp,ADmad/cakephp,CakeDC/cakephp,cakephp/cakephp,cakephp/cakephp,cakephp/cakephp,CakeDC/cakephp,ndm2/cakephp