[symfony-users] Re: i18n tables with foreign references

2009-06-22 Thread Maerlyn
For future reference: after doublechecking the documentation, the generated base classes and some googling, I was sure Propel had no support for this, so I created my own doSelectJoinAllWithI18n() peer method, by using some common sense and combining the ~JoinAll() and ~WithI18n() functions. The m

[symfony-users] Re: how to index text with special characters

2009-03-13 Thread Maerlyn
Check the slugify method, also found in the Jobeet tutorial, in svn it's in lib/Jobeet.class.php. It uses iconv to convert accented characters via transliteration, so Jobeet::slugify("žltý kôň") returns "zlty kon". On márc. 13, 20:02, zero0x wrote: > Hi, > > (I'm talking about Zend Lucene as sho

[symfony-users] Re: UTF8 half working with symfony 1.2 and MySQL and Propel

2009-02-26 Thread Maerlyn
Just for the sake of clarity: is your database utf8-encoded (I mean, all the fields with the string data)? If you check it via phpmyadmin (or whatever), are the accents correct? For me it seems like you have just set the field collations to utf8 w/ o re-encoding the data inside. On febr. 26, 14:3

[symfony-users] Re: mbstring.dll not found

2009-02-25 Thread Maerlyn
Did you check the correct php.ini? Quite often the cli has a different config file. On febr. 25, 14:32, renathy wrote: > I tried to go through sf-sandbox tutorial, however I've got an error > when i executed the following from command line: > php symfony propel:build-model > > I've got a message

[symfony-users] Re: uuid and guid in prod and dev environment

2009-02-16 Thread Maerlyn
PHPs built-in function_exists() may be faster, although not that elegant. On Feb 16, 7:40 pm, Tomasz Ignatiuk wrote: > Hi guys. > > I am working on a local Wamp server (WIndows) so I use com_create_guid > () to generate GUID. My production server is on Linux system so I need > to use uuid_create