[symfony-users] a question about routing framework :P
as I know routing framework in symfony which separates url information with slash '/' or dot '.' like some_route: url: /:module/:actions/:id I just want know is there anything I can do to make some Url like .com/auckland/module-action-id -- 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 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 To unsubscribe, reply using remove me as the subject.
Re: [symfony-users] a question about routing framework :P
Did you try something like this: some_route: url: /:module-:actions-:id 2010/4/1, Lee Joseph name.liz...@gmail.com: as I know routing framework in symfony which separates url information with slash '/' or dot '.' like some_route: url: /:module/:actions/:id I just want know is there anything I can do to make some Url like .com/auckland/module-action-id -- 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 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 To unsubscribe, reply using remove me as the subject. -- 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 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
Re: [symfony-users] a question about routing framework :P
try to put something like this in routing.yml auckland: options: { segment_separators: [/, ., -] } Am 01.04.2010 08:39, schrieb Lee Joseph: as I know routing framework in symfony which separates url information with slash '/' or dot '.' like some_route: url: /:module/:actions/:id I just want know is there anything I can do to make some Url like .com/auckland/module-action-id -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] access object from validator
Hello, all! Is there any way to access my object (the one before the form post) from a sfValidatorSchema ? When I had my validator inside the Form.class.php file, I could access the object with $this-getObject(), but from the sfValidatorSchema class I cannot access it like this. I need to compare the submitted values from a form with the previous values. Is there any other way to do this than to access the original object from the validator? Thank you! -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] ADLLDAP
Hi, Anybody used adldap in symfony project. http://adldap.sourceforge.net/ Thanks Deepak -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Associating a stylesheet to a template of a plugin
Hi, i have this line below in frontend/config/view.yml: stylesheets:[main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php use_stylesheet('main') ? at the beginning of the template it doesn't work.. What should i do? Javi -- 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 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 To unsubscribe, reply using remove me as the subject.
Re: [symfony-users] Associating a stylesheet to a template of a plugin
2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets: [main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php use_stylesheet('main') ? at the beginning of the template it doesn't work.. What should i do? You need to copy sfGuard templates to your frontend modules dir and then modify them Regards, Michal Javi -- 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 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 To unsubscribe, reply using remove me as the subject. -- 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 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
[symfony-users] Re: Associating a stylesheet to a template of a plugin
Thanks Michal, but it doesn't work either.. Javi On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote: 2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets: [main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php use_stylesheet('main') ? at the beginning of the template it doesn't work.. What should i do? You need to copy sfGuard templates to your frontend modules dir and then modify them Regards, Michal Javi -- 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 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 To unsubscribe, reply using remove me as the subject. -- 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 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
Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin
2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules/sfGuardAuth/ apps/frontend/modules/sfGuardAuth/: actions lib templates apps/frontend/modules/sfGuardAuth/actions: actions.class.php components.class.php apps/frontend/modules/sfGuardAuth/lib: BasesfGuardAuthActions.class.php BasesfGuardAuthComponents.class.php apps/frontend/modules/sfGuardAuth/templates: secureSuccess.php _signin_form.php signinSuccess.php _signin_window.php BTW. It's documented way - just read http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin readme Customize sfGuardAuth module actions Regards, Michal Javi On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote: 2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets: [main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php use_stylesheet('main') ? at the beginning of the template it doesn't work.. What should i do? You need to copy sfGuard templates to your frontend modules dir and then modify them Regards, Michal Javi -- 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 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 To unsubscribe, reply using remove me as the subject. -- 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 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 -- 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 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
Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin
W dniu 1 kwietnia 2010 12:34 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: 2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules/sfGuardAuth/ apps/frontend/modules/sfGuardAuth/: actions lib templates apps/frontend/modules/sfGuardAuth/actions: actions.class.php components.class.php apps/frontend/modules/sfGuardAuth/lib: BasesfGuardAuthActions.class.php BasesfGuardAuthComponents.class.php apps/frontend/modules/sfGuardAuth/templates: secureSuccess.php _signin_form.php signinSuccess.php _signin_window.php BTW. It's documented way - just read http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin readme Customize sfGuardAuth module actions or better Customize sfGuardAuth module templates -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] sf_culture 'uk' = 'ua'
Hi, I have Symfony based site with URLs like www.site.com/uk/smth1/ smth2/... 'uk' - is the name of Ukraine localisation. The question is: how can I change 'uk' in URL (for Ukraine localisation) to 'ua'? -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] doctrine autoloading pb while deploying on debian lenny
Hello, I try to deploy a symfony project (developped on wamp) on a debian lenny server and faces the following problem while running a task that works fine on my windows machine : /var/www/pi2010$ ./symfony import:pays Fatal error: Class 'Doctrine_Template_TimeStampable' not found in /var/ www/svnexp/pi2010/trunk-r269/lib/model/doctrine/base/ BasePays.class.php on line 66 My setup : * Symfony installed in /opt/symfony-1.4.3 * our project deployed from subversion in /var/www/svnexp/pi2010/trunk- version with symlink to /var/www/pi2010 in pi2010/ProjectConfiguration.php, we have : === if(!file_exists(dirname(__FILE__) . '/ConfigPerso.php')) { die('You need to create your own ConfigPerso.php'); } include (dirname(__FILE__) . '/ConfigPerso.php'); sfCoreAutoload::register(); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this-enablePlugins(array( 'sfDoctrinePlugin', 'sfDoctrineGuardPlugin' )); $this-enablePlugins('sfDoctrineGraphvizPlugin'); $this-enablePlugins('sfJqueryReloadedPlugin'); $this-enablePlugins('sfAdminDashPlugin'); $this-enablePlugins('sfFormExtraPlugin'); } } and ConfigPerso.php == ?php require_once '/opt/symfony-1.4.3/lib/autoload/ sfCoreAutoload.class.php'; == Besides, installation seems ok from what the check says. php -v PHP 5.2.6-1+lenny8 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 14 2010 08:14:04) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies php.ini used by PHP: /etc/php5/apache2/php.ini ** WARNING ** * The PHP CLI can use a different php.ini file * than the one used with your web server. * If this is the case, please launch this * utility from your web server. ** WARNING ** ** Mandatory requirements ** OKPHP version is at least 5.2.4 (5.2.6-1+lenny8) ** Optional checks ** OKPDO is installed OKPDO has some drivers installed: mysql OKPHP-XML module is installed OKXSL module is installed OKThe token_get_all() function is available OKThe mb_strlen() function is available OKThe iconv() function is available OKThe utf8_decode() is available OKThe posix_isatty() is available OKA PHP accelerator is installed OKphp.ini has short_open_tag set to off OKphp.ini has magic_quotes_gpc set to off OKphp.ini has register_globals set to off OKphp.ini has session.auto_start set to off OKPHP version is not 5.2.9 Would anyone have an idea about what's wrong ? Regards, Mikael -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny
I forgot to mention that the model building operation went fine : /var/www/pi2010$ ./symfony doctrine:build --all --and-load --no- confirmation doctrine Dropping doctrine database doctrine Creating dev environment doctrine database doctrine generating model classes file+ /tmp/doctrine_schema_38623.yml ... ... doctrine Generated SQL successfully for models doctrine creating tables doctrine created tables successfully doctrine Loading data fixtures from /var/www/svnexp/pi2010/trunk-r269/data/fixtures doctrine Loading data fixtures from /var/www/svnexp/pi2010/trunk-r269/plugins/sfDoctrineGuardPlugin/data/fixtures doctrine Data was successfully loaded The line 66 of BasePays.class.php has this : $timestampable0 = new Doctrine_Template_TimeStampable(); $this-actAs($timestampable0); The ImportPaysTask does this : $databaseManager = new sfDatabaseManager($this-configuration); $connection = $databaseManager- getDatabase($options['connection'])-getConnection(); $row = 1; if (($handle = fopen( sfConfig::get(sf_data_dir) . / import/pays.csv, r)) !== FALSE) { $doctrine = $connection; $doctrine-query('TRUNCATE TABLE pays'); $doctrine-query('TRUNCATE TABLE nationalite'); unset($doctrine); while (($data = fgetcsv($handle, 1000, ;)) !== FALSE) { $row++; $pays = new Pays(); $pays-setCode(trim($data[0])); $pays-setNom(trim($data[1])); $pays-save(); Regards Mikael -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] How would you reverse the notnull:true in a schema of a plugin?
Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser: actAs: [Timestampable] columns: id: type: integer(4) primary: true autoincrement: true username: type: string(128) notnull: true unique: true As you can see 'username' has the feature notnull:true. Now i want to create a register form that is not using 'username' but the email address of the user. When a user wants to register, it is showed this: Validation failed in class sfGuardUser 1 field had validation error: * 1 validator failed on username (notnull) Any idea? Javi -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: Partial in component
Is not a good idea to get a partial in an action, is better in the template. In a component you can include a partial in the template like this: ?php echo include_partial('module/partial', $params)? I use in several components without problem. Manel On 31 mar, 17:23, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: In an action I can use $this-getPartial('system/email_template'), but that doesn't work in an component. How can I do this in a component? -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: Partial in component
I want to use it in my component (not template) because I have the e- mail layout in there. And the e-mail has to be sent from the component with the Mailer. On 1 apr, 15:19, Manel mmongui...@quesabesde.com wrote: Is not a good idea to get a partial in an action, is better in the template. In a component you can include a partial in the template like this: ?php echo include_partial('module/partial', $params)? I use in several components without problem. Manel On 31 mar, 17:23, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: In an action I can use $this-getPartial('system/email_template'), but that doesn't work in an component. How can I do this in a component? -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: propel relation m:n
OK, you must remove the id field from acudiente_estudiante model, and add primaryKey: true to both estudiante and acudiente fields. cheers Massimiliano On 1 Apr, 01:40, Julian Reyes julian.reyes.escri...@gmail.com wrote: Ok my real schema is: estudiante: id: ~ nombres: { type: varchar(255), required: true } apellidos: { type: varchar(255), required: true } sexo: { type: integer, foreignTable: sexo, foreignReference: id, required: true, onDelete: CASCADE} fecha_nacimiento: { type: timestamp, required: true } lugar_nacimiento: { type: varchar(255), required: true } tipo_documento: { type: integer, foreignTable: tipo_documento, foreignReference: id, required: true, onDelete: CASCADE} numero_documento: { type: varchar(30), required: true, index: unique } direccion_residencia: { type: varchar(255), required: true } telefono: { type: varchar(15), required: true } acudiente_estudiante: id: ~ estudiante: { type: integer, foreignTable: estudiante, foreignReference: id, required: true, onDelete: CASCADE, index: unique} acudiente: { type: integer, foreignTable: acudiente, foreignReference: id, required: true, onDelete: CASCADE, index: unique} acudiente: id: ~ nombres: { type: varchar(255), required: true } apellidos: { type: varchar(255), required: true } tipo_documento: { type: integer, foreignTable: tipo_documento, foreignReference: id, required: true, onDelete: CASCADE} numero_documento: { type: varchar(30), required: true, index: unique } direccion_residencia: { type: varchar(255), required: true } telefono: { type: varchar(15), required: true } -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: Credentials problem
I solved. The problem was because i was logged with a is_super_admin user!! When that happens he ignore the credentials and he have full access to everything!! -- 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 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
[symfony-users] timezones, symfony 1.0 and propel
Has anyone successfully implemented timezone support with symfony 1.0? I store my timestamps in America/New_York but need to display them in the user's timezone. The only approach I can see that would work is adding a helper to make the temporal changes in the view or to override the getters/setters for every datetime field for every model. -- Jacob Coby -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny
THANKS !!! Mikael -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: Associating a stylesheet to a template of a plugin
Yes you're right, but that doesn't resolve my problem. I will change my question: In signinSuccess.php (doesn't matter the place) i have this lines: ?php use_stylesheet('main.css') ? link rel=stylesheet type=text/css href=/css/main.css The first one doesn't includes 'main.css' in signinSuccess.php but the second one yes. In other frontend modules, when using ?php use_stylesheet('main.css') ? main.css is included. Anyone knows why? Javi On Apr 1, 12:35 pm, Michał Piotrowski mkkp...@gmail.com wrote: W dniu 1 kwietnia 2010 12:34 u¿ytkownik Micha³ Piotrowski mkkp...@gmail.com napisa³: 2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules/sfGuardAuth/ apps/frontend/modules/sfGuardAuth/: actions lib templates apps/frontend/modules/sfGuardAuth/actions: actions.class.php components.class.php apps/frontend/modules/sfGuardAuth/lib: BasesfGuardAuthActions.class.php BasesfGuardAuthComponents.class.php apps/frontend/modules/sfGuardAuth/templates: secureSuccess.php _signin_form.php signinSuccess.php _signin_window.php BTW. It's documented way - just read http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin readme Customize sfGuardAuth module actions or better Customize sfGuardAuth module templates -- 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 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
[symfony-users] Re: Is there any way to see all the functions that have been executed?
Thanks, but for example, here below i'm using debug_backtrace(). It outputss a list of functions called, but the save() function (that is just before the debug_backtrace() calling) is not that list.. protected function processForm(sfWebRequest $request, sfForm $form) { $form-bind($request-getParameter($form-getName())); if ($form-isValid()) { $sf_guard_user = $form-save(); var_dump(debug_backtrace()); die(fsdgsgsdf); $this-redirect('guardausuario/edit?id='.$sf_guard_user- getId()); } } Javi On Feb 12, 11:16 am, Alvaro Videla harryjek...@gmail.com wrote: try: http://cn.php.net/debug_backtrace Xdebug is not required for that function On Feb 12, 2010, at 5:11 PM, Javier Garcia wrote: On 02/11/2010 10:02 PM, Stéphane wrote: So you must have xdebug installed to have a usable stack trace. I installed xdebug. I tried to follow the way the app is executed using Step into/over/out in NB, but i find _very difficult and tedious_ to follow all the way since send the request till it finishes. It would be easier if i know ALL the functions and lines (with the file which belongs to) that are executed during that process. Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/symfony-users?hl=en. -- 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 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] how to build my pernal form
im' searching to do a personnal forms but i have not any idea how to build it plz help meee -- 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 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 To unsubscribe, reply using remove me as the subject.
Re: [symfony-users] how to build my pernal form
2010/4/2 Belgacem TLILI belgacem0...@gmail.com: im' searching to do a personnal forms but i have not any idea how to build it plz help meee http://www.symfony-project.org/forms/1_4/en/ http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ -- 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 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 To unsubscribe, reply using remove me as the subject.
Re: [symfony-users] How would you reverse the notnull:true in a schema of a plugin?
Why don't you just store the email in the username field? On Thu, Apr 1, 2010 at 9:07 AM, Javier Garcia tirengar...@gmail.com wrote: Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser: actAs: [Timestampable] columns: id: type: integer(4) primary: true autoincrement: true username: type: string(128) notnull: true unique: true As you can see 'username' has the feature notnull:true. Now i want to create a register form that is not using 'username' but the email address of the user. When a user wants to register, it is showed this: Validation failed in class sfGuardUser 1 field had validation error: * 1 validator failed on username (notnull) Any idea? Javi -- 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 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 To unsubscribe, reply using remove me as the subject. -- 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 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