[symfony-users] Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey all, My current symfony project has recently become quite popular. While this is obviously good, load on the server has increased in tandem. Since about 2-3 weeks, we are experiencing very strange sf config cache issues. They seem most likely to happen under heavy load. The first few

RE: [symfony-users] Re: Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey Gabriel, Thanks for your reply. With regards to point 2 below, isn't the config cache always located on the filesystem? Alexander -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens pghoratiu Verzonden: dinsdag 10 augustus

RE: [symfony-users] Virtual columns admin-generator fail

2010-03-25 Thread Alexander Deruwe
You are adding a virtual field to the list view - there is no form there. Your partial will have access to an object with the name of the model the admin generator is for. (I.e. if you generated a module for your Car model, your partial will have a $car object to work with.) Sorry if I am

[symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
I have the following yaml schema: Profile: # blah blah Channel: actAs: { Timestampable: ~ } columns: sender_id: { type: integer, notnull: true } receiver_id: { type: integer, notnull: true } relations: Profile: { local: sender_id, foreign: id } How can I relate receiver_id

RE: [symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
That worked just fine! Thanks a bunch. A. -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens Syam Verzonden: vrijdag 12 maart 2010 15:14 Aan: symfony-users@googlegroups.com Onderwerp: Re: [symfony-users] Doctrine question

[symfony-users] Admin generator, embedded forms not saving their many-many's

2010-03-11 Thread Alexander Deruwe
Hello everyone, When I embed Form B into Form A in an admin module, where Form B contains a many-many relation, the changes to the many-many table (with the sfWidgetFormSelectDoubleList, or even with the default widget) are not saved to the db. If I create a separate admin module directly for

RE: [symfony-users] Admin generator, embedded forms not saving their many-many's

2010-03-11 Thread Alexander Deruwe
-us...@googlegroups.com] Namens Alexander Deruwe Verzonden: donderdag 11 maart 2010 13:35 Aan: symfony-users@googlegroups.com Onderwerp: [symfony-users] Admin generator, embedded forms not saving their many-many's Hello everyone, When I embed Form B into Form A in an admin module, where

[symfony-users] Line endings in filter/form/model

2010-03-02 Thread Alexander Deruwe
Hey all, Today I switched from a *nix development machine to a Windows 7 one. When I regenerated the filter/form/model stuff, in the base files the line ending was changed to crlf instead of lf. Not really a problem, just a little messy svn-wise - is there a way to force it to a certain style?

[symfony-users] symfony 1.4, doctrine, i18n, another question

2010-02-22 Thread Alexander Deruwe
Hello again, I have a table with a index: unique field that needs translations. Setting the index: unique option somehow makes it impossible to have identical translations for two languages. Is there a solution to this? IMO setting any index: unique on any field in a translated table should

[symfony-users] Admin generator ymfony 1.4 i18n question

2010-02-22 Thread Alexander Deruwe
Hey everyone, I understand how to show all required languages in the add/edit/filter admin-generator forms with embedI18n(). An issue I am facing is that in the list view, I only see non-i18n fields (only the 'id' primary key in my case)... How can I show either the current culture translation

RE: [symfony-users] Re: Admin generator ymfony 1.4 i18n question

2010-02-22 Thread Alexander Deruwe
Ugh, thank you very much. I tried this before I added /:sf_culture to my routes and it gave an error - and I assumed it was unrelated to the /:sf_culture thing. Assumption is the mother of all screw ups, never more true. Thanks again, Alexander -Original Message- From:

[symfony-users] Doctrine many-to-many behaviors

2009-05-20 Thread Alexander Deruwe
Hey all, Been getting extremely confused by http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors#creating-behaviors - What I am trying to do is make 'Contactable' behavior for entity like tables: Company: actAs: { Contactable: ~ } columns: name: { type:

[symfony-users] i18n in yml files

2009-04-27 Thread Alexander Deruwe
Hello, Been struggling with figuring out how to get literal strings from yml files into xliff files. The admin generator's generator.yml comes to mind: edit: title: Edit Operator '%%name%%' new: title: New Operator How would those two strings be

[symfony-users] saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Hey everyone, I have a problem saving the main form in the case where the embedded form fails for whatever reason (in my test case a double UNIQUE value). It will trigger an exception that the foreign key field cannot be NULL in the main record: SQLSTATE[23000]: Integrity constraint

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
with a null one from the form, causing the error. In your form do this before embedding it. unset($embeddedForm['file_data_id']); - Jon On Wed, Apr 22, 2009 at 8:46 AM, Alexander Deruwe ader...@aqs-carcontrol.be wrote: Hey everyone, I have a problem saving the main form in the case where

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Eh never mind this one, $this-getObject() does exactly what it says it does. Alexander On 22 Apr 2009, at 16:02, Alexander Deruwe wrote: As an aside I have another question... I need to update other form fields in one of my updateXXXColumn() methods, but using $this['field

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Alexander Deruwe
On 16 Apr 2009, at 10:52, Roland Cruse wrote: Since its a php syntax error symfony logs are not much help...or have not been for me. Try checking your apache (or whatever you use) error log, if you have access - it probably has more info. Alexander

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 13 Dec 2008, at 07:02, Sumedh wrote: Thanks Alexander...I think it looks like a great solution... How much performance overheard it will be you think, for normal reqest- response flow when there is no exception...? On the whole, should we put something like this in production? I am

[symfony-users] Re: Extending DbFinder

2008-12-16 Thread Alexander Deruwe
Should I open a ticket for this, or? I just noticed this is still present in latest svn trunk. Alexander On 11 Dec 2008, at 10:09, Alexander Deruwe wrote: Some hunting lead me to a likely typo. Please see attached patch. Alexander On 10 Dec 2008, at 12:01, Alexander Deruwe wrote

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Alexander Deruwe
On 16 Dec 2008, at 11:34, François CONSTANT wrote: I would like to get a user attribute in view.yml (in order to modify the title). I know that I can use some php in this file but what I don't know is how to access the sf_user object. Within an action I could use $this- getUser() and set up

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 15 Dec 2008, at 08:25, kusum wrote: Hi, I tried this filter ,but after sfException occur this email code is not working.Even it is not logging any constant mess in log file. I think that's to do with using the environment variable SF_ENVIRONMENT - I've defined this in my apache

[symfony-users] Re: Logging in production

2008-12-12 Thread Alexander Deruwe
On 12 Dec 2008, at 12:11, Bernhard Schussek wrote: On Fri, Dec 12, 2008 at 11:48 AM, Sumedh sumedh.inam...@gmail.com wrote: Looks like the plugin is available only for 1.1 ...whereas we are using 1.0 ... :| The plugin has very little code and thus is easy to adapt/rewrite if you need to.

[symfony-users] Extending DbFinder

2008-12-10 Thread Alexander Deruwe
Hey all, I'm encountering some problems extending DbFinder... I have two databases, propel and an older database that I have generated a schema for. In the 'propel' database I want to create some custom finder: so I have lib/model/propel/EntryFinder.php: ?php class EntryFinder extends

[symfony-users] Re: DbFinder and subqueries

2008-10-17 Thread Alexander Deruwe
On 16 Oct 2008, at 16:29, Alexander Deruwe wrote: SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey) Ok, so to keep others from possibly being the same kind of stupid I have been for a few hours... DbFinder allows you to simply use Criteria or Doctrine_Query stuff

[symfony-users] DbFinder and subqueries

2008-10-16 Thread Alexander Deruwe
Hey all, Started using DbFinder a little while ago - great great great plugin! Thanks a bunch. Got one question though... Is it possible to do subqueries? Ex: SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey) (simplified example of what I'm trying to achieve) Cheers,

[symfony-users] Re: Problem with forwarding in filters

2008-10-01 Thread Alexander Deruwe
On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote: I've got a problem with forwarding from a filter in sf 1.1... I do $this-getContext()-getController()-forward($module, $action), but i've got header problem (the web debug toolbar is loaded 2 times...) and no rendering of my action...

[symfony-users] Re: Problem with forwarding in filters

2008-10-01 Thread Alexander Deruwe
On 01 Oct 2008, at 15:58, Alexander Deruwe wrote: On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote: I've got a problem with forwarding from a filter in sf 1.1... I do $this-getContext()-getController()-forward($module, $action), but i've got header problem (the web debug toolbar is loaded 2

[symfony-users] Re: Rich date field is diabled when using AJAX

2008-05-29 Thread Alexander Deruwe
On 29 May 2008, at 14:12, Grégoire wrote: echo object_input_date_tag ($user, 'getDob', 'rich=true'); I want the form to be displayed in a DIV, loaded with AJAX. But when I do that, the button next to the field, which is supposed to display the calendar, is always disabled, with the disabled

[symfony-users] Re: Conexion SQL SERVER

2008-02-14 Thread Alexander Deruwe
On 14 Feb 2008, at 08:50, [EMAIL PROTECTED] wrote: all: propel: class: sfPropelDatabase param: dsn: mssql://usuario:pass@nombreservidor\nombreinstancia/ basededatos propel.database= mssql propel.database.createUrl = mssql://usuario:pass@servidor

[symfony-users] LOC count

2008-02-14 Thread Alexander Deruwe
Hey all, How do you calculate the LOC count for your symfony project? Is there perhaps a plugin I don't know about? I've been sortof wondering, after a year of working on this ever- changing project, what size it has become. :) Cheers, Alexander

[symfony-users] Re: LOC count

2008-02-14 Thread Alexander Deruwe
On 14 Feb 2008, at 11:49, Nicolas Perriault wrote: $ find . -name *.php |cat |wc -l A poor man's LOC count. ;) You'll find that: $ find ./ -name '*.php' -exec cat {} \; | wc -l works better. Since there doesn't really seem to be a tool (other than sloccount

[symfony-users] Re: LOC count

2008-02-14 Thread Alexander Deruwe
On 14 Feb 2008, at 12:02, Nicolas Perriault wrote: $ find . -type f -name *.php -print0 | xargs -0 wc -l | grep total Yes, that does the trick too. :) Alexander --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: [sfGuardPlugin] design problems

2008-02-14 Thread Alexander Deruwe
On 12 Feb 2008, at 18:32, Georg Sorst wrote: This table also has an is_super_admin-flag already. I don't think it is wise to use that for the described purpose as it will effectively allow those users with that flag access to the entire application... Alexander

[symfony-users] Re: Vertical Line

2008-02-06 Thread Alexander Deruwe
On 06 Feb 2008, at 12:52, Birchandra Sanasam wrote: I want to write some text on vertical line. Can I write it? Please guide me if someone knows. Sounds like you need Google. ;) http://www.google.com/search?q=html+vertical+text Alexander

[symfony-users] Re: Deactivate CSS stylesheets

2008-01-14 Thread Alexander Deruwe
On 14 Jan 2008, at 15:07, Sylvain Deloux wrote: How could I deactivate these stylesheets from my action ? Use view.yml in the corresponding module: blahSuccess: stylesheets: [-StylesheetOfYourChoiseWithoutTheExtension] Notice the '-' there which instructs symfony to remove the stylesheet

[symfony-users] Error 500

2008-01-10 Thread Alexander Deruwe
Hey guys, I'm getting frequent error 500's on production which I am so far unable to reproduce on my dev environment. Is there any way I can disable this global error 500 page and show the actual exceptions which are (probably) being thrown and causing these error 500 pages in my

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Alexander Deruwe
On 18 Dec 2007, at 01:09, Teck wrote: Is anybody working on Leopard version? I found that on Leopard the easiest way out is to run a development environment in Parallels/VMware and 'symfony sync' to it. PHP on Leopard is version 5.2.4, but with so many things missing it's not even funny.

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Alexander Deruwe
On 18 Dec 2007, at 11:46, Stefan Koopmanschap wrote: just use macports. I have set up my php and mysql using macports, and things are running fine. :) Ah, might have a look - is PostgreSQL 7.4 in there too? Alexander --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: i18n and MySQL

2007-12-13 Thread Alexander Deruwe
On 12 Dec 2007, at 21:39, eax wrote: I would like to translate my website in many languages thanks to symfony's i18n and use MySQL to store the translation data. I didn't understood the poor informations on the official Symfony website. I would like to know if somebody could tell me where I

[symfony-users] Re: symfony on a mac - display question

2007-12-12 Thread Alexander Deruwe
On 10 Dec 2007, at 17:03, Wang David wrote: for instance : the [propel-om] lines aren't there, but i know they're there they just can't be seen , because i can cut and paste it. I know this is trivial, buts its a pain in my ass to always cut and paste the output. I have noticed this too -

[symfony-users] Re: Problems with MySQL Connection

2007-12-07 Thread Alexander Deruwe
On 07 Dec 2007, at 14:53, [EMAIL PROTECTED] wrote: [wrapped: connect failed [Native Error: Access denied for user 'web1713'@'83.220.144.13' (using password: YES)] [User Info: Array]] Seems like you did not tell mysql to accept connections from web1713 to your database. Or maybe you did, but

[symfony-users] Re: Flash messages not disappearing

2007-11-14 Thread Alexander Deruwe
On 14 Nov 2007, at 14:02, Angelina Talley wrote: Hello folks! Hey there, I have a symfony app that's puzzling me. Currently, as an action executes I set a flash message saying the action succeeded or failed. I then return sfView::SUCCESS or just let the action complete and return the

[symfony-users] adBlueprintPlugin released

2007-11-12 Thread Alexander Deruwe
Hey all, I've released the beta version of adBlueprintPlugin - more information about this: http://trac.symfony-project.com/wiki/adBlueprintPlugin This plugin wraps the Blueprint CSS Framework version 0.6 - more information about the framework itself: http://code.google.com/p/blueprintcss/

[symfony-users] Re: Meta tags losing correct closing tag on POST?

2007-11-02 Thread Alexander Deruwe
On 02 Nov 2007, at 12:27, Ian P. Christian wrote: Alexander Deruwe wrote: Thanks for your reply Ian. I apologise for getting back to this rather late. Err, not to play firestarter or anything, but this effectively means it's not possible to create valid XHTML 1.0 code with symfony

[symfony-users] Re: Meta tags losing correct closing tag on POST?

2007-11-02 Thread Alexander Deruwe
On 31 Oct 2007, at 17:39, Ian P. Christian wrote: This is a problem with fillin filter I'm not sure if the fillin filter has now been fixed to resolve this issue - can anyone else comment? the technical reason for this is that the fillin filter uses libxml libraries to parse the output in

[symfony-users] Re: Anyone using MAMP

2007-11-02 Thread Alexander Deruwe
On 01 Nov 2007, at 18:42, Lee Bolding wrote: On 1 Nov 2007, at 13:07, Tom Haskins-Vaughan wrote: I'm intrigued. Tell me more... Umm... there isn't much more to tell. This is the setup I currently have - I have the MAMP stack installed locally on my MacBook Pro for quick-n-dirty testing,

[symfony-users] Meta tags losing correct closing tag on POST?

2007-10-31 Thread Alexander Deruwe
Hey everyone, Both in my production and development environments, using symfony 1.0.8, on a normal GET request, the layout's ?php include_http_metas(); ? ?php include_metas(); ? calls will output: meta name=title content=blah blah / meta name=robots content=noindex, nofollow / which is

[symfony-users] Re: Use of APC in symfony

2007-10-30 Thread Alexander Deruwe
On 30 Oct 2007, at 13:30, Marco Schierhorn wrote: Fatal error: Cannot run code from this file in conjunction with non encoded files in /kunden/80049_40667/webseiten/dcytest/apps/ frontend/modules/account/templates/_accountCompany.php on line 114 I've never encountered this myself... But

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread Alexander Deruwe
On 28 Oct 2007, at 23:42, Kris Wallsmith wrote: Could it be as simple as clearing the symfony cache? Other than that, my experience with blank screens when trying to access a symfony project is that the library and data folder variables in /config/ config.php aren't configured accurately.

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Alexander Deruwe
On 05 Sep 2007, at 17:32, Kiril Angov wrote: I am sorry I will changing the topic a little but by reading your reasons to use Flexy and your concerns about it being developed and PHP5 compatible why not take a look at PHPTal. There is a not very recent symofny plugin for it that I took a

[symfony-users] Re: automated code audit

2007-09-05 Thread Alexander Deruwe
On 29 Aug 2007, at 20:29, Tristan Rivoallan wrote: On 8/29/07, Jack Bates [EMAIL PROTECTED] wrote: I wonder if any code already exists for checking symfony's code standards? pear's codesniffer can provide a very good basis for implementing this.

[symfony-users] Migrations

2007-09-04 Thread Alexander Deruwe
Hello, I've used the code from http://trac.symfony-project.com/trac/wiki/ Migrations to implement a basic migration system for my project. Even though (as mentioned in the page) it currently relies on a lot of handcoded SQL, it's working marvelously. I'd now like to release this as a

[symfony-users] Re: Trac down

2007-08-21 Thread Alexander Deruwe
On 20 Aug 2007, at 03:41, Kiril Angov wrote: http://trac.symfony-project.com/trac 500 - Internal Server Error Anyone looking at this already? I'd like to get to the plugins. ;) Alexander --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: sfSimpleForumPlugin

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 00:40, Stereo wrote: [propel-sql] Processing: generated-schema.xml [propel-sql] Processing: generated-sfGuardPlugin-schema.xml [propel-sql] Processing: generated-sfSimpleForumPlugin-schema.xml Execution of target sql-template failed for the following reason: /

[symfony-users] Re: Started dutch translation of the symfony book - any help welcome

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 13:19, Stefan Koopmanschap wrote: Hello everyone, I just made a start with the dutch translation of the book: http://trac.symfony-project.com/trac/wiki/Documentation/nl_NL/book/1.0 If there are any other dutchies here that feel like helping me out, feel free to help.

[symfony-users] Re: Error in Symfony 1.0.6?

2007-08-01 Thread Alexander Deruwe
On 01 Aug 2007, at 16:57, Marc Torres wrote: I've just installed symfony from pear, and it installs version 1.0.6, but when I run the symfony command I get: Parse error: parse error in /Applications/xampp/xamppfiles/bin/ symfony on line 34 is it something break? Anyone out there has

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 13:43, Thierry wrote: i get the impression symfony sync is broken, at least it's not working for me and in the forums people seem to be also having trouble and using workarounds. what is the current status on sync? Works for me. Does 'plain' rsync and/or ssh work for

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 15:17, Thierry wrote: SSH is working fine, rsync command is available running as follows: C:\wamp\www\jobV2symfony sync production exec rsync --progress --dry-run -azCnet:/home/topdown/ symfony/job/ stays nice and completely stuck there That's launching a

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 17:34, Thierry wrote: I've been trying to find the problem by seeing what rsync command symfony is actually using symfony production go, does the following: rsync --progress -azC --force .../home/topdown/symfony/jobrsync rsync --progress -azC --force --delete

[symfony-users] Disabling default module

2007-07-25 Thread Alexander Deruwe
Hey everyone, After disabling the default module, when trying to access it I get an exception 'default module not enabled' - on production this goes to a symfony error 500 page. Why does this not just cause a 404? I think I can change the error 500 page by updating web/error500.php, but

[symfony-users] Re: Disabling default module

2007-07-25 Thread Alexander Deruwe
On 25 Jul 2007, at 17:43, Stefan Koopmanschap wrote: Hi, Hey there, Tried accessing the default module through the _dev version of your site? That will tell you which exception happens. Yup. The exception's message is 'default module not enabled' - not sure what exactly the type of the

[symfony-users] observe_field()

2007-07-19 Thread Alexander Deruwe
Hey everyone, Is there any easy way to have an observe_field() call also be triggered when an update is made through javascript? In my case selecting a value in one select tag will update the next one (I chain 4 together this way). If by chance the next select tag only has to contain

[symfony-users] Re: Class not autoloaded in plugin

2007-07-18 Thread Alexander Deruwe
On 18 Jul 2007, at 22:15, Nicolas CHARLOT wrote: The class MyTools is located at /apps/frontend/modules/mymodule/lib/ MyTools.class.php. In an action of a plugin (/plugins/myplugin/modules/mymodule/ actions/actions.class.php) , the class doesn't seems to be autoloaded. I noticed the same.

[symfony-users] Re: relation between select_tags

2007-07-11 Thread Alexander Deruwe
a JSON array which is used by a javascript function to repopulate the second select tag, yes. -- Alexander Deruwe - AQS CarControl CVBA Network System Administration, Software Development Support Bredabaan 528 - 2930 Brasschaat, Belgium Mobile +32(0)474356372 Email [EMAIL PROTECTED

[symfony-users] Re: relation between select_tags

2007-07-11 Thread Alexander Deruwe
On 11 Jul 2007, at 16:42, Alexander Deruwe wrote: Alexander Deruwe - AQS CarControl CVBA Network System Administration, Software Development Support Bredabaan 528 - 2930 Brasschaat, Belgium Mobile +32(0)474356372 Email [EMAIL PROTECTED] Oops, I don't like to post with signature attached

[symfony-users] object_checkbox_tag() issue

2007-07-07 Thread Alexander Deruwe
'ello, Using code from the Guide to easily update objects from the request like so: $object-fromArray($this-getRequest()-getParameterHolder()- getAll(), BasePeer::TYPE_FIELDNAME); $object-save(); This seems to have problems with object_checkbox_tag() fields, in the sense

[symfony-users] Re: Conditional validation

2007-07-04 Thread Alexander Deruwe
On 04 Jul 2007, at 15:27, Matthias Nothhaft wrote: You should write one edit.yml with all your possible validators and put these condition checks into your own validators. Simply return true in your validator if the field not needs to be checked. If you need required checks on conditional

[symfony-users] Re: Workig with admin generator templates

2007-06-26 Thread Alexander Deruwe
On 26 Jun 2007, at 16:22, Haris Zukanovic' wrote: How can I make it regenerate the cache on each call without having to clear the cache? I may be totally misreading you, but what you are asking seems to be how things work when caching is turned off... Alexander

[symfony-users] Re: sfGMapsPlugin : google maps integration in Symfony

2007-06-15 Thread Alexander Deruwe
On 15 Jun 2007, at 14:24, Matthias Nothhaft wrote: elbouillon wrote: http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin I did't have a look at it yet but I suggest to rename it to sfGoogleMapsPlugin Seconded. And this sounds really useful, and I could use it for my current project.

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread Alexander Deruwe
On 13 Jun 2007, at 20:30, Nicolas CHARLOT wrote: nathieb a écrit : Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with the sfGuardUserProfile. But when i use the official documentation, there is a trouble. the utilisation of an foreign key is impossible with propel, if

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 17:11, David Hodgson wrote: Ah this is perfect! Thanks a lot for you help Matthias Nothhaft wrote: David Hodgson wrote: Hey there! I've scoured the documentation and forums but cant find a solution. My entire Symfony project is hosted on https. However, symfony keeps

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 18:10, David Hodgson wrote: snip I made no specific configuration changes. My app just uses https on the prod server or http on my dev laptop. Also, I don't see anything specific wrong with the code you pasted... Sorry I can't be of more help! Alexander

[symfony-users] Criteria problem?

2007-04-28 Thread Alexander Deruwe
Hey everyone, I have the following code in a Peer method: $criteria-clearSelectColumns(); self::addSelectColumns($criteria); sfGuardUserPeer::addSelectColumns($criteria); TableAdamPeer::addSelectColumns($criteria); TableBartPeer::addSelectColumns($criteria);

[symfony-users] Allow update only by owner

2007-04-26 Thread Alexander Deruwe
Hey everyone, I found a forum thread on the subject of only allowing record edits by the owner from March 2006: http://www.symfony-project.com/forum/index.php/m/6580/?srch=owner +credential Is there by now perhaps a better way to achieve the same functionality? Cheers, Alexander

[symfony-users] Re: objects_for_select() question

2007-04-17 Thread Alexander Deruwe
On 17 Apr 2007, at 17:23, Jonathan H. Wage wrote: The options argument for object_for_select() accepts an option of include_blank=true. http://www.symfony-project.com/api/symfony/helper/ObjectHelper.html Oh man... I apologise... Thanks a lot for the pointer! Alexander

[symfony-users] objects_for_select() question

2007-04-17 Thread Alexander Deruwe
Hey everyone, I was wondering if there is any way to have the objects_for_select() helper add an empty value as the first entry? Right now it defaults to the first entry from the lot - which is somehow tricky when you want to observe this select tag and update some form element depending

[symfony-users] Re: when the session expires and the browser is waiting for an asynchronous response...

2007-04-02 Thread Alexander Deruwe
On 02 Apr 2007, at 11:37, Hadrien Boyé wrote: Hello, i use the sfBasicSecurityUser for the management of the user authentication. the session time is set to 1 hour (3600 sec.) my application is configured in order to redirect to the login form when session time has expired. the

[symfony-users] sfPropelPager and LEFT JOINs

2007-04-02 Thread Alexander Deruwe
Good afternoon, I'm puzzled by something... I'm using sfPropelPager to show data from a table. The Criteria object I supply to sfPropelPager adds a few LEFT JOINs and selects some extra columns from the joined in tables. How am I supposed to access these extra columns later on in the

[symfony-users] Re: sfPropelPager and LEFT JOINs

2007-04-02 Thread Alexander Deruwe
On 02 Apr 2007, at 17:06, [EMAIL PROTECTED] wrote: You should use $pager-setPeerMethod('doSelectJoin') ; and probably: $pager-setPeerCountMethod('doCountJoinXXX') ; Yep, that was it! Thanks so much. Alexander --~--~-~--~~~---~--~~ You received this

[symfony-users] batches

2007-03-13 Thread Alexander Deruwe
, and would be needed in production after it is developed. Cheers, Alexander Deruwe --~--~-~--~~~---~--~~ 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