David Brown

This is my tumblelog, where I post anything that I find interesting or note-worthy.

Can't get CakePHP to work on IIS7/Vista Home Premium?

CakePHP must have full permissions on /app/tmp. This is done with the IIS Guest Account which isn’t added by default in the Security tab. To enable access for the IIS Guest Account, do the following:

  1. Right-click on /app/tmp
  2. Select Properties and then the Security tab
  3. Click Edit and then Add in the Permissions for tmp dialog
  4. In the text box, enter IUSR and click OK
  5. Now select IUSR in the list and check the Full control check box
  6. Click OK to return to the Properties dialog
  7. Click Advanced
  8. Select IUSR in the list and click Edit
  9. Check the Replace all existing inheritable permissions on all descendants with inheritable permissions from this object box and click OK in all dialogs

You shouldn’t get any permission errors now, but I did get one about Cake being unable to write session data. To fix this, I opened core.php in my PHP editor, located the following line:

Configure::write(‘Session.save’, ‘php’);

and changed it to

Configure::write(‘Session.save’, ‘cake’);

Enjoy!

Make Firefox 3 look good on Vista

Firefox 3 on Vista

Using the Glasser extension alongside the Hide Menubar extension, you can make Firefox blend into Vista very nicely.

Now with more tech!
Now with more tech!

Driver permit!

I finally went and got my driver permit! Yeah, I’m a lazy bum. :D
Please, step into my office
Please, step into my office
Cake or death? That’s a fairly easy question, don’t you think? Eddie Izzard
Hehe. Just testing the upload-from-phone feature.
Hehe. Just testing the upload-from-phone feature.