Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-10 Thread Georg
above, I don't feel they have a lot together. Regards Georg Am 10.06.2011 07:24, schrieb Fabien Potencier: > On 6/9/11 10:17 PM, Chris Sedlmayr wrote: >> Hi all, >> >> I don't think we are against the idea of creating a Symfony2 specific >> group, but we

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread Georg
+1 Am 16.05.2011 19:15, schrieb keymaster: > Having all the symfony 1.x releases mixed in with Symfony 2 posts can > sometimes make it difficult to discern which Symfony people are talking > about in their posts. > > Not everyone is explicit on whether they are referring to Symfony1 or > Symfony2

Re: [symfony-users] How to conditionally enable plugins in Symfony 1.4

2011-04-21 Thread Georg
I do it in the setup() method of ProjectConfiguration: if (isset($this->environment) && $this->environment == 'dev') { $plugins[] = 'sfFirePHPPlugin'; } Am 21.04.2011 16:59, schrieb codecowboy: > Hi, > > I would like to programatically enable plugins for a Symfony 1.4 app > based on the cur

Re: [symfony-users] doctrine:build-sql looking at stale (?) version of schema.yml

2011-04-12 Thread Georg
AFAIK it mixes the model class files and schema.yml when building SQL. Try running doctrine:build --all-classes before doctrine:build-sql Am 13.04.2011 01:40, schrieb OnDistantShores: > I've been making some changes to my DB schema, so I updated my > schema.yml file. However, when I go to run "./s

[symfony-users] Re: [symfony2]authentication with email

2011-04-01 Thread georg
You just change the return value of getUsername(). Instead of returning the user's name you return its email address public function getUsername() { return $this->email; } -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] [Symfony2] FrameworkExtraBundle

2011-03-29 Thread georg
This functionality is already bulit-in: _acmedemo_annotated_routes: resource: @AcmeDemo/Controller type: annotation -- 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 G

[symfony-users] [Symfony2] PR8: Custom roles for access control

2011-03-28 Thread georg
every request. If I change use the prefix in my custom roles then everything works as expected. So, is this a bug or are the docs not up to date? Or is there even an option to configure the behavior? regards georg -- If you want to report a vulnerability issue on symfony, please send it to sec

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread georg
Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. thanks georg -- 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 subsc

Re: [symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-19 Thread Georg
Am 18.03.2011 23:13, schrieb Francesco Levorato: > On Fri, Mar 18, 2011 at 11:06 PM, Georg wrote: >> How to proceed in this case? > > Hi Georg, > if you use the __() everywhere you may as well always include it in > the configuration. > See > http://www.symfony-proj

[symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Georg
the login page. But in this context the autoloader does not find the i18n helper, and an exception is raised. No chance to login :-( How to proceed in this case? Georg -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] Re: Doctrine version classes

2011-02-22 Thread Georg
Be careful with the generateFiles option. This regenerates the files on *each* usage of the model class (see the change time of the generated file after a usage). And this creates serious troubles with APC, because APC always re-caches the file, and this leads to have cache fragmentation, and possi

Re: [symfony-users] Relationships and i18n

2011-02-19 Thread Georg
Do you use multiple database connections? I had this problem once in this configuration, and I only found an ugly solution. Am 17.02.2011 18:43, schrieb Paolo Niccolò Giubelli: > Hi! > > I have the following schema: > > > > Category: > > actAs: > > Timestampable: ~ > > I18n: >

Re: [symfony-users] How to populate a non-view template and return as text?

2011-01-09 Thread Georg
http://www.symfony-project.org/plugins/ggEmailPlugin Am 09.01.2011 22:23, schrieb Eric B: > Hi, > > Given that Symfony is built around templates, I am trying to figure out > how I can leverage the power of the templates for other things, such as > emails. For example, I would like to write up my

Re: [symfony-users] How do I explicitly specify Doctrine connection name when connecting to multiple DBs using Symfony 1.4.8 / Doctrine 1.2?

2010-12-16 Thread Georg
This works for me. I can use tables from all databases in one action. Are you sure that the class is bound to the correct database? Am 16.12.2010 21:43, schrieb dmitrypol: > I am using Symfony 1.4.8 / Doctrine 1.2 to connect to multiple DBs. > In my_project_name/config/databases.yml I created conn

Re: [symfony-users] [Symfony 2] Binding object and data without a form?

2010-11-23 Thread Georg
Hi, I use the form component for js forms also for data validation, but not (obviously) for form display. Why don't you just set up a form (or even better, let doctrine generate it for you) and just use it for validating the request only? Georg Am 21.11.2010 17:37, schrieb Gustavo Adrian:

Re: [symfony-users] Remove column through schema.yml (Doctrine)

2010-10-21 Thread Georg
Obviously, if you want to remove a column, you have to *remove* it from the scheam.yml file (just delete it) ;-) Am 21.10.2010 15:39, schrieb Thomas Ohms: > Hi all, > > after searching for over an hour I just ask, what seems not to be > asked before: > I I like to remove a column from a schema (p

Re: [symfony-users] HTTPS/SSL standard in 1.4

2010-10-15 Thread Georg
Actually it is in the 1.4 docs, see http://www.symfony-project.org/gentle-introduction/1_4/en/06-Inside-the-Controller-Layer Listing 6-33 I admit it's hard to find, it seems google does not index 1.4 docs :-( Am 15.10.2010 02:07, schrieb JamesD: > Hello, > > First off I'd like to commend everyon

Re: [symfony-users] distinguishing between task and web request

2010-10-13 Thread Georg
execute sfContext::createInstance($this->configuration); in the task as the first line in execute(). I have always wondered why this is not done by default in tasks... Am 13.10.2010 11:08, schrieb axel at: > hello, > > I need to distinguish if a model function was called within a web > request

Re: [symfony-users] Need ideas: weird doctrine problem

2010-10-06 Thread Georg
: false, default: null, name: "d1_binary_reading_id as d1" } relations: BinaryReadingD1: { class: LocalBinaryReading, local: d1_binary_reading_id, foreign: id, onDelete: RESTRICT } _ is correct. Am 06.10.2010 10:49, schrieb Georg: > Hi, > > I have a wei

[symfony-users] Need ideas: weird doctrine problem

2010-10-06 Thread Georg
se let me now, this is driving me crazy. Or maybe this is a side effect of something else, but what??? Georg -- 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 "

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
t; > The solution you just described here works, but as you said it's an ugly > cheat (still looking better than the one I'm currently using though!) > > 2010/8/27 Georg mailto:geor...@have2.com>> > > Actually I do not understant what you want to

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
t; So the only solution I found from there was to go through that whole > array and build an array where I only have the furniture ids for my > second request. > > Still I don't like that solution in that: > - I have to query the DB 2 times instead of using a subquery > - I ha

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
try whereIn('f.id', array(1,7,8,9)) Am 26.08.2010 11:12, schrieb Sebastien Armand [Pink]: > 'IN' being one of the worst possible keyword to search online ever, I > found nothing interesting to solve my problem, so here it goes: > > My query should look something like this: > > Doctrine_Query::cr

Re: [symfony-users] setCookie with a different domain

2010-08-26 Thread Georg
AFAIK for security reasons, you cannot set cookies for another domain. Sub domains of your own domain are possible. Am 26.08.2010 03:53, schrieb Mariano Sola: > Hi all, how is it going? > > I'd like to ask you how can I set a domain that is not the same the > setCookie method is invoked in order

Re: [symfony-users] Re: Unhappy: sending mails with layout

2010-08-23 Thread Georg
Hello, I created a plugin with this functionality (http://www.symfony-project.org/plugins/ggEmailPlugin). I am using it in a live project, and it works well in my settings. If you have time please give it a try and report any issues you may find. Georg Am 19.08.2010 23:18, schrieb Antoine S

Re: [symfony-users] How to set a field with the id of the doctrine object in the saving process

2010-08-19 Thread Georg
Why don't you give it just a random name? Am 19.08.2010 21:55, schrieb Alexis Sanchez: > Hi! > > I have a doctrine model like this: > > Asset: > columns: > filename: { type: string(255), notnull: false, unique: true } > filesize: { type: integer, notnull: true } > > In the saving proc

Re: [symfony-users] Unhappy: sending mails with layout

2010-08-19 Thread Georg
Please? Am 18.08.2010 15:22, schrieb Georg: > Hello, > > I am confused. I would like to send emails with layout and template from > any place in my project, application or task. > Reading the docs > (http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails), it >

[symfony-users] Unhappy: sending mails with layout

2010-08-18 Thread Georg
o put the email views in a plugin, and make them accessible from everywhere? I would have expected a plugin that makes this possible, but no. How are you doing it, where do you put the presentation layers of your emails? Georg -- If you want to report a vulnerability issue on symfony, pl

Re: [symfony-users] Inconsistent syntax errors in cache files

2010-07-30 Thread Georg
cache files were written. Try to comment out the lines 365 and 366 (chmod, umask) in lib/vendor/symfony/lib/config/sfConfigCache.class.php, this helped in my case. HTH Georg Am 29.07.2010 18:07, schrieb Jonotron: > I've just started playing with Symfony 1.4.6 (after having worked with > 1.

Re: [symfony-users] Array Problems

2010-07-28 Thread Georg
??? foreach ($var as $val){ echo $val['email']; } Am 28.07.2010 17:08, schrieb Andro Fumero: > hello, > > can someone help me how to display the array below like > > ex. "so...@yahoo.com and some2.yahoo.com" > > Array ( [0] => Array ( [id] => 1 [email] => so...@yahoo.com ) >[1] =

Re: [symfony-users] Re: We are facing some issues with symfony backend.

2010-07-26 Thread Georg
#x27;'){ $this->nullablefield = null; } } HTH Georg Am 26.07.2010 12:54, schrieb brajesh: > Hi friends, > > I have generated backend by symfony. > Suppose i have a table in schema.yml > listing: > id: > type: char > name: > > Then i hav

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
ou should should set clientLifeTime to 1 (nobody can login in less then one second ;-), check for yourself) This means the the client will always request the page again, and symfony serves if from it's cache as long as the user is not logged in (which I guess whas the intended behaviour by you)

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
Do you have with_layout: true in your cache.yml? Am 26.07.2010 11:17, schrieb Lea Hänsenberger: > Hi Georg, > > Ok, I tried with disabling all the firefox addons, clearing the cache and > sending the cache headers in both the homepage action and the login action. I > encou

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
ng another test? I know, simple things, just to be sure... HTH Georg Am 26.07.2010 10:28, schrieb Lea Haensenberger: > Hi, > > I just tried that, it didn't change anything. > > On Jul 23, 1:16 am, Gustavo Adrian > wrote: >> Hi, >> >> Did you try to disable

Re: [symfony-users] Need help with Doctrine migration

2010-07-13 Thread Georg
Hi Joe, for me this works really well: add the column to the table in schema.yml DO NOT ./symfony doctrine:build --all-classes BUT ./symfony doctrine:generate-migrations-diff AND NOW ./symfony doctrine:build --all-classes Now you should be able to run ./symfony doctrine:migrate BTW: Delete all o

[symfony-users] $form->bind() should return the form object...

2010-07-01 Thread Georg
Hello, I think that the bind() method of the Form object should return the object to make it possible to chain methods, for my personal use of forms, this would make sense: if ($request->isMethod('POST') && $form->bind($request->getParameter('formvars'))->isValid()){ ... } else { ... } Because n

Re: [symfony-users] Customizable processes

2010-06-30 Thread Georg
I too would be very interested in a workflow engine/builder of some kind. Has anybody realised any part of this in a project? @Sebastien: Do you want to run all sub company custom processes in one symfony installation, or does each sub company receive their own installation? BR Georg Am

Re: [symfony-users] Re: how to prevent save in preInsert?

2010-05-29 Thread Georg Gell
add this to each form's configure() method, that you want to have flood protected (I expect that you want to protect this way (form) of entering data from flooding, and not the model itself): $this->validatorSchema->setPostValidator(new CombValidator(null, array(), array('invalid' => 'Flooding is

Re: [symfony-users] Templates in a single directory

2010-05-17 Thread Georg Gell
It might be worth looking into using your own view class: something along class myView extends sfPHPView { public function setDirectory($directory){ $this->directory = $directory . '/theme'; //whatever, must be full path } } and in filters.yml rendering: class: myView But then caching

Re: [symfony-users] a question about routing framework :P

2010-04-01 Thread Georg Gell
try to put something like this in routing.yml auckland: options: { segment_separators: [/, ., -] } Am 01.04.2010 08:39, schrieb Lee Joseph: > as I know routing framework in symfony which separates url information > with slash '/' or dot '.' like > > some_route: > url: /:module/:actions/:i

Re: [symfony-users] Symfony License issue

2010-03-15 Thread Georg Gell
Hi, checkout symfony and execute >find . -name 'LICENSE*' in it's folder. Am 13.03.2010 10:29, schrieb Avinash: > Hi There, > > I am not sure if this is right place, but I need to clear my doubt > that if i can create a symfony based product for selling instances to > clients without paying to a

Re: [symfony-users] Slow template rendering

2010-01-28 Thread Georg Gell
e::HYDRATE_SCALAR); } and in the template: getUserListAsArray() as $user){ echo << {$user['firstname']} {$user['lastname']} EOT; } ?> Does this solve your speed problem? Georg Am 27.01.2010 19:58, schrieb axel at: > hello list, > > symfony seems

Re: [symfony-users] No content

2010-01-21 Thread Georg Gell
This happens sometimes when you have a fatal php error in the template (or a method called from the template) Am 21.01.2010 17:24, schrieb Pax95: > I've installed a project in my local server - WampServer and it works > successfully. I added test content and uploaded it into server > (www.linuxpl.

Re: [symfony-users] URGENT: default_messages translation

2010-01-20 Thread Georg Gell
Am 19.01.2010 14:40, schrieb diogobaeder: > Hi, guys, > > I've posted this one: > http://groups.google.com/group/symfony-users/browse_thread/thread/5432958e71a54747/76035d6987e00ad8?lnk=gst&q=diogobaeder#76035d6987e00ad8 > > But I haven't found a solution, yet. The problem is, I have to deliver >

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
, schrieb Mike Church: > > > On Jan 11, 12:30 pm, Georg Gell wrote: >> 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) >> >> A

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

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Georg Gell
Am 08.01.2010 15:20, schrieb Lee Bolding: > > On 8 Jan 2010, at 13:43, Eno wrote: > >> On Fri, 8 Jan 2010, Lee Bolding wrote: >> >>> The whole IIS/windows server licensing issue is also beginning to >>> disappear - if you want a well supported, enterprise grade, stable and >>> scalable PHP

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Georg Gell
Hi, Am 08.01.2010 09:46, schrieb Parijat Kalia: > Hey guys, > > Just lighting up everyone's day, would like to get as many as possible > arguments on this. Me and a friend of mine, had a debate last evening, > about open source(PHP) vs closed source technologies(DOT NET).He raised > the following

Re: [symfony-users] admin generator, change redirect target after create/update

2009-12-21 Thread Georg Gell
question is "can we over-redirect" ? > > > 2009/12/20 Georg Gell mailto:geor...@have2.com>> > > Hi, > > no, this will not work, because I want to change the redirect after the > form has been successfully processed, which means no exception to

Re: [symfony-users] Development infrastructure

2009-12-20 Thread Georg Gell
rk, i have attached patches. The first removes a warning by php, that it cannot chmod on remote filesystems. The other doesn't create symlinks, but copies the directories, which is the normal behaviour for windows. Now symfony tasks behave the same way in windows and ubuntu environment, afaik.

Re: [symfony-users] admin generator, change redirect target after create/update

2009-12-20 Thread Georg Gell
Hi, no, this will not work, because I want to change the redirect after the form has been successfully processed, which means no exception to catch. Georg Am 19.12.2009 22:54, schrieb Alexandre Salomé: > Hi, > > You can wrap the function in a try...catch block and do y

[symfony-users] admin generator, change redirect target after create/update

2009-12-19 Thread Georg Gell
(40 lines DoRY). Thanks Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroup

Re: [symfony-users] OT: Create PHPCod comments automatically

2009-12-17 Thread Georg Gell
Cool! Thanks Georg Am 17.12.2009 09:45, schrieb Christopher Schnell: > NetBeans does that. all you have to do is to add /** above the method > and press enter. It can also handle type-hinting. > > Regards, > Christopher. > > Georg Gell schrieb: >> Hello list,

[symfony-users] OT: Create PHPCod comments automatically

2009-12-17 Thread Georg Gell
Me * @param $var * @return * */ Even better if the content of the created PHPDocs could be configured. I was using PHPEdit once, and this IDE had that kind of functionality, but I am missing it in Netbeans. How do you add those PHPDocs? Thanks Georg -- You received this message because you are

Re: [symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
is not a file, but a path. The real problem is the second test, where the sfFileValidator complains about the missing file. Georg Am 11.12.2009 13:36, schrieb Alexandru-Emil Lupu: > Check your > IsParameter('file','') > The test expects no file but you send one... so

[symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
s the absolute path to the file to upload." which either I don't understand or doesn't work. Has anyone done file uploads in a functional test, and how? Thanks Georg my functional test: __ $in2 = array('path' => '/path', 'm

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Oh, I thought that I could just edit properties.ini and append a line with email:john@example.com, I didn't know that the possible settings are predefined. Thanks for the explanation Georg Jonathan Wage schrieb: > I don't think properties.ini has an e-mail property? I am n

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Yes, svn update, symfony doctrine:build --all-classes and it is working out of the box. Thanks a lot for your work. Just out of curiosity, what is the reason why ##EMAIL## is not parsed out of properties.ini, or rather not at all ATM? Georg Jonathan Wage schrieb: > This is fixed now in SVN

Re: [symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-07 Thread Georg Gell
Hi, interesting approach, thanks, I would never have thought of this :-/ Is there a way to implement the creation of the fictive is_import column automatically in the dump when doing the task doctrine:data-dump? Georg Alexandre Salomé schrieb: > You shouldn't handle the question l

[symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-04 Thread Georg Gell
/do some wild things that don't need to be done for each reload } } } Thanks a lot Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this

Re: [symfony-users] Where to put the logic?

2009-12-04 Thread Georg Gell
the business logic. IMO this would add controller logic in the model, but if I could identify the doctrine:data-load task, this would be my preferred approach. * To have an argument for the doctrine:data-load task, not to trigger the doctrine events. * Did I miss something obvious? Thanks for reading u

Re: [symfony-users] Where to put the logic?

2009-12-03 Thread Georg Gell
to be registered in the project config. And there it would be triggered by the doctrine:data-load task again (resulting in double users, see my other post) Georg Stéphane schrieb: > The controller isn't responsible for application logic. > It must be in your model (if you can...). &g

Re: [symfony-users] Where to put the logic?

2009-12-03 Thread Georg Gell
ldump, just dump and load sql data, which I expected by the name (data-dump and data-load)? I am forced to go along the controller/form solution, because for the test cases I need fresh data in the db, and mysqldump is not an option is this case. But this feels wrong. Georg Bernhard Schussek sc

[symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-03 Thread Georg Gell
Hi, the following tokens can be found in the autogenerated base model classes in sf 1.4. * @package##PACKAGE## * @subpackage ##SUBPACKAGE## * @author ##NAME## <##EMAIL##> Is there a way to replace them by real values? Or are they placeholders for future use? TIA Georg -

[symfony-users] Where to put the logic?

2009-11-30 Thread Georg Gell
this? Is there a way in doctrine to switch of all pre/post save code for data-load? Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this g

[symfony-users] difficulties with doctrine:data-dump in sf1.4

2009-11-23 Thread Georg Gell
in a task? Then it could deactivate itself? Thanks Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to sy

[symfony-users] Doctrine behaviour adds field, how to get rid of it's validator in auto generated forms in sf 1.3?

2009-11-11 Thread Georg Gell
idea how What is the best approach for this in Symfony 1.3 aka Doctrine 1.2? TIA Georg --~--~-~--~~~---~--~~ 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] Doctrine nestedSet delete with application level cascade

2009-11-09 Thread Georg Gell
Is there a way to have a table with the nestedSet behaviour cascade it's delete on the application level (like cascade: [delete]? I have a file for each record in the file system that I would like to delete also. Georg --~--~-~--~~~---~--~~ You received

[symfony-users] Re: non ascii chars in Fixtures files

2009-11-06 Thread Georg Gell
Did you save the fixtures file in UTF8? cosmy schrieb: > Hi all, > do you know a method to load fixtures data without losing chars like > àèìòù and others? > It exchanges them with a question mark during the data-load. > > thank you in advance > > > --~--~-~--~~~-

[symfony-users] Re: Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
Sorry, forgot to mention that I am using Doctrine. I am going to upgrade to symfony 1.3 today, if you can send me your patch I would be grateful. Thanks Georg David Ashwood schrieb: > Assuming you're using Doctrine - which version of symfony are you using? > I have a small patch f

[symfony-users] Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
1062 Duplicate entry '1' for key 1" This does not help me, because I have no idea what the problem could be. I tried to run symfony with -t option, but this does not help. How can I find out in which table, in which field and which value should be inserted, when the error occured? Tha

[symfony-users] use renderPartial in a filer

2009-10-23 Thread Georg Gell
Hi, afaik renderPartial is a method of the action. How can I call it in a filter? Probably through the action stack, but I am too tired to search through the docs again. Is it it fifo or filo? TIA Georg --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] culture aware sfValidatorNumber, what are you using?

2009-10-07 Thread Georg Gell
://trac.symfony-project.org/ticket/4071), but obviously nothing happened. What are you doing in this case? Has anybody a culture aware sfValidatorNumber class? Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony

[symfony-users] Re: if (condition): endif: not working

2009-10-06 Thread Georg Gell
Guessing: you have short_open_tag=1 in php.ini on your pc, but short_open_tag=0 on your laptop. Avani schrieb: > Below is my code > > > > 345: > 346:347: > if($show_left_sliding_men

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-25 Thread Georg Gell
to the index in the middle, and add the whole navigation on top also (last chapter, index, next chapter). Also maybe there would be an option to automatically create a link for chapter ## in the docs? I think most of the suggestions are implemented quite quickly and would help me a lot. Anyone el

[symfony-users] Re: Insert custom styles in template

2009-09-21 Thread Georg Gell
Right, thank you Davide Borsatto schrieb: > Slots are the solution to your problem, read about them in the docs > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group

[symfony-users] Re: Insert custom styles in template

2009-09-18 Thread Georg Gell
e') ?> in layout.php 2.) I can use a slot 3.) I can define another layout file in view.yml for the module (at least I think). Which of these options is best performance wise, how do they affect caching? Georg Casey schrieb: > Maybe you could use a filter or the preExecute method

[symfony-users] Re: Insert custom styles in template

2009-09-18 Thread Georg Gell
ically for each request, so this css would have to be it's own action. I would like to avoid the overhead to create the action and add another request from the browser that slows down the page load. at 2 c) same reason like 1, I can't put anything in <head> from the template. Geo

[symfony-users] Insert custom styles in template

2009-09-18 Thread Georg Gell
. I could create a helper for that, and use it in layout.php, but what information is available to this helper during the time it is used? Probably nothing from the action? Any ideas? Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] How can I set a different base class for each Doctrine record?

2009-09-04 Thread Georg Gell
client in a multi client system. Is there a way to define a different base class for the base table class for each table? Thanks in advance for your help Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sy

[symfony-users] Can't get Doctrine Nested Set on an aliased multi root column to work

2009-08-31 Thread Georg Gell
#x27; in 'field list' Doctrine_Connection->exec('INSERT INTO album (path, clientid, image_size, thumbnail_size, priceset_id, lft, rgt, level) VALUES (?, ?, ?, ?, ?, ?, ?, ?)', array('/', 1, 600, 150, 1, '1', '2', 0)) Her

[symfony-users] Re: wrong-generated sql-query (symfony propel-generate-crud)

2008-04-16 Thread Georg Sorst
Hi Dan, looks very much like you are passing the wrong value (ie. NULL) to the RetrieveByPK() method. Can you check if this might be the case? Cheers, Georg Dan Jipa schrieb: > > One of my actions in a module calls the *RetrievebyPK method* and > generated 0 results. > I'

[symfony-users] Re: Accesing config values

2008-04-08 Thread Georg Sorst
hp to see how the key is transformed to PHP. Cheers, Georg Reynier Perez Mira schrieb: > Hi every: > I need to paginate some values from a query. This is not a problem because I > can use sfPropelPager class. For that I do this at first: > > public function executeListar() >

[symfony-users] Re: sfGuardPlugin installation nightmare! :-(

2008-04-08 Thread Georg Sorst
Hey Sid, just to get an idea, what's being displayed instead of the login page? What happens if you directly access the login page (there should be a special route /login or just use /sfGuardAuth/signin )? Could you probably upload the symfony log somewhere? Cheers, Georg Sid Bachtiar sc

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Georg Sorst
Hey Pedro, I can't really help you with the issue itself, but can you check if a connection to the Oracle DB is actually made when you request your page by looking at the Oracle logs or something similar? Too bad the error message isn't printed out correctly by Symfony. Cheers, Ge

[symfony-users] Re: Modules organisation

2008-04-03 Thread Georg Sorst
l the executeListproduct() action in the product module's actions. This action will then use the listproductSuccess.php template for its output. So there's your separation :) Hopefully that may help you. If you need more info on this, have a look at the Symfony book and the tutorials. Cheers,

[symfony-users] sfPropelVersionableBehaviorPlugin: creating a new resource version without modifying the resource

2008-03-28 Thread Georg Sorst
stem. This means for example when a non-admin user edits an object the object itself is not modified but a new version is created nevertheless. The admin can then review this change and either approve and merge it with the object or reject it and just discard the resource version. Than

[symfony-users] Re: Nested Set without single root?

2008-03-28 Thread Georg Sorst
page) but for the life of me I can't find it anymore. But it should give you a good starting point if you can find it :) Cheers, Georg > > Thanks though, I keep digging. > Daniel > > > On Mar 26, 6:36 am, gestadieu <[EMAIL PROTECTED]> wrote: >> I am not sure y

[symfony-users] Re: sfPropelActAsTaggableBehavior and mixins

2008-03-27 Thread Georg Sorst
Hi Gergo, according to the behavior's documentation there really is no 'removeTags' method, just 'removeAllTags' or 'removeTag'. Are you sure you're using the right method? Cheers, Georg pihentagy schrieb: > Hi all! > > I've tried to i

[symfony-users] Re: Working with slots first time

2008-03-27 Thread Georg Sorst
that action and you should be all set. Hope that helps! Cheers, Georg Reynier Perez Mira schrieb: > Hi every: > I have a menu and I need this menu specific only for admin pages. For that I > think the better option is "slots". Well I put this code inside > backend/templa

[symfony-users] Re: dev environment not running with linux

2008-03-27 Thread Georg Sorst
Hey Martin, I'm a little late but this bug report might help: http://trac.symfony-project.com/ticket/2438 Using this allows me to actually use xdebug as a debugger :) Cheers, Georg Martin Groh schrieb: > Please stop bothering!! I've got it! > There seem to be problem

[symfony-users] Re: sfGuard: getUsername in template

2008-03-07 Thread Georg Sorst
xtends sfGuardSecurityUser? Cheers, Georg Pierre schrieb: >> $sf_user->getGuardUser()->getUsername() >> >> I think. > > Yeah, that's how it should be. But apparently the getGuardUser-method > returns an empty variable and I can't figure out why. A logged-in &g

[symfony-users] Re: "Smart" Routing Rules?

2008-03-07 Thread Georg Sorst
dule, and if so, forward to that module, otherwise display the requested page? It's just a handful of code, and the only drawback is that it's not in the routing.yml where it actually belongs. Cheers, Georg Richtermeister schrieb: > Hi all, > > as of late I've been impleme

[symfony-users] Re: Askeet Day3 : php load_data.php

2008-03-07 Thread Georg Sorst
Hey David, just for curiosity's sake, what did you or Frank do to solve the problem? Did you just restart the tutorial from the beginning? Cheers, Georg David BOUCHÉ schrieb: > Special thanks to Frank that help me since yesterday. > My code succefully import data on his computer. &

[symfony-users] Re: Separete in three phisical layers a symfony project

2008-03-07 Thread Georg Sorst
actually works but I'm sure it's possible. However, the overhead is probably rather large and I have no idea how well it scales. Cheers, Georg Yusdenis Sanchez Perodin schrieb: > > Hello everybody: > > I need to separete my symfony project in three phisical layers be

[symfony-users] Re: Maintaining DB scripts using Propel

2008-03-06 Thread Georg Sorst
your prod. DB. This is certainly not industrial-grade but so far it has successfully kept me from implementing a real solution :) Cheers, Georg Piers Warmers schrieb: > > Yep, migrations is the way to go. > > There is a propel plugin for this also: > > http://trac.s

[symfony-users] Re: Askeet Day3 : php load_data.php

2008-03-05 Thread Georg Sorst
xist I'll have to think harder :) Cheers, Georg David BOUCHÉ schrieb: > Hello, > > I have a problem when I try to populate the database with the batch : > > [EMAIL PROTECTED] batch]$ php load_data.php > PHP Fatal error: Uncaught exception 'sfException' with mess

[symfony-users] Re: Putting forms in session

2008-03-05 Thread Georg Sorst
Is that really an issue? I mean, in a production environment you would probably shut down your site and clear all sessions anyway before you move to the new code. Cheers, Georg Thomas Rabaix schrieb: > CO2, let's imagine the situation : > - you store an object in the session &g

[symfony-users] Re: sfAdmin generator auto components

2008-03-03 Thread Georg Sorst
s.php . Cheers, Georg florynth schrieb: > This is a question that I've post on the forum, listening from Fabien > advice I'll try the newsletter from now on... > > Hi, > > I have modify the default theme for the propel-init-admin by admin a > auto components. Every

[symfony-users] Re: how to discover types in propel model?

2008-03-03 Thread Georg Sorst
columns (type, primary / foreign key etc.) from the table map. To get the table map for a certain model class use the peer method BasePeer::getTableMap() and then have a look at the TableMap class to see what can be done with it. Best regards, Georg Mohammad Ali Safari schrieb: > Hi > I am

  1   2   >