Zend Form Disable Fields

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub I use this little function as part of my base form class to enable me to easily lock certain form elements. public function lockField($field){ $elem = $this->getElement($field); $elem->setAttrib('disabled', true); $elem->setAttrib('readonly',true); } usage might be like the following: public function makeForm($action){ $form = new My_Form(array('action'=>$action)); $form->addElement(.. Read On →

Magento Sites Go Down if Magentocommerce.com Goes Down

It looks like Magento sites have a weakness where they throw a fatal error on the admin side if they can not connect to the Magentocommerce site to check for updates. I will post the solution to this shortly, but Magento - please make sure this is fixed ASAP.

Grub Error 21 on a Laptop + Solution

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you ever get Grub Error 21 when trying to boot your Linux laptop or notebook then this post is for you. Grub Error 21 means that it cannot find the hard disk. Read On →

Zend Framework DB Exceptions - Show SQL

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub 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. Read On →

Zend Framework 1and1 Index Controller 404s + Solution

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub 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. Read On →

Ubuntu Force Quit

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub One of the things I quite liked on OSX is the easy ability to force an errant program to quit. In OSX the force quit menu is easily accessible from the apple menu in the top left. Read On →