Archive:

 

Archive for April, 2009


If like me you kicked off your Zend Framework experience with the Quick Start and have kept the error controller system of the Quick Start for your other ZF projects, you might find this little snippet useful. The Quick Start uses the Exception::getTraceAsString() method to give you the stack trace. Unfortunately this function seems to [...]



 

This is my favourite source for hi resolution desktop images. Some really nice pictures and all available in resolutions to suit whichever display you have. http://interfacelift.com More... DisplayFusion: Set Different Desktop Wallpaper On Dual Multi ...Change Desktop Wallpaper Periodically with ThetaWall More Reading:



 

I have recently been messing around trying to figure out the best way of running long processes within a Zend Framework App. Usually I would code in regular flush(); commands to make sure that the browser didnt time out and also that the user can see that something is happening. However, the standard MVC structure [...]



 

Check out this little snippet of htaccess code to force SSL usage. Works regardless of port. PLAIN TEXT CODE: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} More... Top 10 WordPress .htaccess hacks | Omelyn.comx + 3 - Naming a .htaccess File in WindowsMovable Type Monday: Comment via Twitter and .htaccess Hacks | The ...Slackware [...]



 

If you are administering a plesk server running version 8.x then you are likely dealing with phpMyAdmin version 2.8.x.x which has a bug that prevents you from performing database copy operations due to one missing space in the generated SQL. One possible solution here is to simply install phpMyAdmin in its own right and of [...]



 

Update Just use Banshee, it seems to work fine and its actually pretty slick BTW - to format your X-FI, just start it up whilst holding down the play/pause button to get into "recovery mode" the rest is easy Original Blog I have now decided to totally abandon my windows installation and use Linux for [...]



 

I've been using the beta of Ubuntu Jaunty for about a month now and its been great. I'm now upgrading my standard Ubuntu installs with this latest edition which went live today. Many thanks to all the team at Canonical for continuing to produce an excellent open source desktop environment. More... UDS Jaunty - Jorge [...]



 

The scenario here is that you have access to two servers - old and new - and you want to copy a site + database from old server to new server directly. You have root SSH access to both servers. 1. Create a TAR archive of the document root for the site on the old [...]



 

I use this little function as part of my base form class to enable me to easily lock certain form elements. PLAIN TEXT PHP: public function lockField($field){                $elem = $this->getElement($field);                $elem->setAttrib('disabled', true);         $elem->setAttrib('readonly',true);     } usage [...]



 

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. More Reading: