[symfony-users] Re: once again, the error " The "default" context does not exist."

2009-05-17 Thread Frank Stelzer
Did you check, if you are using sfContext in your child model classes on your own? Something like this here would break your task: public function save(PropelPDO $con = null) { // accessing sfContext here will break task sfContext::getInstance()->getLogger()->blah(); r

[symfony-users] Re: Why the form isn't saved?

2009-05-17 Thread Frank Stelzer
Let me see your current used code please. Maybe there is still a mistake in binding request values to your form. Am 15.05.2009 um 14:29 schrieb Reynier Perez Mira: > >> Your form is invalid, because your bind call is not correct. A >> missing >> array_merge call is missing there. >> Try this

[symfony-users] Re: symfony debug toolbar where is the database??

2009-05-17 Thread Vit228
Check in settings.yml logging_enabled:on --~--~-~--~~~---~--~~ 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 thi

[symfony-users] sfSympalPlugin

2009-05-17 Thread David Ashwood
With the latest version of Sympal - I've started seeing the following in the error log and blank pages being shown when viewing the site: [Sun May 17 12:44:29 2009] [error] [client 87.221.255.175] SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are act

[symfony-users] Re: sfSympalPlugin

2009-05-17 Thread David Ashwood
I've tried updating the databases.yml with both: options: PDO::MYSQL_ATTR_USE_BUFFERED_QUERY: true attributes: PDO::MYSQL_ATTR_USE_BUFFERED_QUERY: true With the options line above I get an error (unknown option). Without luck - anybody have a suggestion about how t

[symfony-users] Propel and 1:1 relationships

2009-05-17 Thread Crafty_Shadow
Hey guys, I have the following question - how do I make propel hydrate 1:1 relationships automatically ? When we have a normal 1:m relationship the peer class provides methods like doSelectJoinWhaever, but no such method is available when using a 1:1 The relation itself works just as it's expected

[symfony-users] Doctrine with persistent connection

2009-05-17 Thread HiDDeN
Hello, Are persistent connections working with the Doctrine plugin? Adding persistent: true to databases.yml would do the trick? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To pos

[symfony-users] Re: Chinese Lanuage in the URL, failed, please share some of your ideas, thanks

2009-05-17 Thread gestadieu
Chinese characters cannot be used in URL unfortunately, they are not ASCII compatible obviously. I had some similar requests from one of my customer. We worked on a "translation" chinese characters <-> pinying to make it works but finally the customer change is mind and we did not finish the plugi

[symfony-users] Re: Chinese Lanuage in the URL, failed, please share some of your ideas, thanks

2009-05-17 Thread Frank He
I used Gabor's solution, just change the requirement in the routing.yml, change from \w+ to .+, then it works like a charm! I am using IE7, FF browser. On Sun, May 17, 2009 at 7:53 PM, gestadieu wrote: > > Chinese characters cannot be used in URL unfortunately, they are not > ASCII compatible ob

[symfony-users] What is sf_method in the forms?

2009-05-17 Thread nick
Hmm, I generate some CRUD forms for a new module. I notice this in the source code: What does this do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sy

[symfony-users] Re: What is sf_method in the forms?

2009-05-17 Thread Eno
On Sun, 17 May 2009, nick wrote: > Hmm, I generate some CRUD forms for a new module. I notice this in the > source code: > > > > What does this do? http://www.symfony-project.org/blog/2008/09/04/new-in-symfony-1-2-toward-a-restful-architecture-part-1 http://fabien.potencier.org/talk/16/symfo

[symfony-users] how to change an integer form input to a string?

2009-05-17 Thread Lawrence
I've got a field that was mistakenly defined in the schema as an integer. So the base class looks like this (I'm leaving out the irrelevant fields): $this->setWidgets(array( 'payment_amount'=> new sfWidgetFormInput(), )); $this->setValidators(array( 'payment_amount'

[symfony-users] Re: sympal installation problem

2009-05-17 Thread Daniel Holmes
I have this same issue; however changing to interactive didn't fix it for me. Let me know if there is anything in particular i can do to give you the information you need. On May 16, 9:37 am, Jonathan Wage wrote: > Hmm. Is it not working for you without the interactive options? I'd like to > fig

[symfony-users] What might cause output to appear when running a command line script? We're getting: Content-type: text/html; charset=iso-8859-1

2009-05-17 Thread Lawrence
We are now unable to run commands such as: symfony propel:build-all-load Because this seems to output between all the major steps: X-Powered-By: PHP/5.2.9 Content-type: text/html; charset=iso-8859-1 Which causes this: Fatal error: Class 'Content-type' not found in /home/apartments/php/ symfon