symfony and doctrine: default table collation, a better solution

by prettyscripts on 2010-03-08 11:09:13 • Leave a comment »

symfony

as of symfony 1.4 and if working with doctrine, there are still problem setting default and correct table encoding and collations with symfony doctrine:build task. i have previously posted 2 solution. the 1st involves hacking the core code, which needs… more »

Tags: collation, database, doctrine, encoding, symfony

symfony: sfDoctrineGuardPlugin and customizing user profile

by prettyscripts on 2010-03-03 11:43:54 • Leave a comment »

symfony

sfDoctrineGuardPlugin provides basic authentication. sf_guard_user table only contains minimal fields to make this feature work. all other user relevant information such as name, birthday, contact numbers etc require a new table sf_guard_user_profile tha… more »

Tags: doctrine, profile, symfony, user

symfony plugin: install and uninstall manually

by prettyscripts on 2010-03-02 12:42:43 • 1 comment »

symfony

symfony's command line plugin install and uninstall tasks don't work - this could be because the server i'm working on does not have internet connection. so i have to do things manually.manual installdownload the package from plugins site (if not p… more »

Tags: install, plugin, symfony, uninstall

symfony: undefined method Doctrine_Collection::offset()

by prettyscripts on 2009-12-16 12:24:11 • Leave a comment »

phpsymfony

i got the following error was displayed when paginating results with sfDoctrinePager:Fatal error: Call to undefined method Doctrine_Collection::offset() in /path/to/symfony/lib/plugins/sfDoctrinePlugin/lib/pager/sfDoctrinePager.class.php on line 84… more »

Tags: doctrine, offset, symfony

symfony: doctrine build-all and table collation

by prettyscripts on 2009-11-02 12:14:38 • 2 comments »

phpsymfony

when working on symfony project it's common to run symfony doctrine:build-all (update - in V1.4 symfony doctrine:build --all) constantly. but after the command is run, the collation / encoding is changed to something that wasn’t used when the database wa… more »

Tags: collation, database, doctrine, encoding, php, symfony