Archive for September, 2007

Defrag and Shrink VMware disks

Posted: 17th September 2007 by Grant Perry in Virtualisation

The vmware-vdiskmanager.exe that comes with VMware Server can defrag and shrink your virtual drives.. But to make life easier check out these automated BAT files someones written to help out with the tasks. But remember not run this on VM’s that have snapshots!!

I’m involved in the development of a large web application (using Zend Framework) with many different types of entities inside! Some functions performed on these entities should be accessible to some users but not others… To make things more interesting users can assign other users with rights to these entities… We’re going for a hands [...]

Access is Denied: Fixing windows permissions!

Posted: 11th September 2007 by Grant Perry in Operating systems, Windows

Having trouble with permissions to a file on Windows XP? So was I even though I was logged as an Administrator.. the same account which created the file.. the permissions hadn’t been modified.. Even worse the files locked were a virtual server I had spent days configuring! The process to fix it was actually quite [...]

Version control (also known as Revision control or Source control) is the management of different versions of files. I don’t know how large development teams could survive without it! Typically they all have one thing in common they help multiple developers contribute to a single project using an central server. But how can it help? [...]

Zend_Auth bug with MS SQL

Posted: 6th September 2007 by Grant Perry in PHP, Zend Framework

Currently Zend_Auth won’t work if you’re using a Micrsoft SQL Server database for storing your account credentials. This is because of a bug in the \Zend\Auth\Adapter\DbTable.php specifically in the authenticate() function. The SQL Statement it generates is not MS SQL friendly: SELECT "users".*, "credential" = ‘mypass’ AS zend_auth_credential_match FROM "users" WHERE ("identity" = ‘me’) Consequently [...]