Hal Gatewood

Christian, Husband, Dad, Web Developer

Doctrine actAs is case sensitive

Posted: May 15th, 2010

After 3 hours of trying to find out why my autoloads were not working it came down to the fact that my Sluggable was sluggable. Ahhhhh.

Some lessons learned:

1. Dreamhost’s SSH is PHP4 which made my symfony CLI calls not work.
Fixed by using /usr/local/php5/bin/php symfony cc instead of php symfony cc

2. Installing PHP 5.3 on shared Dreamhost account not as easy as advertised. (was probably not needed afterall)

3.Case Sensitivity is driVING me craZy!

Soon, I’ll post a link to the new site that this was for…


Creating utf-8 tables in symfony 1.4/doctrine 1.2

Posted: May 2nd, 2010

Add this function to your ProjectConfiguration.class.php

public function configureDoctrine(Doctrine_Manager $manager)
{
  $manager->setCollate('utf8_unicode_ci');
  $manager->setCharset('utf8');
} 

via Creating utf-8 tables in symfony 1.4 /doctrine 1.2 | Connecting the dots….


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.