Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-07 Thread Thomas Rabaix
The lime2 version will tell you why an error occurs, for now every time you see dubious just run your test directly with php yourTest.php On Mon, Dec 7, 2009 at 8:47 AM, Christopher Schnell ty...@mda.ch wrote: Thanks for your hint, Thomas. There was an fatal error in my test because I wrote

[symfony-users] Routing System, Suffix and Trailing Slashes

2009-12-07 Thread Andreas Stephan
Hi, since we updated our project from 1.0 to 1.2 a while ago we have had issues with the routing system and trailing slashes: All our URLs end with a trailing slash. It used to be quite easy to make the routing system behave like this in symfony 1.0 by adding the suffix parameter / to the

[symfony-users] Re: Sf 1.4 Doctrine memory leak with data-dump

2009-12-07 Thread Frédéric Quié
THX, But what value would do the job cause I can't get any to work for me ??? On 6 déc, 20:11, Gabo gabopo...@gmail.com wrote: Try this: php.ini: 1. Memory_Limit: 2.Max_time_execution: if database=mysql 1. Time_limit 2. Max_allowed_package Gabriel Salamanca Cali, Colombia

[symfony-users] i18n, forms and i18n:extract

2009-12-07 Thread Benoît Nadaud
Hi, First, sorry for my english, i'm french. I'm using Symfony 1.2 and i've got some questions about i18n and forms. i18n:extract task does not extract labels and validation messages from form classes. How do you deal with these strings ? I've tried this hack :

[symfony-users] Issue with Building Schema

2009-12-07 Thread DEEPAK BHATIA
Hi, I have done the following 1. Installed Lampp on Linux 2. Installed Symfony on /opt/lampp/htdocs 3. Created a project 4. Created an application inside the project 5. Now I copy schema.yml to config directory 6. Run php symfony propel:build-model I get the following error PHP Fatal error:

Re: [symfony-users] Issue with Building Schema

2009-12-07 Thread Gareth McCumskey
You need to install XSL support for Linux. On a Debian based box it would be: sudo aptitude install php5-xsl Then restart apache: sudo /etc/init.d/apache2 restart - Original Message - From: DEEPAK BHATIA toreachdee...@gmail.com To: symfony-users@googlegroups.com Sent: Monday, December

[symfony-users] Routing.yml and catalogue site

2009-12-07 Thread Sergey Kuznetsov
Hello, everybody! I need help with writing a routing rule for this situation. I have a catalogue site, and it have some static pages, like Contact Us, Terms and Conditions and others, also it have a goods catalogue with three dimensions of deep, something like this: http://domain.tld/contact-us -

[symfony-users] Re: Routing System, Suffix and Trailing Slashes

2009-12-07 Thread Andreas Stephan
Ok, my mistake there was another routing.yml in the application (the default one resides inside a plugin) with an incorrect default url (missing the slash at the end). So just in case anyone's interested, here is how to add a trailing slash in Symfony = 1.2 to all your URLs: routing.yml

Re: [symfony-users] Re: Routing System, Suffix and Trailing Slashes

2009-12-07 Thread Daniel Lohse
Care to share why you're doing this? I'd like to know. Thanks! On 2009-12-07, at 7/December, 3:14 PM, Andreas Stephan wrote: Ok, my mistake there was another routing.yml in the application (the default one resides inside a plugin) with an incorrect default url (missing the slash at

Re: [symfony-users] Re: Sf 1.4 Doctrine memory leak with data-dump

2009-12-07 Thread Fabian Lange
You have to experiment. In general I would not recommend to dump such large tables through an orm. Especially not in PHP 5.3 Do you have 5.3? In 5.2 all objects will stay in memory, which is really a lot Fabian On Mon, Dec 7, 2009 at 2:28 PM, Frédéric Quié frederic.q...@gmail.com wrote: THX,

[symfony-users] i18n:extract for the forms

2009-12-07 Thread HAUSa
Is there a method like the php symfony i18n:extract frontend en command to automatically generate the language XML for the forms? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] i18n:extract for the forms

2009-12-07 Thread Alexandru-Emil Lupu
HI! there is no such thing (at least i don't know it) you might wanna try http://www.symfony-project.org/plugins/sfI18nFormExtractorPlugin On Mon, Dec 7, 2009 at 5:13 PM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Is there a method like the php symfony i18n:extract frontend en

[symfony-users] escaping_strategy in partials

2009-12-07 Thread Christopher Schnell
Hi, is there any way to remove escaping from a partial? The reason for my question is the following: In one of my projects, I am creating a datagrid with the JQuery Plugin jqgrid. jqgrid wants the data as JSON meaning something like var mydata=[{id:1,name:Doe}]... Now, I need almost the same

Re: [symfony-users] escaping_strategy in partials

2009-12-07 Thread Christopher Schnell
Yeah, I am great. Finding the solution 20 seconds after posting to the mailing list. For anyone interested: try ?php echo htmlspecialchars_decode(get_partial('myPartial',array('mydata'=$mydata)),ENT_QUOTES); ? regards, Christopher. Christopher Schnell schrieb: Hi, is there any way to

[symfony-users] Re: Error using sfFacebookConnectPlugin and sfGuardPlugin

2009-12-07 Thread Zach
I have run into another error... I am running the sfFacebookConnectDemo. It prompts me to connect, I enter my facebook email and password, click connect, and I get this error: Strict Standards: Non-static method sfFacebookGuardAdapter::getUserProfileProperty() should not be called statically,

[symfony-users] i18n:extract not generating translation file

2009-12-07 Thread pulse00
Hi all, i'm trying to generate i18n translation files using the following command: symfony i18n:extract frontend --auto-save The command runs without any errors, finds new strings correctly, however no translation files are being generated in app/frontend/i18n/en Anyone an idea what might

[symfony-users] sfdt : Symfony in Edlipse

2009-12-07 Thread roberto german puentes diaz
Someone, know more about this ? http://sourceforge.net/projects/sfdt -- Cr. Puentes Diaz MP 10.12726.9 Córdoba - Argentina www.puentesdiaz.com.ar/blog/ www.puentesdiaz.com.ar/blog/novedades www.twitter.com/puentesdiaz Linux User n° 441474 Ubuntu/Symfony/Eclipse Rocks! Sign for Free License for

[symfony-users] HOT, pls: sfGuard login problem

2009-12-07 Thread drmikecrowe
Hi folks, I'm having random users report login problems using sfGuard. When a user clicks on Login (after filling in their username/password), it immediately returns to the login page with a 401 error. I've added some debugging code, and in BasesfGuardAuthActions.class.php, and it appears the

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Jonathan Wage
This is fixed now in SVN and the values come from the properties.ini file. - Jon On Thu, Dec 3, 2009 at 4:15 PM, Georg Gell geor...@have2.com wrote: Hi, the following tokens can be found in the autogenerated base model classes in sf 1.4. * @package##PACKAGE## * @subpackage

Re: [symfony-users] sfdt : Symfony in Edlipse

2009-12-07 Thread Gabo
Hola Puntes Diaz, sftd es para Eclipse Europa, la verdad probe este plugin y no me parece bueno... te sugiero netbeans 6.8RC2 trae mejor soporte.. y en linux tambien hay buenos plugins. revisa este http://www.symfony-project.org/advent_calendar/4/es Programa mas rapido. Gabriel Salamanca

Re: [symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-07 Thread Georg Gell
Hi, interesting approach, thanks, I would never have thought of this :-/ Is there a way to implement the creation of the fictive is_import column automatically in the dump when doing the task doctrine:data-dump? Georg Alexandre Salomé schrieb: You shouldn't handle the question like this...

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Yes, svn update, symfony doctrine:build --all-classes and it is working out of the box. Thanks a lot for your work. Just out of curiosity, what is the reason why ##EMAIL## is not parsed out of properties.ini, or rather not at all ATM? Georg Jonathan Wage schrieb: This is fixed now in SVN and

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Jonathan Wage
I don't think properties.ini has an e-mail property? I am not sure. That would be a question for Kris, I am not sure. - Jon On Mon, Dec 7, 2009 at 2:56 PM, Georg Gell geor...@have2.com wrote: Yes, svn update, symfony doctrine:build --all-classes and it is working out of the box. Thanks a lot

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Oh, I thought that I could just edit properties.ini and append a line with email:john@example.com, I didn't know that the possible settings are predefined. Thanks for the explanation Georg Jonathan Wage schrieb: I don't think properties.ini has an e-mail property? I am not sure. That

[symfony-users] Re: Getting all errors, translated, as an array

2009-12-07 Thread theredled
I do this to get form errors to an array, and i18n works : $fields_errors = array(); $global_errors = array(); foreach ($form as $key = $field) if ($field-getError()) $fields_errors[$key] = $field-getError()-getMessage(); foreach ($form-getGlobalErrors() as $err)

[symfony-users] Failing tests in symfony:test

2009-12-07 Thread Crafty_Shadow
This was run in windows, php 5.2.9-2 with symfony checked out from SVN (rev 25046) Result: Failed Test Stat Total Fail List of Failed -- functional/ActionRedirectTest 255 1 1 0 trine]

Re: [symfony-users] Failing tests in symfony:test

2009-12-07 Thread Daniel Lohse
Mhm, I have another story to tell. Mac OS X 10.6.2, PHP 5.2.6 with symfony 1.4 stable tag All tests successful; 225 files; 8187 tests. Daniel On 2009-12-07, at 7/December, 11:51 PM, Crafty_Shadow wrote: This was run in windows, php 5.2.9-2 with symfony checked out from SVN (rev 25046)

[symfony-users] Re: Failing tests in symfony:test

2009-12-07 Thread lking
on win xp. PHP 5.2.11 with sf1.4 rev 25061 Failed Test Stat Total Fail List of Failed -- functional/ActionRedirectTest 0 1 1 0 trine] functional/AdminGenTest 0 1 1 0

Re: [symfony-users] Issue with Building Schema

2009-12-07 Thread DEEPAK BHATIA
Hi Gareth, I never faced this issue in installation on linux or windows. I have done the following changes /opt/lampp/bin/php symfony propel:build-model Also extended the path variable to be PATH=/opt/lampp/bin/;/usr/bin So the php executable is taken from /opt/lampp/bin Thanks for your

Re: [symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-07 Thread Alexandre Salomé
Maybe the toArray method must be overriden. Not sure, Alexandre 2009/12/7 Georg Gell geor...@have2.com Hi, interesting approach, thanks, I would never have thought of this :-/ Is there a way to implement the creation of the fictive is_import column automatically in the dump when doing the

Re: [symfony-users] HOT, pls: sfGuard login problem

2009-12-07 Thread Alexandre Salomé
Hello, In your form header : form action=... method=POST ... /form You can use Firebug to watch the Network HTTP transactions. It will tell you if there was a redirection, where does the form submit, etc. 2009/12/7 drmikecrowe drmikecr...@gmail.com Hi folks, I'm having random users

Re: [symfony-users] i18n:extract not generating translation file

2009-12-07 Thread Alexandre Salomé
Isn't it a problem of parameter order ? symfony i18n:extract --auto-save frontend Alexandre 2009/12/7 pulse00 r.gruend...@gmail.com Hi all, i'm trying to generate i18n translation files using the following command: symfony i18n:extract frontend --auto-save The command runs without any

Re: [symfony-users] Re: Error using sfFacebookConnectPlugin and sfGuardPlugin

2009-12-07 Thread Alexandre Salomé
Hi, You should contact the author of the plugin to have more informations, or look for a README file or an INSTALL file. Alexandre 2009/12/7 Zach zach...@gmail.com I have run into another error... I am running the sfFacebookConnectDemo. It prompts me to connect, I enter my facebook email

[symfony-users] Re: Failing tests in symfony:test

2009-12-07 Thread Crafty_Shadow
Well, mine too was sf 1.4 checked out from SVN (same as lking). This may be a windows specific issue that causes the tests to fail On Dec 8, 5:16 am, lking zgonia...@gmail.com wrote: on win xp. PHP 5.2.11 with sf1.4 rev 25061 Failed Test                     Stat  Total   Fail  List of Failed

Re: [symfony-users] How change an admin generator filter to use a multiple choose select field

2009-12-07 Thread Pedro Casado
how did you fix it ? i got the same problem. thanks Att, Pedro Casado On Thu, Aug 6, 2009 at 7:23 PM, Nei Rauni Santos nra...@gmail.com wrote: Guys, I'm trying to change a field to use multiple choose select on my admin generator module. For to do it I follow these steps. I've