Re: [symfony-users] Code Organization with 3rd party bundles

2011-06-19 Thread Haulyn Jason
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.,

Re: [symfony-users] Re: Invoke private method in controller

2011-06-19 Thread Haulyn Jason
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

[symfony-users] Invoke private method in controller

2011-06-19 Thread Haulyn Jason
mail.com')){ return ... (1) } return ... } I find that the code in part (1) does not work, it looks that the private method _check() always return null, I can invoke private function from public function in controller, isn't it? Regards, Haulyn J

[symfony-users] Re: Where is createFormBuilder()?

2011-06-16 Thread Haulyn Jason
now I changed my code to this, it works now. $form = $this->get('form.factory')->createBuilder('form',$account) ->add('username', 'text') ->add("password","password") ->

[symfony-users] Where is createFormBuilder()?

2011-06-16 Thread Haulyn Jason
ccountBundle: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:

Re: [symfony-users] app_dev.php works on local and server, but app.php only works local

2011-06-03 Thread Haulyn Jason
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:

Re: [symfony-users] Can not send email via Symfony2

2011-06-03 Thread Haulyn Jason
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

[symfony-users] app_dev.php works on local and server, but app.php only works local

2011-06-03 Thread Haulyn Jason
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

Re: [symfony-users] Can not send email via Symfony2

2011-06-03 Thread Haulyn Jason
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

[symfony-users] Can not send email via Symfony2

2011-06-02 Thread Haulyn Jason
il.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

Re: [symfony-users] [Security Component] Why The security layer will not intercept this request

2011-06-01 Thread Haulyn Jason
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.

Re: [symfony-users] [Security Component] Why The security layer will not intercept this request

2011-06-01 Thread Haulyn Jason
, 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

[symfony-users] [Security Component] Why The security layer will not intercept this request

2011-06-01 Thread Haulyn Jason
es: 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.

[symfony-users] I am finding a CMS based on Symfony2.0

2011-05-21 Thread Haulyn Jason
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

Re: [symfony-users] Use Constant in Symfony

2011-02-21 Thread Haulyn Jason
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, F

[symfony-users] Are there something resource for learning Symfony2.0?

2011-02-21 Thread Haulyn Jason
rence 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 rep

[symfony-users] Is there anyone should help me to confirm I am in mailing list now?

2011-02-21 Thread Haulyn Jason
, 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, sen

[symfony-users] Use Constant in Symfony

2011-02-21 Thread Haulyn Jason
mething 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 r

[symfony-users] How to load CSS from layout.html.twig

2011-02-21 Thread Haulyn Jason
cation: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 mess

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-18 Thread Haulyn R. Jason
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

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-16 Thread Haulyn R. Jason
t 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,

[symfony-users] Symfony 1.4 or Symfony 2?

2010-10-15 Thread Haulyn R. Jason
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 yo

[symfony-users] Re: Database changes

2010-04-22 Thread Jason
My go to guide for doctrine migrations: http://www.denderello.com/publications/guide-to-doctrine-migrations On Apr 22, 4:52 am, Gareth McCumskey 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

[symfony-users] Re: log rotate task 1.2 - potential bug

2009-08-11 Thread jason
true we the task doesn't care what period is. (if we leave override on by default) I wonder if I'm the only one that's looked into this or if anyone has an opinion? Thanks guys, Jason On Aug 11, 3:15 pm, jason wrote: > I found this > interesting:http://trac.symfony-project.o

[symfony-users] log rotate task 1.2 - potential bug

2009-08-11 Thread jason
ould 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 em

[symfony-users] Re: is it possible to change database without loosing any data ?

2009-05-14 Thread Jason
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 wrote: > OK - I know :))) > If we have files: 001_file1.class.php and 002_file2.clas

[symfony-users] Re: sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml

2009-01-22 Thread Jason
Broken link up there http://trac.doctrine-project.org/ticket/1734 On Jan 22, 5:22 pm, Jason 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 a

[symfony-users] Re: sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml

2009-01-22 Thread Jason
Jan 22, 12:32 pm, Jason 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 gett

[symfony-users] sfDoctrine - build-schema not picking up pgsql foreign keys and building relations in schema.yml

2009-01-22 Thread Jason
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

[symfony-users] symfony exeption apres propel-init-admin

2008-06-12 Thread Jason - Antiquites-en-france.com
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:

[symfony-users] Code Coverage and Lime?

2007-11-12 Thread Jason Coffin
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 po

[symfony-users] Re: Propel difference

2007-11-12 Thread Jason Coffin
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 th

[symfony-users] Re: Regarding 500 Internal Server Error

2007-05-15 Thread Jason - Antiquites-en-France.com
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 >