[symfony-users] [Symfony2] Missing mandatory parameter '_locale'

2011-10-04 Thread Alessandro Desantis
Hi guys. I'm trying to prefix all my routes with /{_locale}. So, I've moved them in routing_actual.yml and I've written the following in my *routing.yml *: _main: resource: routing_actual.yml prefix: /{_locale} requirements: _locale: en|it defaults: _locale: en

[symfony-users] Re: [Symfony2] Deleting default security.yml file

2011-05-31 Thread Alessandro Desantis
I forgot to remove the bundles from AppKernel.php and the JMS configuration from config.yml. It works now. Thank you. -- Alessandro 'alessandro1997' Desantis desa.alessan...@gmail.com On 30 Mag, 08:10, oscar balladares liebegr...@gmail.com wrote: What I'm doing is to override the defaults

[symfony-users] [Symfony2] Deleting default security.yml file

2011-05-29 Thread Alessandro Desantis
a dependency on a non- existent service security.context' is thrown. Any suggestions? Thanks in advance. -- Alessandro 'alessandro1997' Desantis desa.alessan...@gmail.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread Alessandro Nadalin
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] [symfony2] Could not find any configured connections

2011-01-10 Thread Alessandro Nadalin
Configure doctrine.dbal ;-) -- Alessandro Nadalin www.odino.org | twitter.com/_odino_ inviato da dispositivo mobile Il giorno 10/gen/2011 09:46, taidehu...@gmail.com taidehu...@gmail.com ha scritto: Hi, I've set-up symfony2 manually by downloading symfony-bootstrapper from github

Re: [symfony-users] multiple db connections problem

2011-01-10 Thread Alessandro Nadalin
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

Re: [symfony-users] Re: Could not find any configured connections

2011-01-10 Thread Alessandro Nadalin
Alessandro www.odino.org www.twitter.com/_odino_ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

Re: [symfony-users] Re: multiple db connections problem

2011-01-10 Thread Alessandro Nadalin
email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- If you want

Re: [symfony-users] Re: multiple db connections problem

2011-01-10 Thread Alessandro Nadalin
-- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] How to use SwiftMailer inside a logger

2011-01-10 Thread alessandro cinelli
Hi, I'm trying to load the swift mailer class inside a custom logger that extends the sfLogger class. I get always the error: fatal error: Class 'Swift_Connection_SMTP not found. I tried to load the swiftmailer autoloader (require_once 'vendor/symfony/lib/vendor/swiftmailer/swift_required.php')

Re: [symfony-users] clear cache

2011-01-08 Thread Alessandro Nadalin
Whats the value of memory_limit in the php.ini? Btw, an rm -rf cache/* would do the job, for now. -- Alessandro Nadalin www.odino.org | twitter.com/_odino_ inviato da dispositivo mobile Il giorno 08/gen/2011 12:44, Sela tzi...@gmail.com ha scritto: I try to clear the cache on a VPS

Re: [symfony-users] xml config problem

2011-01-06 Thread Alessandro Nadalin
Please dont fullfill emails with unreadable code ;-) use github's gist or a pastebin instead -- Alessandro Nadalin www.odino.org | twitter.com/_odino_ inviato da dispositivo mobile Il giorno 06/gen/2011 22:34, Yan weiyan...@gmail.com ha scritto: In AppKernel.php, select xml configuration

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- If you want to report

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php on line 4 -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/14/10 11:00 AM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
2010/12/14 Fabien Potencier fabien.potenc...@symfony-project.com: On 12/14/10 1:21 PM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien Potencierfabien.potenc...@symfony-project.com: You must use the latest stable version of PHPUnit. Sorry, terrible mistake of mine. But after

Re: [symfony-users] Re: Symfony 1.4 and PayPal

2010-08-05 Thread Alessandro Ferrucci
HINT HINT patches are always a welcomed gift in the OS community ;) Thank you, Alessandro Ferrucci On Wed, Aug 4, 2010 at 12:43 PM, Diego Bello dbe...@gmail.com wrote: On Wed, Aug 4, 2010 at 10:01 AM, Massimiliano Arione garak...@gmail.comwrote: On 3 Ago, 03:11, Diego Bello dbe

[symfony-users] Doctrine reserved php word as table name

2010-07-28 Thread Alessandro Ferrucci
worked... the second ATTR_TBLNAME_FORMAT is not... any ideas? thank you -- Signed, Alessandro Ferrucci -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony

[symfony-users] manually fetch DoctrineManager

2010-07-25 Thread Alessandro Ferrucci
to manually make a connection to a MySQL database ? thank you -- Signed, Alessandro Ferrucci -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group

[symfony-users] Re: manually fetch DoctrineManager

2010-07-25 Thread Alessandro Ferrucci
. On Sun, Jul 25, 2010 at 12:20 PM, Alessandro Ferrucci alessandroferru...@gmail.com wrote: Hi, I'm using symfony with Doctrine. I have a central control database. Then I have many databases that are created when new projects start. I dont want to manually modify my databases.yml whenever a new

Re: [symfony-users] Re: Doctrine documentation is gone??

2010-05-18 Thread Alessandro Massignan
Hi, Doctrine documentation is available (they just change the link)... You could find it at: * http://www.doctrine-project.org/projects/orm for both 1.2 and 2.0: * http://www.doctrine-project.org/projects/orm/1.2/docs/en * http://www.doctrine-project.org/projects/orm/2.0/docs/en have i miss

[symfony-users] About embedding FormFilters

2010-05-12 Thread Alessandro Massignan
Hi all, another newbie shot :-): i try to build a FormFilter that embeds many others (not the auto create one from doctrine:generate-admin). Duing the lack of documentation about sfFormFilterDoctrine API i was wondering how could i handle or merge the query of the master form with those from the

Re: [symfony-users] Re: AJAX integration

2010-05-10 Thread Alessandro Massignan
Hi Rooster, Are you using Firebug to check the response? You will probably see that javascript_helper is undefined since you are calling it in your action without explicitly loading it. I don't use Firebug, but this morning I choose the jQuery way and it seems to work very well :-) Thanks

[symfony-users] Symfony 1.4 and AJAX helpers

2010-05-05 Thread Alessandro Massignan
Hi all, do you know how could i enable AJAX helpers with Symfony 1.4? And what are available helpers (e.g. observe_field())? Cheers, ff -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are

Re: [symfony-users] Symfony 1.4 and AJAX helpers

2010-05-05 Thread Alessandro Massignan
Hi, They have been removed, you cannot enable them. If you need similar behavior, check the sfJqueryReloadedPlugin. You can check the available helpers here: http://www.symfony-project.org/api/1_4/helper Thanks for the suggestion, but in the meantime i found sfProtoculousPlugin that ports

Re: [symfony-users] Doctrine - nested set - node deletion

2010-04-30 Thread Alessandro Massignan
Check http://redotheoffice.com/?p=74 It implements a dragdrop admin... sent via htc magic Thanks! I'll check it out ASAP... :-) Cheers, ff -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you

[symfony-users] Doctrine - nested set - node deletion

2010-04-29 Thread Alessandro Massignan
Hi all, i've set up a nested set behaviour and generate the admin section for this one, but something doesn't work at all: node deletion. I've updated the executeDelete() to handle node deletion: public function executeDelete(sfWebRequest $request) { $request- checkCSRFProtection();

[symfony-users] Existing site and symfony integration

2010-01-29 Thread alessandro cinelli
Hi, I'm doing a huge refactor of an existing big site and i would like to port it to symfony. The problem is that i can't wait to full migrate the site to symfony framework before going live, but I have to do it step by step, small integrations and refactors like dailymotion case history. What

Re: [symfony-users] Existing site and symfony integration

2010-01-29 Thread alessandro cinelli
On Fri, Jan 29, 2010 at 2:20 PM, Eno symb...@gmail.com wrote: On Fri, 29 Jan 2010, alessandro cinelli wrote: I'm doing a huge refactor of an existing big site and i would like to port it to symfony. The problem is that i can't wait to full migrate the site to symfony framework before

[symfony-users] symfony 1.3 beta1 sfParameterHolder::serialize() must return a string or NULL

2009-11-03 Thread alessandro cinelli
Hi, i created a staging enviroment in settings.yml: staging: .settings: web_debug: true cache: true no_script_name: true etag: true When i access to the first page i got no problem, then i login and i got a 500 error:

[symfony-users] propel-build-model symfony 1.0 and longvarchar

2009-10-12 Thread alessandro cinelli
hi, i started a new symfony 1.0 project today and if in my schema there is a longvarchar property i get a strange error. I tried also replacing my schema with the one in the official symfony doc( http://www.symfony-project.org/book/1_0/08-Inside-the-Model-Layer) but nothing changed. Output

[symfony-users] sfDoctrineGuardPlugin installation with symfony 1.3

2009-09-25 Thread alessandro cinelli
sfPluginRestException: No release available for plugin sfDoctrineGuardPlugin in symfony13/lib/plugin/sfPearRestPlugin.class.php on line 123 is that normal because symfony 1.3 is still under development? thanks cirpo --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: Nested query with propel

2009-09-21 Thread alessandro
that! On Sep 21, 12:17 am, Stig Manning s...@sdm.co.nz wrote: Hi Alessandro, There are a number of ways to do this. Seehttp://snippets.symfony-project.org/snippet/75 Criteria::CUSTOM has worked well for me, but make sure to manually escape any variables used here with a mysql_real_escape_string

[symfony-users] Nested query with propel

2009-09-20 Thread alessandro
Hi all! I can't find the way to create nested querys with propel. Can anyone help me? The query is the following: SELECT tbl1.location_id, count(tbl1.location_id) as n_commenti from (SELECT * FROM locations LEFT JOIN locations_sezioni ON (locations.LOCATION_ID=LOCATIONS_SEZIONI_LOCATION_ID)

[symfony-users] symfony 1.3 php 5.3 plugins installation

2009-09-16 Thread alessandro cinelli
Hi folks, I posted in the dev group but probably was the wrong place. 1) would you suggest to use symfony 1.3 with php 5.3? I'm trying it right now but I have many deprecated errors output installing plugins with symfony cli, I think it's a pear related problem. 2) is It normal that I can't

[symfony-users] save a rendered partial in db

2009-09-01 Thread alessandro cinelli
Hi, can you save a rendered partial in the db instead of sending it to the browser? thanks, cirpo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] problem with embed I18n form

2009-08-29 Thread alessandro cinelli
Hi, if i configure a form embedding a i18n form the system try to insert the value from the i18n form before inserting the other values. The submition fails because doctrine complains that it hasn't an fk id. If I comment out the validation form method($this-addValidators()), everything works

[symfony-users] Re: problem with embed I18n form

2009-08-29 Thread alessandro cinelli
Found the problem! $this-validatorSchema['cover_image'] = new sfValidatorPass(); cause the problem but why? am i missing something? cirpo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To

[symfony-users] pass default values via constructor in doctrine/propel form

2009-08-25 Thread alessandro cinelli
Hi folks, scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This id is rietrieved from the context, session, whatever. I don't want to access the sfContext in the form configure. The doctrine/propel form constructor has as first argument

[symfony-users] Re: pass default values via constructor in doctrine/propel form

2009-08-25 Thread alessandro cinelli
Thanks guys 2009/8/25 José Nahuel Cuesta Luengo ncue...@cespi.unlp.edu.ar -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Łukasz Wojciechowski escribió: Hi folks, Hi scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This

[symfony-users] Re: Custom form

2009-04-30 Thread alessandro
in a database field... What do you think? On Apr 30, 2:09 am, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi alessandro, it's rarely simple for other people not working in your project who doesn't even know what the website is for. For example: What is this service you're talking about? What

[symfony-users] Re: Custom form

2009-04-30 Thread alessandro
people that joined this discussion sharing their opinions. On Apr 30, 7:04 pm, Richtermeister nex...@gmail.com wrote: Hey Alessandro, what you describe is a formbuilder, and if you keep it very basic you can do this via a list of fieldtype, fieldname, required flag, etc.. in the database

[symfony-users] Custom form

2009-04-29 Thread alessandro
Hi all, I'm building a website where there is a Services section. My client asked me the possibility to have a form for requesting services customized for each different service. How can I do that? Thanks --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
symfony 1.0 On Apr 30, 12:50 am, Sid Bachtiar sid.bacht...@gmail.com wrote: Are you asking how to create custom form class? What Symfony version? I think these are all in the documentation. On Thu, Apr 30, 2009 at 10:26 AM, alessandro alessandro.dimag...@gmail.com wrote: Hi all

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
wrote: Are you asking how to create custom form class? What Symfony version? I think these are all in the documentation. On Thu, Apr 30, 2009 at 10:26 AM, alessandro alessandro.dimag...@gmail.com wrote: Hi all, I'm building a website where there is a Services section. My client

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
wrote: Are you asking how to create custom form class? What Symfony version? I think these are all in the documentation. On Thu, Apr 30, 2009 at 10:26 AM, alessandro alessandro.dimag...@gmail.com wrote: Hi all, I'm building a website where there is a Services section. My client

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
what would you do in my case? On Apr 30, 1:02 am, Paolo Mainardi paolomaina...@gmail.com wrote: On Thu, Apr 30, 2009 at 12:59 AM, alessandro alessandro.dimag...@gmail.comwrote: Precisely my doubt is: how can I attach a custom form to every new service? Should I let my customer insert

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
let my customer insert something like field type, field name, ecc, store it into database and then create the form int the view with a component? I think this is a good solution. And it is not that hard to implement with Symfony 1.0. On Thu, Apr 30, 2009 at 11:12 AM, alessandro

[symfony-users] Re: Custom form

2009-04-29 Thread alessandro
... as the interface for inserting new page is the same for every section...I have to find a way to display the custom form fields in the backend ONLY if the selected page goes into the services section. Any idea? On Apr 30, 1:25 am, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi Alessandro

[symfony-users] flash object and xml file

2008-08-27 Thread alessandro cinelli
hi, i have this line of code in my xxxSuccess.php: var s2 = new SWFObject(swf/player.swf,video,227,350,9); s2.addParam(allowFullScreen,true); s2.addParam('allowscriptaccess','always'); s2.addVariable(file,xml/playlist.xml); [...]

[symfony-users] Re: symfony for web designers

2008-07-16 Thread alessandro cinelli
On Wed, Jul 16, 2008 at 10:08 AM, Paulo Magalhaes [EMAIL PROTECTED] wrote: Hi, I'm looking for some slides, documentation, etc on introducing Symfony from a web designer perspective. Any information that can give a web designer more autonomy such as the Symfony directory structure, concepts

[symfony-users] Re: Template Variable sfPHPView question

2008-04-30 Thread alessandro cinelli
On Sun, Apr 27, 2008 at 3:34 PM, alessandro cinelli [EMAIL PROTECTED] wrote: Hi, i was studying symfony's code, especially how you can refer to the variable $this-foo in the action and $foo in the view. I found the code part that makes it possible: sfPHPView.class.php line 92-109

[symfony-users] Template Variable sfPHPView question

2008-04-27 Thread alessandro cinelli
Hi, i was studying symfony's code, especially how you can refer to the variable $this-foo in the action and $foo in the view. I found the code part that makes it possible: sfPHPView.class.php line 92-109 $_escaping = $this-getEscaping(); if ($_escaping === false || $_escaping === 'bc') {

[symfony-users] Re: how you debug symfony?

2008-03-23 Thread alessandro cinelli
I'm trying Xdebug and Eclipse PDT, but it doesn't work very well... If i want debug a page i have to hit, as i told before, the F5(step into) buttons continuously, otherwise the debug session ends and i got a blank browser output. cirpo --~--~-~--~~~---~--~~ You