[symfony-users] problems with templates new
I have in my schema: project: ... owner: { type: varchar, size: 128, foreignTable:sf_guard_user, foreignReference: username, required: true, onDelete: cascade } ... If I include in the unset owner, I have an error. But if I don't include owner, how I put the owner in the documents. The user can put anybody in the list instead of the actual user. Someone know how to restrict sfWidgetFormPropelChoice to have only the actual user in the list. Thanks. -- 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: Send Mails
Why if I put localhost/Testnewmail give me an internal error and if I put the localhost/frontend_dev.php it works? I have put in factories.yml: prod: mailer: param: delivery_strategy: single_address delivery_address: vegoi...@gmail.com dev: mailer: param: delivery_strategy: single_address delivery_address: vegoi...@gmail.com On 24 ago, 17:20, vero wrote: > IT WORKS!! IT WORKS!! > REALLY YOU ARE MY HERO. > I believe that change to 1_3 was complex but It has been very easy and > you have saved a lot of functionalities that depends on the emails in > my project. > THANKS. > > On 24 ago, 15:04, Gábor Fási wrote: > > > Your problem is still with the encryption, I'm not sure php's mail() > > can handle that. > > > Why can't you upgrade to 1.3? I did that, and it was pretty easy. I > > did the 1.2-1.3 switch in about two hours, and now I have the full > > power of swift mailer, and I am using it with gmail's smtp. > > > On Tue, Aug 24, 2010 at 14:48, vero wrote: > > > It's impossible. I don't know how send an email at all. > > > I have tried everything but no email arrive to inbox. > > > I will have to decided what to do in that part of my project. > > > > Thanks to all for trying to help me. > > > > On 24 ago, 09:51, Gábor Fási wrote: > > >> That means it is not properly configured - no wonder you cannot send > > >> emails. > > >> The message says that your smtp server needs encryption, most probably > > >> the same applies for authentication. Check its manual how to set it > > >> up. > > > >> On Tue, Aug 24, 2010 at 09:43, vero wrote: > > >> > And I use a sendmail.exe, that I have download, to solution a warning > > >> > "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must > > >> > issue a STARTTLS command first " > > > > -- > > > 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
[symfony-users] Re: Send Mails
IT WORKS!! IT WORKS!! REALLY YOU ARE MY HERO. I believe that change to 1_3 was complex but It has been very easy and you have saved a lot of functionalities that depends on the emails in my project. THANKS. On 24 ago, 15:04, Gábor Fási wrote: > Your problem is still with the encryption, I'm not sure php's mail() > can handle that. > > Why can't you upgrade to 1.3? I did that, and it was pretty easy. I > did the 1.2-1.3 switch in about two hours, and now I have the full > power of swift mailer, and I am using it with gmail's smtp. > > On Tue, Aug 24, 2010 at 14:48, vero wrote: > > It's impossible. I don't know how send an email at all. > > I have tried everything but no email arrive to inbox. > > I will have to decided what to do in that part of my project. > > > Thanks to all for trying to help me. > > > On 24 ago, 09:51, Gábor Fási wrote: > >> That means it is not properly configured - no wonder you cannot send > >> emails. > >> The message says that your smtp server needs encryption, most probably > >> the same applies for authentication. Check its manual how to set it > >> up. > > >> On Tue, Aug 24, 2010 at 09:43, vero wrote: > >> > And I use a sendmail.exe, that I have download, to solution a warning > >> > "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must > >> > issue a STARTTLS command first " > > > -- > > 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
[symfony-users] Re: Send Mails
It's impossible. I don't know how send an email at all. I have tried everything but no email arrive to inbox. I will have to decided what to do in that part of my project. Thanks to all for trying to help me. On 24 ago, 09:51, Gábor Fási wrote: > That means it is not properly configured - no wonder you cannot send emails. > The message says that your smtp server needs encryption, most probably > the same applies for authentication. Check its manual how to set it > up. > > On Tue, Aug 24, 2010 at 09:43, vero wrote: > > And I use a sendmail.exe, that I have download, to solution a warning > > "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must > > issue a STARTTLS command first " -- 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: Send Mails
Have I touched openssl.cnf or something like that? On 24 ago, 09:51, Gábor Fási wrote: > That means it is not properly configured - no wonder you cannot send emails. > The message says that your smtp server needs encryption, most probably > the same applies for authentication. Check its manual how to set it > up. > > On Tue, Aug 24, 2010 at 09:43, vero wrote: > > And I use a sendmail.exe, that I have download, to solution a warning > > "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must > > issue a STARTTLS command first " -- 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: Send Mails
Of course, I have changed this line, but I have a problem with cute/ paste. $mail->addTo($affiliate->getEmail()); --> $mail- >addTo('vegoi...@gmail.com'); Sorry. -- Forwarded message -- From: vero Date: 24 ago, 09:43 Subject: Send Mails To: symfony users I have installed Symfony 1_2 so I don't have Swift Mailer, and I find too difficult change my project to 1_4. Apart from that, I have configed php.ini: ; For Win32 only. SMTP = smtp.gmail.com sendmail_from= vegoi...@gmail.com smtp_server = smtp.gmail.com smtp_port = 25 auth_username = vegoi...@gmail.com auth_password = ... (of course, I DON'T SHOW THE PASSWORD, but it's writing) And I use a sendmail.exe, that I have download, to solution a warning "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first " My code is: $mensaje = "Línea 1\nLínea 2\nLínea 3"; // En caso de que cualquiera de las líneas sea más larga de 70 caracteres, // debe usarse wordwrap() $mensaje = wordwrap($mensaje, 70); $headers = "From: vegoi...@gmail.com\r\n"; // Send if(mail('vegoi...@gmail.com', 'Mi título', $mensaje,$headers)) { echo 'Correcto'; } and // send an email to the affiliate ProjectConfiguration::registerZend(); $mail = new Zend_Mail(); $mail->setBodyText('Your Jobeet affiliate account has been activated. Your token is The Jobeet Bot.'); $mail->setFrom('vegoi...@gmail.com.com', 'Jobeet Bot'); $mail->addTo($affiliate->getEmail()); $mail->setSubject('Jobeet affiliate token'); $mail->send(); In both cases frontend_dev.php finished without errors, but the emails never are in the inbox. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;http://php.net/sendmail-path sendmail_path = "C:\wamp\bin\sendmail.exe -t"; On 24 ago, 02:03, Gustavo Adrian wrote: > Did you try using the Swift Mailer that comes with Symfony? try sending with > SMTP using the SMTP server of your gmail account (if you don't have your own > email account, of course). > Here says > how:http://www.symfony-project.org/gentle-introduction/1_4/en/11-Emails > <http://www.symfony-project.org/gentle-introduction/1_4/en/11-Emails> > On Mon, Aug 23, 2010 at 8:04 PM, Jochen Daum wrote: > > Hi, > > On Tue, Aug 24, 2010 at 10:51 AM, vero wrote: > > > I have tried configuring my computer to use the fuction mail() . > > > I have tried use Zend Framework,, exactly like in jobeet. > > > But nothing works. The code was compiled, but no email was send. > > > Please, help me! I need e-mails in my project. > > Does > mail('t...@email.com','test','test'); > > ?> > > work? > > What operating system? Windows: Does your ISP require authentication? > > (if yes, need to install a local Mail server, try Hamster) Linux: > > Postfix installed? > > -- > > 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
[symfony-users] Re: Send Mails
I have installed Symfony 1_2 so I don't have Swift Mailer, and I find too difficult change my project to 1_4. Apart from that, I have configed php.ini: ; For Win32 only. SMTP = smtp.gmail.com sendmail_from= vegoi...@gmail.com smtp_server = smtp.gmail.com smtp_port = 25 auth_username = vegoi...@gmail.com auth_password = ... (of course, I DON'T SHOW THE PASSWORD, but it's writing) And I use a sendmail.exe, that I have download, to solution a warning "Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first " My code is: $mensaje = "Línea 1\nLínea 2\nLínea 3"; // En caso de que cualquiera de las líneas sea más larga de 70 caracteres, // debe usarse wordwrap() $mensaje = wordwrap($mensaje, 70); $headers = "From: vegoi...@gmail.com\r\n"; // Send if(mail('vegoi...@gmail.com', 'Mi título', $mensaje,$headers)) { echo 'Correcto'; } and // send an email to the affiliate ProjectConfiguration::registerZend(); $mail = new Zend_Mail(); $mail->setBodyText('Your Jobeet affiliate account has been activated. Your token is The Jobeet Bot.'); $mail->setFrom('vegoi...@gmail.com.com', 'Jobeet Bot'); $mail->addTo($affiliate->getEmail()); $mail->setSubject('Jobeet affiliate token'); $mail->send(); In both cases frontend_dev.php finished without errors, but the emails never are in the inbox. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path sendmail_path = "C:\wamp\bin\sendmail.exe -t"; On 24 ago, 02:03, Gustavo Adrian wrote: > Did you try using the Swift Mailer that comes with Symfony? try sending with > SMTP using the SMTP server of your gmail account (if you don't have your own > email account, of course). > > Here says > how:http://www.symfony-project.org/gentle-introduction/1_4/en/11-Emails > > <http://www.symfony-project.org/gentle-introduction/1_4/en/11-Emails> > > On Mon, Aug 23, 2010 at 8:04 PM, Jochen Daum wrote: > > Hi, > > > On Tue, Aug 24, 2010 at 10:51 AM, vero wrote: > > > I have tried configuring my computer to use the fuction mail() . > > > I have tried use Zend Framework,, exactly like in jobeet. > > > But nothing works. The code was compiled, but no email was send. > > > > Please, help me! I need e-mails in my project. > > > Does > > mail('t...@email.com','test','test'); > > > ?> > > > work? > > > What operating system? Windows: Does your ISP require authentication? > > (if yes, need to install a local Mail server, try Hamster) Linux: > > Postfix installed? > > > -- > > 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
[symfony-users] Send Mails
I have tried configuring my computer to use the fuction mail() . I have tried use Zend Framework,, exactly like in jobeet. But nothing works. The code was compiled, but no email was send. Please, help me! I need e-mails in my project. -- 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] sf_guard_group/sf_guard_user
I decided to use sfGuardPlugin so I put in y schema.yml: propel: _attributes: package: lib.model defaultIdMethod: native pfc_grupo: id: ~ GRUPO_ID: { type: integer, foreignTable:sf_guard_group, foreignReference: id, required: true, onDelete: cascade } LINEAS_INVES: { type: CLOB} created_at: ~ pfc_usuario: id: ~ USER_ID: { type: integer, foreignTable:sf_guard_user, foreignReference: id, required: true, onDelete: cascade } NOMBRE: { type: VARCHAR, size: '255', required: true } APELLIDOS: { type: VARCHAR, size: '255' } EMAIL: { type: VARCHAR, size: '255' } HOMEPAGE: { type: VARCHAR, size: '255'} TELEFONO: { type: INTEGER } SCR_IMG: { type: VARCHAR, size: '255' } trabaja_en: { type: INTEGER, required: true, foreignTable: pfc_proyecto, foreignReference: id, onDelete: cascade } created_at: ~ ... but now I don't know how,for example, access to name and description in grupo/indexSuccess.php. I try: getGrupoId()->getName() ?> but Symfony response me with an error window: Oops! An Error Occurred The server returned a "500 Internal Server Error". -- 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: enormous sf
It was so stupid that I am so ashamed. I don't pretend to use * at all. It was a big error, and I'm really grateful to you for your help. I have change it and now the sf has disappear, thank you very much and thanks for all people who try to help others in that group. It's very important for me because I was a beginner in all the things about css, php, or, of course, symfony. On 14 mar, 20:15, "rooster (Russ)" wrote: > On Mar 14, 7:24 pm, vero wrote: > > > my main.css is: > > > *{ > > width:800px; > > > } > > Seriously? > > You are setting the width of the first found element to 800px - which > in your case is the sf logo. > > http://www.w3.org/TR/CSS2/selector.html#universal-selector > > I imagine this works in the frontend because by coincidence it matches > the element you actually want to be 800px wide... > > Russ. -- 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: enormous sf
my main.css is: *{ width:800px; } #content { display: block; margin:0 auto 0 auto; width:390px; } #footer { bottom: 0px; background-color: #8090ee; text-align: center; position: fixed; z-index: 9; } h1, p { margin-bottom: 20px; } #header { background-color: #8090ee; height:105px; vertical-align:top; } ul.nav{ list-style:none; font: bold 100% arial; } ul.nav li{ display:block; position:relative; padding:1px 20px; background:#ff; border-right:1px solid blue; border-bottom:1px solid blue; border-top:1px solid #ff; border-left:1px solid #ff; width:80px; } ul.nav ul{ position:absolute; left:40px; top:-1px; display:none; list-style:none; } ul.nav > li > ul{ position:absolute; left:-41px; top:22px; display:none; list-style:none; } ul.nav li:hover{ background:#ff; border-right:1px solid #ff; border-bottom:1px solid #ff; border-top:1px solid blue; border-left:1px solid blue; } ul.nav li:hover > ul{ display:block; } ul.nav > li{ display:inline; } .menu_a{ text-decoration: none; } and I only make a layout.php very easy because I'm a begining: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> TeleInf Group getRaw('sf_content') ?> Copyright © 2010 Designed by Veronica Goig Serena _menu.php is only a combination between ul and li: I don't know why this image appears. Thanks for help me. On 13 mar, 16:53, Damien Alexandre wrote: > Niiice :-) > > Refresh with Ctrl + F5 > and if the problem persist, send the XHTML / CSS used. > > It's not a symfony issue btw. > > Bye > > > > On Sat, Mar 13, 2010 at 3:05 PM, wrote: > > Since I changed layout.php in config file, I have had a big problem. > > A enormous sf appears on the page. > > Can anyone help me? > > > -- > > 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 > > -- > Damien ALEXANDRE -- 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