Doctrine actAs is case sensitive
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
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….
The Symfony command I can never remember
$ php symfony i18n:extract frontend fr --auto-save
The i18n:extract task finds all strings that need to be translated in fr in the frontend application and creates or updates the corresponding catalogue.
The –auto-save option saves the new strings in the catalogue. You can also use the –auto-delete option to automatically remove strings that do not exist anymore.