User Profile
- User
- Natcon67
- Location
- Denver, Colorado
Recent Articles
Extended beforeFilter() snippet
This is a simple addition to app_controller.php to allow a more customized beforeFilter() callback.
- Published by Natcon67 04/07/07 - 02:08
- 19365 views
- 3 comments
phpThumb Component
This is my first attempt at writing a component for CakePHP. If you have any suggestions please add them to the comments and I'll incorporate them.
- Published by Natcon67 03/19/07 - 22:44
- 32662 views
- 18 comments







Nate
In the thumb.php component at line 99 add this code below the existing $this->addError() call:
$this->addError(implode('; ',$phpThumb->debugmessages));
This will tell you everything that phpThumb is doing and will help you track down the problem better.
Please, if you find common errors that I can add to the component that will give a better user experience, please add them in the comments here.