[symfony-users] Duplicate entry exception when save a form with embedI18n

2009-10-28 Thread David BOUCHÉ
Hello, I have a problem today when I try to save a form with two i18n embed forms. # Context : symfony : 1.3.0-DEV php: 5.2.6-3ubuntu4.2 SERVER_SOFTWARE: 'Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch' os: 'Linux tux 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009

[symfony-users] How to manage big uploads

2009-10-28 Thread Gorka
When it comes to video or audio files, uploading via http forms does not seem to be the best approach: timeouts, size limits, etc... usually get on the way. How would you manage big (+20MB) or batch uploads? I guess the best solution would be a client-side code either in java, flash o

[symfony-users] sfWidgetFormPropelJQueryAutocompleter setdefault

2009-10-28 Thread Job
hi there, i am using a sfWidgetFormPropelJQueryAutocompleter which works perfect. i am using setdefault function but does not work, anyone knows how to solve this? (i was using before sfWidgetFormTextarea and setDefault worked perfectly) thanks in advance,

[symfony-users] Dependency Injection Service Container: different environments

2009-10-28 Thread Lukas Kahwe Smith
Hi, I have a problem where I am not sure how to best structure this using the service container yaml syntax. Take for example this configuration for production: services: db: class:api_db_doctrine arguments: dsn: mysql://infocube:l...@localhost/infocube

[symfony-users] Re: custom user class

2009-10-28 Thread lorenx
hi alexandru... my question 1) was exactly on that class: the call (BasesfGuardAuthActions.class.php: 45) is all lowercase (sign()) but the sfGuardSecurityUser method as the capital i (signIn())... just another question i didn't find with google: what's the difference between the sfValidator and

[symfony-users] Re: How to manage big uploads

2009-10-28 Thread DEEPAK BHATIA
Every web application has a limit on upload else your server could be crashed for no space On Wed, Oct 28, 2009 at 4:41 PM, Gorka glopezdeto...@gmail.com wrote: When it comes to video or audio files, uploading via http forms does not seem to be the best approach: timeouts, size limits,

[symfony-users] Netbeans Status: Oracle speaks

2009-10-28 Thread roberto german puentes diaz
Be carefull, user of Netbeans http://java.dzone.com/news/oracle-reveals-plans-netbeans *NetBeans* Oracle intends to provide NetBeans as an additional open source option to complement JDeveloper and Oracle Enterprise Pack for Eclipse. Oracle makes it clear however, that JDeveloper is still

[symfony-users] sfDoctrineApplyPlugin version 1.1.0: a significant security improvement, and a change of mailer

2009-10-28 Thread Tom Boutell
Version 1.1.0 of sfDoctrineApplyPlugin has been released. Two important changes you need to understand before upgrading: 1. A security improvement. Previously usernames and full names were not validated apart from their length. Now usernames are required to contain only word characters

[symfony-users] Re: sfDoctrineApplyPlugin version 1.1.0: a significant security improvement, and a change of mailer

2009-10-28 Thread david
Cool - great to see it ready for sf 1.3 On Wed, 28 Oct 2009 18:49:21 +0100, Tom Boutell t...@punkave.com wrote: Version 1.1.0 of sfDoctrineApplyPlugin has been released. Two important changes you need to understand before upgrading: 1. A security improvement. Previously usernames and full

[symfony-users] Symfony output escaping in the templates of plugins

2009-10-28 Thread Tom Boutell
I write plugins which other people use in their Symfony apps. They might be using any of the possible escaping_strategy settings. I need a consistent way to access the escaped and non-escaped forms of the variables and request fields, REGARDLESS of that setting, because I don't want to force a

[symfony-users] Production routing vs. dev environment routing.

2009-10-28 Thread Zach
I've been stuck on this for quite some time and hope someone can help me. It's probably something simple that I am overlooking (and I hope it is) but I can't figure it out. I am integrating PayPal Payments Pro Recurring Billing using Express Checkout. I have already successfully integrated

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Sid Bachtiar
1. Did you clear cache? ./symfony cc 2. Do you have mod_rewrite enabled on your production server? On Thu, Oct 29, 2009 at 8:56 AM, Zach zach...@gmail.com wrote: I've been stuck on this for quite some time and hope someone can help me. It's probably something simple that I am overlooking

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Zach
Thanks for the fast reply! 1. yes I did symfony cc 2. yes... I have RewriteEngine On in the .htaccess (that enables mod_rewrite right?) On Oct 28, 3:07 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: 1. Did you clear cache? ./symfony cc 2. Do you have mod_rewrite enabled on your production

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Sid Bachtiar
2. yes... I have RewriteEngine On in the .htaccess (that enables mod_rewrite right?) Not just there. Your apache web server must have it enabled. If you're on linux: sudo a2enmod rewrite then restart apache On Thu, Oct 29, 2009 at 9:23 AM, Zach zach...@gmail.com wrote: Thanks for the fast

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Eno
On Thu, 29 Oct 2009, Sid Bachtiar wrote: 2. yes... I have RewriteEngine On in the .htaccess (that enables mod_rewrite right?) Not just there. Your apache web server must have it enabled. If you're on linux: sudo a2enmod rewrite Just remember, a2enmod is Ubuntu/Debian specific - not all

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Zach
ok... so I ran phpinfo() just to check, and yes I do have mod_rewrite listed under the loaded modules. On Oct 28, 3:31 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: 2. yes... I have RewriteEngine On in the .htaccess (that enables mod_rewrite right?) Not just there. Your apache web server

[symfony-users] Re: Symfony output escaping in the templates of plugins

2009-10-28 Thread david
Use the sfOutputEscaper - it's smart enough to know if it's been escaped or not already and won't double escape. On Wed, 28 Oct 2009 19:52:46 +0100, Tom Boutell t...@punkave.com wrote: I write plugins which other people use in their Symfony apps. They might be using any of the possible

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Eno
On Wed, 28 Oct 2009, Zach wrote: ok... so I ran phpinfo() just to check, and yes I do have mod_rewrite listed under the loaded modules. Is your vhost configured to look at .htaccess files and allow directives in them? The AllowOverride directive (or something like that). On Oct 28,

[symfony-users] Re: admin field level credentials

2009-10-28 Thread Pedro Casado
i think its not implemented yet.. any news? i see something here: http://trac.symfony-project.org/wiki/Symfony12AdminGenerator but there is no resolution Att, Pedro Casado On Wed, Oct 14, 2009 at 6:36 AM, Alexandru-Emil Lupu gang.al...@gmail.comwrote: HI there! I am trying to create some

[symfony-users] Re: hiding a field in admin generator by a credential?

2009-10-28 Thread Pedro Casado
anything for propel? Att, Pedro Casado On Mon, Jun 1, 2009 at 4:51 PM, pcummins patwcumm...@gmail.com wrote: It seems that this functionality is missing in the 1.2 branch, but it can be fixed with a small patch: http://trac.symfony-project.org/ticket/5832 As posted in the ticket, I don't

[symfony-users] core.php/ not working

2009-10-28 Thread Avani
Hi friends, In my application, I am facing some strange problem I have a link profile a href=?php echo url_for('profile/index'); ? Profile/a When I run the site, when I click on profile link, it goes to myprojecturl/core.php/ and shows blank page. when I press

[symfony-users] Re: core.php/ not working

2009-10-28 Thread Avani
Hey, this is the problem only with opera, in other browsers, its working ok. On Oct 29, 12:12 pm, Avani avani.v.puj...@gmail.com wrote: Hi friends, In my application, I am facing some strange problem I have a link  profile                         a href=?php echo

[symfony-users] Re: core.php/ not working

2009-10-28 Thread Gareth McCumskey
Have you tried to rather using the link_to helper instead of the embedding url_for inside an a tag? ?php echo link_to(Profile, profile/index) ? It creates the entire link for you with the correctly generated url. On Thu, Oct 29, 2009 at 6:12 AM, Avani avani.v.puj...@gmail.com wrote: Hi

[symfony-users] Re: How to manage big uploads

2009-10-28 Thread Gareth McCumskey
I think what he means is PHP's built in script execution time limitations and so on. One thing that you can do is dynamically alter the max execution time and memory limits during the upload process based on the file size. On Wed, Oct 28, 2009 at 5:30 PM, DEEPAK BHATIA