Re: [symfony-users] Re: Tracking down issue in factories

2010-10-21 Thread ashton honnecke
@Stephen - I haven't had time yet :( However, I'll let you know if I come upon anything. I would be very interested in anything that you come up with though. @Thomas - My thanks as well. On Wed, Oct 20, 2010 at 5:13 PM, stephenrs wrote: > @ashton - did you ever track this down? I've having the

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-07-06 Thread ashton honnecke
at is happening (or rather, how this is happening)? On Tue, Jul 6, 2010 at 7:05 AM, ashton honnecke wrote: > It is present in only one of five apps (all in the same project).  It > is definitely not the server.  It happens to all the modules in one > app, except for it seems, when I ret

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-07-06 Thread ashton honnecke
, which I am trying to confirm now. On Tue, Jul 6, 2010 at 2:59 AM, Tom Ptacnik wrote: > Did you tried to run this app on a different server? .. then you will > know if the problem is in the app or in your server. > > > On 5 čnc, 04:31, ashton honnecke wrote: >> This behavi

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-07-04 Thread ashton honnecke
page load (so I have to login for every page). I'm sure that this is from something that I have done wrong. Does anyone have any suggestions about where to look or how to debug this? On Tue, Jun 22, 2010 at 8:55 AM, ashton honnecke wrote: > I hadn't altered factories.yml at all. >

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-22 Thread ashton honnecke
torage is used, in this case you can check > the serialized sessions stored usually somewhere in /var/lib/php5 (or > something similar, depending on your Linux distribution). > >   gabriel > > > On Jun 22, 5:33 pm, ashton honnecke wrote: >> I'm not sure.  How do I c

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-22 Thread ashton honnecke
that be, and do you have any ideas of how I could check? ashton On Tue, Jun 22, 2010 at 6:14 AM, pghoratiu wrote: > How does symfony store the session in your case, are you using the php > session or something else? > >    gabriel > > On Jun 22, 9:19 am, ashton honnecke wrot

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-22 Thread ashton honnecke
ote: > I would say it's something wrong at the PHP configuration level, what > is your environment (OS, PHP, symfony version, ...?). > >    gabriel > > On Jun 21, 8:51 pm, ashton honnecke wrote: >> This is what I have in configuration>user on the page load a

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-21 Thread ashton honnecke
Nope, it came back after I cced and rebuilt the models. On Mon, Jun 21, 2010 at 2:05 PM, ashton honnecke wrote: > In order to test if the issue lay in the environment or in the code, I > set up a new vhost and checked everything out again at various > revisions.  I can't seem to

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-21 Thread ashton honnecke
10 at 12:37 PM, ashton honnecke wrote: > It was working at one point.  The issue seems to span all the apps that I > have. > > Red Hat Enterprise Linux Server release 5.4 (Tikanga) > PHP 5.2.10 (cli) (built: Aug  6 2009 06:05:50) > symfony version 1.4.6-DEV > > ashton > &g

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-21 Thread ashton honnecke
omething wrong at the PHP configuration level, what > is your environment (OS, PHP, symfony version, ...?). > >    gabriel > > On Jun 21, 8:51 pm, ashton honnecke wrote: >> This is what I have in configuration>user on the page load after sign >> in (from the w

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-06-21 Thread ashton honnecke
This is what I have in configuration>user on the page load after sign in (from the webDebugToolbar): attributeHolder: sfGuardSecurityUser: { user_id: '173' } On the next pageload, it goes away (no sfGuardSecurityUser at all) I printed the session at the beginning of an action (right after logi

Re: [symfony-users] Re: Dumping and loading passwords (re-hashing)

2010-05-24 Thread ashton honnecke
Beautiful! Thank you! On Mon, May 24, 2010 at 1:25 AM, Tom Ptacnik wrote: > "I can't check in the changes" means, that you can't update the plugin > via svn? > > I fso, than you can do your changes in the model/doctrine/ > sfDoctrineGuardPlugin sfGuardUser.class.php don't you? .. then this > pro

[symfony-users] Building XML from models

2010-03-09 Thread ashton honnecke
I'm putting together and API and I would like to be able to build XML objects of my model objects (similar to how forms work). Has anyone done this before? It seems to me that some custom formatting of the form objects would do this nicely, but I am interested to know how this has been solved bef

[symfony-users] signout credentials

2010-02-17 Thread ashton honnecke
You can't restrict access to login with is_secure or credentials (http://www.symfony-project.org/reference/1_4/en/08-Security) because it makes no sense to do so. However you can do so to logout, which IMO makes just as little sense. Scenario: backend/config/security.yml -- defau

Re: [symfony-users] Re: External user authentication with sfDoctrineGuardPlugin

2010-02-01 Thread ashton honnecke
I have detailed the process here: http://blog.honnecke.us/2010/01/using-sfdoctrineguardusers-external-authentication/ On Fri, Jan 29, 2010 at 2:20 PM, ashton honnecke wrote: > The way that I addressed this was to: >  * Create a custom form for the signin process >  * In that form, re

Re: [symfony-users] Re: External user authentication with sfDoctrineGuardPlugin

2010-01-29 Thread ashton honnecke
lution, I would love to hear it. thanks ashton On Fri, Jan 29, 2010 at 10:00 AM, ashton honnecke wrote: > Both ways of authentication would be fine, but my main goal is to > allow users to login without requiring them to exist in the > sfGuardUserTable.  I'm building a site for a

Re: [symfony-users] Re: External user authentication with sfDoctrineGuardPlugin

2010-01-29 Thread ashton honnecke
well: http://www.matthewbull.net/2008/06/29/symfonys-sfguard-plugin-and-ldap/ On Fri, Jan 29, 2010 at 5:43 AM, Tom Ptacnik wrote: > Of cource you can overwrite the sfGuardAuth module if you don't want > to use it... I thought that you want to use both ways of > autentification. > &

Re: [symfony-users] Re: External user authentication with sfDoctrineGuardPlugin

2010-01-28 Thread ashton honnecke
Thanks! So if I am understanding you, you are telling me that there is no way to do this with the current sfGuardUser setup and that I will need to I create a new module that I use for login. It doesn't seem to me that this is an uncommon request related to the external password check, so It seem

Re: [symfony-users] Append Javascript in actions.class.php

2010-01-19 Thread ashton honnecke
19, 2010 at 1:02 PM, Dineu Henrique wrote: > Thanks! > But I was wondering if there is another way to do this, I mean, using some > symfony's function (like renderText() or something like this). > > But it worked :) > Bye > -- > Dineu Assis > > On Tue, Jan 1

Re: [symfony-users] Append Javascript in actions.class.php

2010-01-19 Thread ashton honnecke
put your js inside a document.ready function: http://www.learningjquery.com/2006/09/introducing-document-ready On Tue, Jan 19, 2010 at 11:44 AM, Dineu Henrique wrote: > Hi guys, > > I'm having some trouble here trying to output an alert script after loading > a Form. > Look what I've done until n

Re: [symfony-users] Re: How to get default sort method for models?

2010-01-19 Thread ashton honnecke
If that's more than you were interested in, you can do this: $q = Doctrine_Table::Create()-> select('*')-> from('customer as c')-> orderBy('first_name ASC'); $customers = $q->execute(); Throw that into a method in a table class (a solid design practice anyway), and then you have less code than yo

Re: [symfony-users] Re: Problem With User Management

2010-01-19 Thread ashton honnecke
common sense > when it comes to building applications. Once again I will have to > reverse engineer the code and add my own ways. > > On Jan 18, 8:38 pm, Ashton Honnecke wrote: >> In the past, when not using sfGuardDoctrineUser I have usually made a >> different "reset

Re: [symfony-users] Problem With User Management

2010-01-18 Thread Ashton Honnecke
In the past, when not using sfGuardDoctrineUser I have usually made a different "reset password" page, seperate from the rest of the user form. Ashton On Jan 18, 2010, at 16:31, Darren884 wrote: I have a form for the employees department and it has the information on the employee, includi

Re: [symfony-users] sfDoctrineGuardPlugin Unknown method SfGuardUser::checkPassword

2010-01-16 Thread Ashton Honnecke
Is myUser extending sfGuardDoctrineUser (or whatever the appropriate class is, that might not be right) in your /lib/myUser.php ? Ashton Honnecke ahonne...@gmail.com On Jan 16, 2010, at 7:31, thronic wrote: I was working on a project at work just playing around with sfDoctrineGuardPlugin

Re: [symfony-users] sfJqueryReloadedPlugin in 1.4

2009-12-13 Thread ashton honnecke
It only works with 1.2, like it says on the page I linked to. :D nm On Sun, Dec 13, 2009 at 8:53 PM, ashton wrote: > Having trouble getting plugin setup in a new 1.4 project.  When set up > as external in the plugins directory, It won't work. Publish assets > doesn't make the link to the plugin,

Re: [symfony-users] Redirection after submitting a New form

2009-11-20 Thread Ashton Honnecke
In processForm. Ashton Honnecke ahonne...@gmail.com On Nov 20, 2009, at 8:20, tirengarfio wrote: > Hi, > > i have created a module (generate-module) in base of Message model. > When i execute message/new and then i push the "Save" button the app > redirects me to the

[symfony-users] Re: having trouble customizing the admin generator

2009-11-01 Thread ashton honnecke
Sry, thought I got that in there, I already have added those. The widget shows up on the edit page, just without any content in it. i.e. it's always at 00:00 GameForm.class.php protected $minutes = array('00','05',10,15,20,25,30,35,40,45,50,55); public function configure() {

[symfony-users] Re: IDE NetBeans supports Symfony what's about propel

2009-10-25 Thread Ashton Honnecke
If you are on symfony 1.3 you will need to specify propel when you build the project. Ashton Honnecke ahonne...@gmail.com On Oct 25, 2009, at 8:46, Maras wrote: > > Anyone knows how to create symfony project iwith ORM Propel. n > Netbeans with ORM Propel. When I check comman