Re: [symfony-users] showsuccess relation

2010-01-11 Thread Gábor Fási
Try $document->getCompany() and create a __toString() in the Company model to return it's name. On Tue, Jan 12, 2010 at 04:24, Gabo wrote: > Method: $document->getCompanyId() -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this grou

[symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-11 Thread dziobacz
I would like to use also format in sfWidgetFormJQueryDate in symfony 1.4. Here is my ticket: http://trac.symfony-project.org/ticket/8093#preview You can give there your suggestions so maybe fabien faster solve this problem. What is more I think current format: mm-dd- is wrong because in normal

[symfony-users] Re: How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
'That was *wouldn't* be possible to overload ' On Jan 11, 9:05 pm, Dennis wrote: > On further investigation, I was trying to do two statements at the > same time, set the isolation level to SERIALIZABLE and start the > transaction. I was actually naming the transaction as a setpoint to > the

[symfony-users] Re: How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
On further investigation, I was trying to do two statements at the same time, set the isolation level to SERIALIZABLE and start the transaction. I was actually naming the transaction as a setpoint to the name SERIALIZALBLE. Leaving the name blank, i.e. $connection->beginTransaction() still didn't

[symfony-users] showsuccess relation

2010-01-11 Thread Gabo
Help!! In the ShowSuccess of id (table "document") print "2" instead "Coca Cola" ??? but in the editSuccess and newSuccess print good Method: $document->getCompanyId() i net to create a method in document.class.php??? -- You received this message because you are subscribed to the Google Groups

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
> The db engines are within a few sub-versions apart (mysql 5.0.75 > server vs. 5.0.67 local) Further info from: http://dev.mysql.com/doc/refman/5.0/en/identifiers.html "As of MySQL 5.0.52, aliases for column names in CREATE VIEW statements are checked against the maximum column length of 64 ch

[symfony-users] Re: redirect method covert & to &

2010-01-11 Thread chrisyue
no .. that is not the case, I've already raise a trac ticket to core dev team http://trac.symfony-project.org/ticket/8083 ken wrote: > you need to explicitly call ini_set('arg_separator.output', '&'); > before ProjectConfigutation > > On Jan 8, 10:43 am, chrisyue wrote: > > yes I've already know

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
On Jan 11, 4:25 pm, Georg Gell wrote: > This is a mysql specific error, because mysql only allows 64 bytes > length (http://dev.mysql.com/doc/refman/5.0/en/identifiers.html). It > seems that the SQL standard defines 128 bytes > (http://bugs.mysql.com/bug.php?id=13942) > I think you should file

[symfony-users] How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
(posted on symfony forums: general, 1.3/1.4 branch) How can I put several updates of objects inside of one transaction in Symfony? For example: I have a car object which is allowed only one picture. The owner of the record edits the record about the car and supplies the name of another file foto

Re: [symfony-users] Help with should be simple stuff...

2010-01-11 Thread Lee Bolding
On 12 Jan 2010, at 00:24, Darren884 wrote: > I am trying to override my setPassword method for my employee model > but everytime I try to overwrite it I get nothing from it. I was > using: > > public function setPassword($password) > { > parent::setPassword(sh1($passwor

[symfony-users] how to pass object by using sfAmfPlugin?

2010-01-11 Thread xhe
I just noticed that sfAmfPlugin - 1.5.0 has added service browser, pretty Cool feature. But I still want to know how to map class between as3 and php by using this plugin. If I pass array, string etc., it works fine, but once I changed the response to any class, the frontend flex will throw except

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
This is a mysql specific error, because mysql only allows 64 bytes length (http://dev.mysql.com/doc/refman/5.0/en/identifiers.html). It seems that the SQL standard defines 128 bytes ( http://bugs.mysql.com/bug.php?id=13942) I think you should file a bug report for doctrine. Am 12.01.2010 00:31, sc

[symfony-users] Help with should be simple stuff...

2010-01-11 Thread Darren884
Hello, I am having trouble with the following: I am trying to override my setPassword method for my employee model but everytime I try to overwrite it I get nothing from it. I was using: public function setPassword($password) { parent::setPassword(sh1($password));

[symfony-users] doctrine many to one one the same table

2010-01-11 Thread smellycat37
Hello, I have this schema structure Folder: columns: id: { type: integer, primary: true } name: { type: string(50), notnull: true } folder_id: { type: integer, notnull: true } relations: Parent: {onDelete: CASCADE, local: folder_id, foreign: id, foreignAlias: children} the "s

[symfony-users] Re: Symfony for newspaper site

2010-01-11 Thread Jake Barnes
> Collecting information about important points why Symfony can be > beneficial for newspapers web-sites (in comparison to Drupal6, where > time for hacking is large, but end-code is "not nice". I found some > good points here already > -http://lacot.org/public/symfony/symfony-day-2009-symfony-vs-

[symfony-users] 1.3 update error The task named "configure:database" in "sfPropelConfigureDatabaseTask" task is already registered by the "sfConfigureDatabaseTask" task

2010-01-11 Thread Johan Dindaine
Hello every one, I have attempted to update my application up to version 1.3 this afternoon via PEAR. The update of the core files went well but I soon as I tried to call the upgrade1.3 task from the console I got this weird message: sfCommandException: The task named "configure:database" in "sfPr

Re: [symfony-users] Problem:Could not open input file: symfony

2010-01-11 Thread Alexandru-Emil Lupu
chown group:user symfony chmod +x symfony ? On Sun, Jan 10, 2010 at 10:59 PM, Dj wrote: > I tryied >php symfony it shows message could not open input file : > symfony > > Please tell me the solution > > -- > You received this message because you are subscribed to the Google Groups > "symfony us

Re: [symfony-users] How to copy I18N objects in propel

2010-01-11 Thread Alexandru-Emil Lupu
$new_object = clone $old_object ? On Mon, Jan 11, 2010 at 9:24 PM, Walter wrote: > Hi all, > > does anybody knows how to copy I18N objects. > > I have a main oject with additional I18N data. If I copy (with the > propel copy comand) the main object the additional I18N data is not > copied as well

Re: [symfony-users] sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
probably the key name is too long. Try if this works: ALTER TABLE sf_guard_group_permission ADD CONSTRAINT g FOREIGN KEY (permission_id) REFERENCES sf_guard_permission(id) Am 11.01.2010 07:54, schrieb Mike Church: > Hi Folks: > > I have been trying to deploy, I have everything working right l

[symfony-users] Re: Symfony for newspaper site

2010-01-11 Thread Fred Grott(shareme)
Django was developed with newspapers in mind, in fact the main coding team is still in the newspaper it business.. On Jan 11, 11:20 am, Bob wrote: > Hi all, > > Collecting information about important points why Symfony can be > beneficial for newspapers web-sites (in comparison to Drupal6, wher

[symfony-users] FormFilter - sfWidgetFormChoice 'multiple' => true ... error

2010-01-11 Thread Tom Ptacnik
Hello, I have classic admin generated backend (Symfony 1.4). Today I've tried to customize the filter for the list view. The problem is that I want to filter by multiple select. So I've changed default widgets in configure method in my TicketFormFilter class from: 'tkstate'=> new sfWidgetFor

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
On Jan 11, 6:23 am, Gabo wrote: > try to delete all tables and next symfony:doctrine > > Gabo > I rebuild completely, so that's ot it. Thanks. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
Thanks for the response! On Jan 10, 11:58 pm, Frank Stelzer wrote: > Hi, > Looks like a SQL Problem. You should get a detailed explained error,   > when you try to execute this query directly to your database: > > > ALTER TABLE > > sf_guard_group_permission ADD CONSTRAINT > > sf_guard_group_permi

[symfony-users] How to copy I18N objects in propel

2010-01-11 Thread Walter
Hi all, does anybody knows how to copy I18N objects. I have a main oject with additional I18N data. If I copy (with the propel copy comand) the main object the additional I18N data is not copied as well. The deep copy command is also not suitable becaus it deletes the reference of the mother obje

[symfony-users] Re: Extensively customizing admin generated backends?

2010-01-11 Thread Darren884
The credential for the field is not working. The fields are still being displayed. Am I doing something wrong? Here is my code: config: actions: ~ fields: customer_id { help: The customer for whom the order is for. } employee_id: help: The employee who took

Re: [symfony-users] Symfony for newspaper site

2010-01-11 Thread Lee Bolding
On 11 Jan 2010, at 17:20, Bob wrote: > Hi all, > > Collecting information about important points why Symfony can be > beneficial for newspapers web-sites (in comparison to Drupal6, where > time for hacking is large, but end-code is "not nice". I found some > good points here already - > http://la

[symfony-users] fbml not rendering in Ajax response (using sfFacebookConnectPlugin)

2010-01-11 Thread Zach
I am having trouble getting a facebook user's name to display as part of my ajax response. I am using the sfFacebookConnectPlugin for all my facebook interactions. The following code works great in the template, but does not do anything when it is in an ajax response template. I am assuming it

[symfony-users] Symfony for newspaper site

2010-01-11 Thread Bob
Hi all, Collecting information about important points why Symfony can be beneficial for newspapers web-sites (in comparison to Drupal6, where time for hacking is large, but end-code is "not nice". I found some good points here already - http://lacot.org/public/symfony/symfony-day-2009-symfony-vs-i

[symfony-users] CrusieControl symfony question

2010-01-11 Thread Fred Grott(shareme)
Hello everyone I am implementing an ANT build for CruiseControl Symfony builds. I found that if I use ant-contib I can if switch between a local set of build/logs, build/doc, and build/coverage and the one in the Cruseconrol project structure so I can use the same exact build file and have develo

[symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread lorenx
hi and thanks for your reply! the problem is related to AclUser (if i remove both entries, all works as expected) the AclUser schema is the following: AclUser: tableName: acl_user columns: id: type: integer(4) primary: true autoincrement: true username: type: s

Re: [symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread Stéphane
Try minimizing your schema (with only two classes for example) without any _ in your fields (prefer camelCase) and tell us. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 11, 2010 at 4:13 P

[symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread lorenx
any suggestion? thanks... On Jan 8, 3:23 pm, lorenx wrote: > hi all, > have the couple schema/data that worked with symfony 1.2 but now, with > v1.4, i recieve: > > >> doctrine  Loading data fixtures from > >> "/lan/http/symfony/projects/cms/data/fixtures" > > Segmentation fault > > it seems a

Re: [symfony-users] sfDoctrineGuard is killing me

2010-01-11 Thread Gabo
try to delete all tables and next symfony:doctrine Gabo 2010/1/11 Mike Church > Hi Folks: > > I have been trying to deploy, I have everything working right locally. > > Now without implying I've tried everything I can tell you all that I > am at the end of my rope. When I use the svn versi

[symfony-users] how to do redirect in filter?

2010-01-11 Thread XAH
Hello. lib version 1.0.21 I have filter that checks if requested path info is valid. If check failed, filter should generate an other url based on requested path and default route params ($validated_url) . After this check (if failed) project calls sfContext::getInstance()->getController ()->redi

[symfony-users] Nested Joins

2010-01-11 Thread Radu Dragomir
Is it possible to write the following statement using standard propel? select distinct document.id, document.document_name, document.document_description from document left join (document_tag left join tag on document_tag.tag_id = tag.id ) on document.id = document_tag.document_id I tried somet

Re: [symfony-users] Drag'n'drop

2010-01-11 Thread Frank Stelzer
... or use an according sf plugin, which includes your requirements (e.g sfJqueryReloadedPlugin, when you use jQuery as js lib). Drag&Drop and the rest of the js features aren't anymore parts of the sf core. Am 10.01.2010 um 14:42 schrieb Thomas Rabaix: This feature is deprecated. You must