Archive: zend framework

 

Its all well and good showing me the MySQL error information, but these kinds of messages always refer to the actual SQL being submitted. As Zend_Db is an abstraction layer, it is often not exactly clear precisely what SQL is being submitted and causing an error. To fix this and make the exceptions display the [...]



 

Been tearing my hair out this morning trying to figure out why a Zend Framework based app was giving me 404 messages on any actions that specified the index controller. To explain, any URL that ended with /index or index/{action_name} would give me the ugly 1and1 404 message. locally of course it worked fine. I [...]



 

Sometimes you don't want to display the error messages for a form. I have tried to find the proper solution to remove validtion error messages and haven't found what I would regard as the proper solution. However what does work for me is to loop through any elements that I want to remove the error [...]



 

Bit hard to describe this one, but if you use Zend Framework along with the MVC functionality, and you also use base classes for your controllers, models etc, you may find that for each controller, model etc the files are pretty much the same apart from the names of the files and the classes. If [...]



 

Check out this excellent introduction to debugging Zend Framework applications using FirePHP. More Reading: