Re: [symfony-users] Re: Invoke private method in controller
Thanks, it must something be wrong, I will check now. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Mon, Jun 20, 2011 at 11:52 AM, winzou alexandre.ba...@gmail.com wrote: Of course you can. If the (1) part of your code is not executed, it's because of the return you've put just before. The return makes PHP quit this function, and resume the execution flow from the point where this function has been called. -- 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] Code Organization with 3rd party bundles
You must understand what is the third party, that means you want to use their libraries, you want to update your library following them. so they are library vender, that's all. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Fri, Jun 17, 2011 at 4:08 PM, Thomas Rabaix tho...@rabaix.net wrote: I think the valid location is / vendor / bundles the Sonata's documentation should be updated ... On Fri, Jun 17, 2011 at 10:04 AM, keymaster ad...@optionosophy.com wrote: There seems to be different practices: SonataAdminBundle / src / Sonata / AdminBundle KnpLab's menu bundle: / src / Knplabs / Bundle / MenuBundle FOSUserBundle: / vendor / bundles / FOS / UserBundle I would have thought all bundles meant for distribution should go into vendor/bundles, and that the src/ directory is for our own bundles, but that doesn't seem to be the case. So what is the recommended way of separating 3rd party bundles from our own? -- 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 -- Thomas Rabaix http://rabaix.net -- 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: Where is createFormBuilder()?
now I changed my code to this, it works now. $form = $this-get('form.factory')-createBuilder('form',$account) -add('username', 'text') -add(password,password) -getForm(); Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Thu, Jun 16, 2011 at 4:45 PM, Haulyn Jason saharab...@domix.in wrote: Hi, I am using Form, but I got the following error: Fatal error: Call to undefined method Yunshang\AccountBundle\Controller\DefaultController::createFormBuilder() My code is very simple, I do not know what's the problem. $account = new Account(); $form = $this-createFormBuilder($account) -add('username', 'text') -add('email','text') -add(password,password) -getForm(); return $this-render('YunshangAccountBundle:Default:register.html.twig', array( 'form' = $form-createView(), )); Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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] Can not send email via Symfony2
Hi, I want to send email via sendmail installed local.Then the code in Symfony 2 project is: configuration: mailer_transport=sendmail mailer_host=localhost mailer_user= mailer_password= PHP Code: $message = \Swift_Message::newInstance() -setSubject($shippingBills-getEmailHeader()) -setFrom('saharab...@domix.in') -setTo('saharab...@domix.in') -setBody($this-renderView('YunshangSalesBundle:Default:shippingEmail.txt.twig')); $this-get('mailer')-send($message); When I execute these scripts, the webpage has no errors, but no email has been sent, I can not receive anything, and no email recorder via SymfonyProfiler. Any help? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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] Can not send email via Symfony2
I am confused, after I send the email, I only redirect to dashboard page. BUT: nothing was pushed to my sendmail queue. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Fri, Jun 3, 2011 at 5:20 PM, Michael Holm ho...@hollo.dk wrote: Hi, Just a hint, are you sure that you not just redirect after sending the mail, and the mail are held back in you local mail queue? I just know what i have done that a couple of times.. :) Best regards, Michael Holm On Fri, Jun 3, 2011 at 8:00 AM, Haulyn Jason saharab...@domix.in wrote: Hi, I want to send email via sendmail installed local.Then the code in Symfony 2 project is: configuration: mailer_transport=sendmail mailer_host=localhost mailer_user= mailer_password= PHP Code: $message = \Swift_Message::newInstance() -setSubject($shippingBills-getEmailHeader()) -setFrom('saharab...@domix.in') -setTo('saharab...@domix.in') -setBody($this-renderView('YunshangSalesBundle:Default:shippingEmail.txt.twig')); $this-get('mailer')-send($message); When I execute these scripts, the webpage has no errors, but no email has been sent, I can not receive anything, and no email recorder via SymfonyProfiler. Any help? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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 -- 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] Can not send email via Symfony2
OK, I know the problem, mailer_transport=sendmail, I wrote this line to production config, but not in dev config, I set it to smtp to dev config. Sorry for the stupid issue. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Fri, Jun 3, 2011 at 5:28 PM, Haulyn Jason saharab...@domix.in wrote: I am confused, after I send the email, I only redirect to dashboard page. BUT: nothing was pushed to my sendmail queue. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Fri, Jun 3, 2011 at 5:20 PM, Michael Holm ho...@hollo.dk wrote: Hi, Just a hint, are you sure that you not just redirect after sending the mail, and the mail are held back in you local mail queue? I just know what i have done that a couple of times.. :) Best regards, Michael Holm On Fri, Jun 3, 2011 at 8:00 AM, Haulyn Jason saharab...@domix.in wrote: Hi, I want to send email via sendmail installed local.Then the code in Symfony 2 project is: configuration: mailer_transport=sendmail mailer_host=localhost mailer_user= mailer_password= PHP Code: $message = \Swift_Message::newInstance() -setSubject($shippingBills-getEmailHeader()) -setFrom('saharab...@domix.in') -setTo('saharab...@domix.in') -setBody($this-renderView('YunshangSalesBundle:Default:shippingEmail.txt.twig')); $this-get('mailer')-send($message); When I execute these scripts, the webpage has no errors, but no email has been sent, I can not receive anything, and no email recorder via SymfonyProfiler. Any help? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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 -- 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] app_dev.php works on local and server, but app.php only works local
Thanks, it works now. What's the difference between the different parameter? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net 2011/6/3 Καρακούσης Απόστολος kto...@gmail.com: try changing $kernel = new AppKernel('prod', false); to $kernel = new AppKernel('prod', true); in app.php On Jun 3, 2011, at 1:25 PM, Haulyn Jason wrote: Hi, I deployed my symfony 2.0 application to the server, it's simple CRUD application. On my dev machine, no matter visit to /app_dev.php/ or /app.php, everything works well. On my production machine, I can visit to /app_dev.php/, everything works well, but when I visit /app.php or /app.php/, I got 404 page. Nothing useful information in log(both apache log and symfony log) In symfony log it said no router for get '/', but the result of app/console router:debug is the following: _wdt ANY /_wdt/{token} _profiler_search ANY /_profiler/search _profiler_purge ANY /_profiler/purge _profiler_import ANY /_profiler/import _profiler_export ANY /_profiler/export/{token}.txt _profiler_search_results ANY /_profiler/{token}/search/results _profiler ANY /_profiler/{token} _configurator_home ANY /_configurator/ _configurator_step ANY /_configurator/step/{index} _configurator_final ANY /_configurator/final homepage ANY / sales_dashboard ANY /sales/ sales_shippingbills_new ANY /sales/shippingbills/new sales_shippingbills_insert ANY /sales/shippingbills/save sales_shippingbills_history ANY /sales/shippingbills/history sales_shippingbills_operate ANY /sales/shippingbills/operate sales_shippingbills_ship ANY /sales/shippingbills/ship sales_shippingbills_delete ANY /sales/shippingbills/delete account_login ANY /account/login account_security_check ANY /account/login_check account_logout ANY /account/logout I am sure I didn't put the homepage '/' to routing_dev, I am really put them to routing.yml I can not find the problem, any suggestions? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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 -- 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] [Security Component] Why The security layer will not intercept this request
Hi, I am using Security Component, it's easy, but the problem is when I submit the username and password, I get the following: The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? OK, I know I have the following function: /** * @Route(/login_check, name=account_security_check) */ public function loginCheckAction() { // The security layer will intercept this request } I have the configuration: sales: pattern:^/sales form_login: check_path: /account/login_check login_path: /account/login failure_path: null always_use_default_target_path: false default_target_path:/ target_path_parameter: _target_path use_referer:false use_forward: true logout: path: /account/logout target: / invalidate_session: false delete_cookies: a: { path: null, domain: null } b: { path: null, domain: null } anonymous: ~ At least, I do not need to implement the login_check function, isn't it? Or, what I lost? Thanks! Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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] [Security Component] Why The security layer will not intercept this request
Hi, Christophe You are right, the issue has solved, but I can not understand this design. In my project, /sales, /cms and /account is individual bundles, /sales need to be logined, /cms is public resource, /account handle the login logic. Is that mean I have to merge account bundle to sales, otherwise the security component can not see it? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Wed, Jun 1, 2011 at 6:06 PM, Christophe COEVOET s...@notk.org wrote: Le 01/06/2011 12:01, Haulyn Jason a écrit : Hi, I am using Security Component, it's easy, but the problem is when I submit the username and password, I get the following: The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? OK, I know I have the following function: /** * @Route(/login_check, name=account_security_check) */ public function loginCheckAction() { // The security layer will intercept this request } I have the configuration: sales: pattern:^/sales form_login: check_path: /account/login_check login_path: /account/login The issue is here: your check_path is /accounr/login_check but this firewall is only enabled when the url is something like /sales/* so it cannot see it. failure_path: null always_use_default_target_path: false default_target_path:/ target_path_parameter: _target_path use_referer:false use_forward: true logout: path: /account/logout target: / invalidate_session: false delete_cookies: a: { path: null, domain: null } b: { path: null, domain: null } anonymous: ~ At least, I do not need to implement the login_check function, isn't it? Or, what I lost? Thanks! Regards, -- Christophe | Stof -- 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] [Security Component] Why The security layer will not intercept this request
understand, just like iptable, ^/(account|sales)/ is very very useful, regex, yes, it's what I need. Thanks very much. Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net On Wed, Jun 1, 2011 at 7:17 PM, Christophe COEVOET s...@notk.org wrote: Le 01/06/2011 13:05, Haulyn Jason a écrit : Hi, Christophe You are right, the issue has solved, but I can not understand this design. A firewall is an authentication system. So the pattern says on which part of the app the firewall should be applied. If the check path is not behind the firewall, it cannot work as you are on a different authentication system (or no authentication system if there is no firewall for this path). In my project, /sales, /cms and /account is individual bundles, /sales need to be logined, /cms is public resource, /account handle the login logic. Is that mean I have to merge account bundle to sales, otherwise the security component can not see it? Regards, The pattern of the firewall is a regex. You can use ^/(account|sales)/ as pattern so that it matches both of them. -- Christophe | Stof -- 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] I am finding a CMS based on Symfony2.0
Hi, I am trying to find a CMS based on Symfony 2.0. It's not necessary to be a full featured all stack production, even a prototype is OK. Any suggestions? Regards, Haulyn Jason Founder, http://domix.in Rm. 807, Qilu Software Tower, Qilu Software Park 1 Shunhua Rd., High-Tech Development Zone Jinan, Shandong 250101, P. R. China Tel: +86 158 5410 3759 Website: http://haulynjason.net -- 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] How to load CSS from layout.html.twig
Hi, I am new to Symfony 2.0, I want to load style.css from my layout.html.twig, then I do the following work: 1. put my layout.html.twig to APP/src/Domix/CommonBundule/Resources/public/style.css 2. add the following code to layout.html.twig link href={{ asset('bundles/common/style.css?v=0.01') }} rel=stylesheet type=text/css / 3.visit my application via url: http://localhost/~saharabear/domixin/app_dev.php/ Then, I find the style.css is not load, by viewing my resource, I got the following generated by {{ asset('') }} link href=/~saharabear/domixin/bundles/common/style.css?v=0.01 rel=stylesheet type=text/css / I can not find what's the problem, is there something I miss? Thanks! http://domix.in Protect and Track your life and work Location:Room 807,QiLuRuanJianDaSha Qilu Software Park No. 1 Shunhua Rd High-Tech Development Zone Jinan, China 250101 Mobile: +86 15854103759 Haulyn Jason -- 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] Are there something resource for learning Symfony2.0?
Hi, I am starting a new project, I want to start from Symfony2.0, because it's about March now. But without the guide of Symfony-Reloaded.org, I can not find anything tutorial or sample, so I can not load css or use constant variable globally. I want to know are there something useful reference for beginners? Thanks very much. Thanks! http://domix.in Protect and Track your life and work Location:Room 807,QiLuRuanJianDaSha Qilu Software Park No. 1 Shunhua Rd High-Tech Development Zone Jinan, China 250101 Mobile: +86 15854103759 Haulyn Jason -- 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] Use Constant in Symfony
Thank you very much, it's very useful. Thanks! http://domix.in Protect and Track your life and work Location:Room 807,QiLuRuanJianDaSha Qilu Software Park No. 1 Shunhua Rd High-Tech Development Zone Jinan, China 250101 Mobile: +86 15854103759 Haulyn Jason On Tue, Feb 22, 2011 at 7:56 AM, Jeremy Mikola jmik...@gmail.com wrote: If you're using Twig, the TwigBundle configuration supports a globals option, which takes key/value pairs to make global variables available in your templates. In your config.yml: twig: globals: site_name: domix.in site_blog: blog.domix.in In your templates, you should then be able to do {{ app.site_name }} to print out the site_name global you defined. I don't believe this is documented yet, but it should show up soon under the Reference Documents section here: http://docs.symfony-reloaded.org/master/index.html On Mon, Feb 21, 2011 at 8:24 AM, Haulyn Jason saharab...@domix.in wrote: Hi, Before I am Kohana user, I always define something like: ?php return Array( 'site_name'='domix.in', 'site_blog' = 'blog.domix.in' ) Then I can use the property in template as ?php echo $kohana-config('web')-site_name ? I wanna to know is there something I can do this in symfony 2.0? Thanks! http://domix.in Protect and Track your life and work Location:Room 807,QiLuRuanJianDaSha Qilu Software Park No. 1 Shunhua Rd High-Tech Development Zone Jinan, China 250101 Mobile: +86 15854103759 Haulyn Jason -- 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 -- jeremy mikola -- 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] Symfony 1.4 or Symfony 2?
Thanks Gareth I decide to vote symfony 2. I will feed back to mailing list in coding time. On Mon, Oct 18, 2010 at 6:25 PM, Gareth McCumskey gmccums...@gmail.comwrote: Thats what I meant by if the development time before going into production for your app will fall after Symfony 2.0's official launch as a complete product. The further from this launch date you expect your app to be ready the better as it will give the Symfony 2 developers the time to mature the product after getting feedback from production use. On Fri, Oct 15, 2010 at 5:05 PM, Haulyn R. Jason saharab...@gmail.comwrote: Symfony 2.0 does not have any production experience, but I'd prefer 2.0. Hard choice. On Fri, Oct 15, 2010 at 8:19 PM, Gareth McCumskey gmccums...@gmail.comwrote: I guess the only way to answer this is .. depends. If you expect your project to be ready to go live for production use within the next couple of months, then you should use 1.4. Otherwise, if you expect the development time to be longer, say into next year, and you don't mind fixing things that may break as Symfony 2 matures closer to release, then go for Symfony 2. On Thu, Oct 14, 2010 at 4:21 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, I am new to Symfony, I compare the two version symfony1.4 and symfony2.0 prefiew, I didn't find a way to upgrade symfony1.4 project to 2.0. But the official site says: 2.0 is not ready for production enviroment. At the moment, our project is on the way. We want to use 2.0, but I think I need some suggestion from symfony community. Any suggestions are welcome, Thanks. -- Thanks! http://www.haulynjason.net Haulyn Jason -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Thanks! http://me.haulynjason.net Haulyn Jason -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Thanks! http://me.haulynjason.net Haulyn Jason -- 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] Symfony 1.4 or Symfony 2?
Symfony 2.0 does not have any production experience, but I'd prefer 2.0. Hard choice. On Fri, Oct 15, 2010 at 8:19 PM, Gareth McCumskey gmccums...@gmail.comwrote: I guess the only way to answer this is .. depends. If you expect your project to be ready to go live for production use within the next couple of months, then you should use 1.4. Otherwise, if you expect the development time to be longer, say into next year, and you don't mind fixing things that may break as Symfony 2 matures closer to release, then go for Symfony 2. On Thu, Oct 14, 2010 at 4:21 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, I am new to Symfony, I compare the two version symfony1.4 and symfony2.0 prefiew, I didn't find a way to upgrade symfony1.4 project to 2.0. But the official site says: 2.0 is not ready for production enviroment. At the moment, our project is on the way. We want to use 2.0, but I think I need some suggestion from symfony community. Any suggestions are welcome, Thanks. -- Thanks! http://www.haulynjason.net Haulyn Jason -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- 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.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Thanks! http://me.haulynjason.net Haulyn Jason -- 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] Symfony 1.4 or Symfony 2?
Hi, I am new to Symfony, I compare the two version symfony1.4 and symfony2.0 prefiew, I didn't find a way to upgrade symfony1.4 project to 2.0. But the official site says: 2.0 is not ready for production enviroment. At the moment, our project is on the way. We want to use 2.0, but I think I need some suggestion from symfony community. Any suggestions are welcome, Thanks. -- Thanks! http://www.haulynjason.net Haulyn Jason -- 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: Database changes
My go to guide for doctrine migrations: http://www.denderello.com/publications/guide-to-doctrine-migrations On Apr 22, 4:52 am, Gareth McCumskey gmccums...@gmail.com wrote: True. I have my moments when I grr at symfony out of frustration ... until it apologises and makes up by showing me a way to do what I wanted to do anyways ;) On Thu, Apr 22, 2010 at 10:30 AM, Parijat Kalia kaliapari...@gmail.com wrote: Thanks Gareth! Daniel, I love symfony too, but at times, like all good lovers, we tend to disagree, true that we should not use cuss words, so I'll keep that in mind! On Thu, Apr 22, 2010 at 12:26 AM, Daniel Lohse annismcken...@googlemail.com wrote: ... more like every week. What I particularly don't like is words like sucky, shitty and so on. Why does one have to do that? A simple what are you guys doing about database changes? would have sufficed. Sorry for being in such a mood but I like symfony too much for it to get (needlessly) bashed like this. :) Just my 2c. Sent from my iPhone On Apr 22, 2010, at 4:09 AM, Eno symb...@gmail.com wrote: On Wed, 21 Apr 2010, Parijat Kalia wrote: The one sucky part about symfony for me is how to handle database changes. I mean, if I need to go about changing db fields, then must i loose all my existing data? I am sure there is a very easy way around this, coz if there is a long way around it, then that would be crazy as db changes happen all the time. Migrations are your friend. (If you're still using Propel, then this might be incentive to switch to Doctrine :-) http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony... This questions comes up on the list every month or two... -- -- 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 -- 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 -- Gareth McCumskeyhttp://garethmccumskey.blogspot.com twitter: @garethmcc -- 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 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
[symfony-users] log rotate task 1.2 - potential bug
I found this interesting: http://trac.symfony-project.org/browser/branches/1.2/lib/task/log/sfLogRotateTask.class.php#L67 It seems when this task is calling rotate it is overriding the time checks by setting $override to true. Correct me if I'm wrong but doesn't it seem like that would break the date logic in place and forces a log rotation no matter what the date is? Thanks, Jason --~--~-~--~~~---~--~~ 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 it possible to change database without loosing any data ?
When learning about sf doctrine migrations I found this page to be the most informative: http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony-and-doctrine-migrations On May 13, 2:45 am, dziobacz aaabbbcccda...@gmail.com wrote: OK - I know :))) If we have files: 001_file1.class.php and 002_file2.class.php symfony doctrine:migrate 002 - migrate from 001 version (001_file1.class.php) to 002 version (002_file2.class.php) symfony doctrine:migrate 000 - migrate from 002 version - 001 version - 000 version (database at the beginning, not file) symfony doctrine:migrate 001 - migrate to 001 version WONDERFUL !! xD On 13 Maj, 08:27, dziobacz aaabbbcccda...@gmail.com wrote: You have written: 'Each class essentially represents a version of your database and the up() and down() methods allow you to walk backwards and forwards between versions of your database.' - so I can return in symfony to previous version database ? May I know how ? :) On 12 Maj, 22:55, Jonathan Wage jonw...@gmail.com wrote: Not at the same level of Doctrine. - Jon On Tue, May 12, 2009 at 3:47 PM, Craig cr...@pixelfusion.co.nz wrote: Hi, Is there something similar for migrating database schemas in Propel? Cheers Craig On May 13, 5:17 am, dziobacz aaabbbcccda...@gmail.com wrote: WoW !! Thx so much !! I have one more question - If I have for example 100. files (I don't have but I am interested) migration class - can I choose file to migration, for example: 090_something.class.php ? So the solution for other people is: In \lib\migration\doctrine create new file - the name isn't important but the name must begin number, for example: 001_, 002_, 003 ... for example: 001_something.class.php, in this file write (the name of class isn't important): class Cheese extends Doctrine_Migration { public function up() { $this-addColumn('table_name', 'new_column_name', 'string', array ('length' = '255')); } public function down() { } } And then write: symfony doctrine:migrate - and we have new column :) On 12 Maj, 18:51, Jonathan Wage jonw...@gmail.com wrote: bootstrap.php is something you would have seen earlier in the documentation. The examples in the Doctrine documentation are for use outside of symfony. You can simply place your migration class in lib/migrations/doctrine and then run the command ./symfony doctrine:migrate - Jon On Tue, May 12, 2009 at 11:49 AM, dziobacz aaabbbcccda...@gmail.com wrote: my migrate.php file: require_once('bootstrap.php'); $migration = new Doctrine_Migration('001_something.class'); $migration-migrate(); my 001_something.class.php file: class Something extends Doctrine_Migration { public function up() { $this-addColumn('my_new_column', 'Kariera', 'string', array ('length' = '255')); } public function down() { } } After wrote: C:\Program Files\WebServ\httpd\sf_sandboxphp migrations/migrate.php Warning: require_once(bootstrap.php) [http://www.php.net/manual/pl/ function.requ ire-once]: failed to open stream: No such file or directory in C: \Program Files\ WebServ\httpd\sf_sandbox\migrations\migrate.php on line 2 Fatal error: require_once() [http://www.php.net/manual/pl/ function.require]: Fai led opening required 'bootstrap.php' (include_path='.;C:\Program Files \WebServ\p hp\pear') in C:\Program Files\WebServ\httpd\sf_sandbox\migrations \migrate.php on line 2 I searched where is bootstrap.php but I found only in C:\Program Files \WebServ\httpd\sf_sandbox\test\bootstrap files: functional.php and unit.php -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org --~--~-~--~~~---~--~~ 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] sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml
I have two database connections in databases.yml. I am generating schema.yml from existing DBs. I run ./symfony doctrine:build-schema then ./symfony doctrine:build-model (for generating the classes). The first connection's fk's are getting generated without a hitch. But the second connection's fk's don't seem to be recognized by Doctrine. Is there something I need to be looking for when generating fk's, a setting in the databases.yml? Any ideas or suggestions would be greatly appreciated. Thank you! --~--~-~--~~~---~--~~ 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: sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml
I am now getting no relationships. I no have one database connection in databases.yml. This db has two schemas. I am getting all the tables in schemas.yml but no relations. I am willing to contribute back on this. I assume it has something to do with: http://trac.doctrine-project.org/ticket/1734ei=3u14SYC-CZjcmQfuzZwgusg=AFQjCNHwMayjiWU8Sr230wHWg-0KWfRYnA in that Import/Pgsql.php - listTableRelations() this method needs to look into each schema. I know db schemas aren't officially supported in doctrine yet. Does anyone have any advice or solutions? Thank you. On Jan 22, 12:32 pm, Jason jasonbouff...@gmail.com wrote: I have two database connections in databases.yml. I am generating schema.yml from existing DBs. I run ./symfony doctrine:build-schema then ./symfony doctrine:build-model (for generating the classes). The first connection's fk's are getting generated without a hitch. But the second connection's fk's don't seem to be recognized by Doctrine. Is there something I need to be looking for when generating fk's, a setting in the databases.yml? Any ideas or suggestions would be greatly appreciated. Thank you! --~--~-~--~~~---~--~~ 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: sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml
Broken link up there http://trac.doctrine-project.org/ticket/1734 On Jan 22, 5:22 pm, Jason jasonbouff...@gmail.com wrote: I am now getting no relationships. I no have one database connection in databases.yml. This db has two schemas. I am getting all the tables in schemas.yml but no relations. I am willing to contribute back on this. I assume it has something to do with:http://trac.doctrine-project.org/ticket/1734ei=3u14SYC-CZjcmQfuzZwg;... in that Import/Pgsql.php - listTableRelations() this method needs to look into each schema. I know db schemas aren't officially supported in doctrine yet. Does anyone have any advice or solutions? Thank you. On Jan 22, 12:32 pm, Jason jasonbouff...@gmail.com wrote: I have two database connections in databases.yml. I am generating schema.yml from existing DBs. I run ./symfony doctrine:build-schema then ./symfony doctrine:build-model (for generating the classes). The first connection's fk's are getting generated without a hitch. But the second connection's fk's don't seem to be recognized by Doctrine. Is there something I need to be looking for when generating fk's, a setting in the databases.yml? Any ideas or suggestions would be greatly appreciated. Thank you! --~--~-~--~~~---~--~~ 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] symfony exeption apres propel-init-admin
bonjour, l'admin généré m'affiche une execption symfony que j'ai du mal a comprendre, vola le deteil : schema.yml : propel: member: _attributes:{ phpName: Member } id: society: { type: varchar, size: 255, required: true } name: { type: varchar, size: 255, required: true } email: { type: varchar, size: 255, required: true } password: { type: varchar, size: 255, required: true } confirm_key: { type: varchar, size: 255, required: true } valid : { type: boolean } stop_mailing: { type: boolean, default: 0 } created_at: { type: date } edito: _attributes: { phpName: Edito } id: title: { type: longvarchar } content: { type: longvarchar } je reconstruit le modele et je cree les admin des 2 modules : ./symfony propel-build-all ./symfony propel-init-admin backend member Member ./symfony propel-init-admin backend edito Edito je regarde la page obtenue : /backend_dev.php/edito : OK /backend_dev.php/member : [PropelException] 'Array' could not be found in the field names of type 'fieldName'. These are: Array ( [id] = 0 [society] = 1 [name] = 2 [email] = 3 [password] = 4 [confirm_key] = 5 [valid] = 6 [stop_mailing] = 7 [created_at] = 8 ) stack trace * at **() in /SF_ROOT_DIR/lib/model/om/BaseMemberPeer.php/ line 95 ... http://ml.max-tetelin.com/backend_dev.php/member# 92. $toNames = self::getFieldNames($toType); 93. $key = isset(self::$fieldKeys[$fromType][$name]) ? self::$fieldKeys[$fromType][$name] : null; 94. if ($key === null) { 95. throw new PropelException('$name' could not be found in the field names of type '$fromType'. These are: . print_r(self::$fieldKeys[$fromType], true)); 96. } 97. return $toNames[$key]; 98. } * at *BaseMemberPeer::translateFieldName*('Array', 'fieldName', 'colName') in /SF_ROOT_DIR/cache/backend/dev/modules/autoMember/actions/actions.class.php/ line 217 ... http://ml.max-tetelin.com/backend_dev.php/member# je ne vois pas ce que je suis supposé faire, je ne pense pas devoir toucher a BaseMemberPeer je ne vois pas de faute de frappe dans mon schema et de toute façon ça aurait du me metre une erreur lors de la construction du modele j'ai besoin de votre aide sur ce coup la merci d'avance --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Propel difference
On Nov 10, 2007 2:21 AM, Kiril Angov [EMAIL PROTECTED] wrote: Is everybody not aware of http://trac.symfony-project.com/wiki/sfPropelMigrationsLightPlugin ? It will not solve your problem now but use mysql diff tool and then create a migration that you an run in production. And from then on use migrations everytime you make schema changes. This is one area where I really miss the Ruby on Rails way of doing things. I really like their database migration tools. This plugin seems like the closest fit to the RoR method. Thanks for the info! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Code Coverage and Lime?
Does the Lime testing framework have a code coverage tool? If so how can I learn more about it? Thank you in advance, Jason --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Regarding 500 Internal Server Error
you must configure your databes in propel.ini AND in databases.yml maybe it's the cause of your problem arbutus a écrit : Dear All, I have just started working with symfony 1.0.2. I am facing few problems in my project. I have created shema.xml and made changes in propel.ini. All object and Base classes are creating with respect to Tables, and the corresponding set and get methods are working fine. The problem is at the time of calling the save() method. It is giving error like 500 Internal Server Error. PlateForm Description= PHP5,Mysql4.0,Apache2.1 Please help me in this regard. Regards Rajesh Ranjan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---