I think I will just try an upgrade to Symfony 1.2 with a newer version of
the sfGuardPlugin. I don't want to spend hours debugging Symfony's own code.
On Sun, Mar 6, 2011 at 11:49 AM, Drew Sire wrote:
> Ya, it seems like the other modules aren't recognizing the cookie/session
> as authenticated.
Ya, it seems like the other modules aren't recognizing the cookie/session as
authenticated.
On Sun, Mar 6, 2011 at 9:16 AM, Alex Pilon wrote:
> I had a similar problem when the login success url was the homepage and the
> login page was presented when viewing the homepage.
>
> Any possibility th
I had a similar problem when the login success url was the homepage and the
login page was presented when viewing the homepage.
Any possibility that might be part of the issue?
On Mar 6, 2011 5:09 AM, "Drew Sire" wrote:
Reproduce Problem
http://184.73.247.117/backend.php
username = d...@buzzybe
Reproduce Problem
http://184.73.247.117/backend.php
username = d...@buzzybeemarketing.com
password = testing
File
/var/www/html/
palcheck-1.0.com/plugins/sfGuardPlugin/modules/sfGuardAuth/actions/
Here is the code causing the problem. When originally set to @homepage, it
creates an infinite redir
Hi Drew,
I think it is one of the most used plugins around so we should be able to
help you here.
Can you provide some more information about where you are being told it
can't redirect?
Can you paste the stack trace?
Chris
--
If you want to report a vulnerability issue on symfony, please sen
Very interesting! Thanks for the link. Maybe this will be the
motivation I need to switch the project to Doctrine.
Thanks,
Craig
On Feb 21, 3:33 pm, Matt Gibson wrote:
> On 21 Feb 2011, at 21:59, Craig Wright wrote:
>
> > So my question: this seems like both a non-optimal solution (will need
> >
If I rebuild my models, the sfGuard models return but if I try to
login, I get the error:
Unknown method SfGuardUserTable::retrieveByUsername
If I delete the models from lib/model, I don't get the error and
everything works.
Any ideas?
On Dec 14, 9:13 am, Alexandre Salomé
wrote:
> Files are ge
Thx!
On 26 Jul., 15:50, Gábor Fási wrote:
> It works, your expression is wrong. Try '/^[a-zA-Z]{1,}[a-zA-Z0-9]$/'.
>
> On Mon, Jul 26, 2010 at 15:34, mlu...@gmail.com wrote:
> > Hi!
>
> > In my app i am using sfGuardPlugin. I have extended the class
> > sfGuardUserForm to build my own registrati
Maybe your action for changing language is secured? ... then it won't
be executed and it will be redirected to login page again.
On 2 čnc, 23:03, fRAnKEnSTEin wrote:
> Hi,
>
> I am using "sfguardplugin" for everything related to credentials at
> the backend(generated with the backend generator)
Hi,
If you or somebody else had this problem here is a solution:
http://forum.symfony-project.org/index.php/m/75041/
Maciek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Just as a follow up for anyone have this problem here goes the result
of my testing and what I did to pass this hurdle.
I was using Propel, and for some reason, when saving the user, it
deleted the profile. This is a bug in sfGuardPlugin. I found that
inside the plugin, it was doing a mergeForm()
first of all
protected function processForm(sfWebRequest $request, sfForm $form){
$form->bind($request->getParameter('sf_guard_user'));
if ($form->isValid()) {
*$form->save();*
$this->redirect('compte/liste');
}
}
also, you might need to
It needs to be encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 4:13 PM, Germana Oliveira wrote:
>
> Should it be encrypted to validate it
>
>
> The password is not encrypted in the database.
>
> - Jon
>
> On Wed, Jul 8, 2009 at 3:59
The password is not encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 3:59 PM, Germana Oliveira wrote:
>
> Hi!!!
>
> i have this on sf_guard_user in my sql DB:
>
> mysql> select * from sf_guard_user;
>
> ++--+---+--+--+++---+
:) Symfony это не магия. СSS файлы не влияют работу фреймворка :)
А вот mod_rewrite надо бы включить.
On Sat, May 16, 2009 at 1:16 AM, ScaNNeR wrote:
>
> Hey all. Accidentally met with an error in the plugin sfGuardPlugin.
> The problem of this:
> We have a CSS file. It is described DIV like th
Thanks for your answer, Richtermeister.
I had the same suggestion by Geoffrey by email yesterday.
So I tried from scratch, step by step.
It finally works, but I noticed something weird:
In fact, I tried to change a very "useless" value each time.
And each time it crashed.
But I thought that this
Hey Pierre,
to customize the plugin the structure would be:
apps/
backend/
modules/
sfGuardAuth/
config/
generator.yml (customize this file, start blank, and
just change the settings you need to change)
templates/
signinSuccess.php (cust
Can somebody who customized the sfGuardPlugin show me the file system
from apps ?
apps/
backend/
modules/
sfGuardAuth/
...
And show me its generator.yml ?
Thanks
On Apr 30, 11:04 am, Pierre Lecocq wrote:
> I tried with the 3.0.0 release.
> But each time I try to
I tried with the 3.0.0 release.
But each time I try to override a file, I have an error.
(this time: "Class 'autosfGuardUserActions' not found")
...
Does anybody encountered the same problem ?
On Apr 30, 10:37 am, Pierre Lecocq wrote:
> Unfortunatly ... still got the same error !
> I created
Unfortunatly ... still got the same error !
I created manually apps/backend/modules/sfGuardAuth/modules/
sfGuardUser/config (also tried apps/backend/modules/sfGuardAuth/
config)
I copied the sfGuardUser's generator.yml.
Regenerated froms / sql / filters ... cleared cache.
But if I modify the gen
All right, I will try this.
Thanks a lot for your answer.
On Apr 29, 3:22 pm, Steve the Canuck wrote:
> The name of your module should be sfGuardAuth, not sfGuardUser. Your
> module effectively overrides the sfGuardPlugin's version, so it needs
> to follow exactly the same directory structure a
The name of your module should be sfGuardAuth, not sfGuardUser. Your
module effectively overrides the sfGuardPlugin's version, so it needs
to follow exactly the same directory structure as the plugin's.
On Apr 29, 6:08 am, Pierre Lecocq wrote:
> Hello people,
>
> I have a problem with the sfGua
I have figured this one out, thankfully.
In my schema.yml, I define two aliases:
session_db:
-- tables
propel:
-- tables
The schema.yml for sfGuardPlugin defines:
propel:
-- tables
It seems that if I have session_db first in my schema.yml, the code
generated in sfGuardPlugin is different tha
When I login using the admin user the User object is saved after login
(to note last login time), which calls a save on the User Profile
object as well and since the admin user does not have a corresponding
User Profile whose table has certain required fields but no defaults
the save fails hence c
I tried Symfony version 1.2.4 but still no success.
Someone Please Help.
Zain
On Feb 24, 3:09 pm, zabbasi wrote:
> Please HELP!!!
>
> I am having no luck and am totally lost:
> I tried creating a new test project with just the sfGuardUserProfile
> model class but have had no luck.
>
> This how
Please HELP!!!
I am having no luck and am totally lost:
I tried creating a new test project with just the sfGuardUserProfile
model class but have had no luck.
This how I went about it
php symfony generate:project test
php symfony generate:app --escaping-strategy=on --csrf-
secret=UniqueSecret fr
Hi
My new Plan of Action is to create a new sample project with just the
sfGuardUserProfile class and see what happens. I think I am missing
something really small somewhere and maybe if I do the entire process
again I will find what the problem is.
PS: I am using sfGuardPlugin 3.1.3 - symfony v.
Sorry
I am using sfGuardPlugin 3.1.3 not 3.1.1
An update: I changed the table PHP name from UserProfile to
sfGuardUserProfile in the schema file. No Luck.
Thanks
Zain
On Feb 24, 12:39 am, zabbasi wrote:
> Hi Everyone
>
> I see the same problem as mentioned by this post (http://
> groups.goog
Hey,
If you want to update the plugin in future (and I believe you want) I think
you should create a profile.
Also I think it's great practice to hold username and password and other
info in separate tables. First table you only read while doing signin.
I don't believe it makes difference if you
So easily, you can't.
On Wed, Dec 10, 2008 at 1:56 PM, zero0x <[EMAIL PROTECTED]> wrote:
>
> Wow that's pretty neat,
>
> how do I do something like this with Propel ?
>
> On 10. Dec., 13:36 h., "Thomas Rabaix" <[EMAIL PROTECTED]>
> wrote:
> > in your model sfGuardUser, just do something like this
Wow that's pretty neat,
how do I do something like this with Propel ?
On 10. Dec., 13:36 h., "Thomas Rabaix" <[EMAIL PROTECTED]>
wrote:
> in your model sfGuardUser, just do something like this :
> public function setTableDefinition()
> {
> parent::setTableDefinition()
>
> $this->has
in your model sfGuardUser, just do something like this :
public function setTableDefinition()
{
parent::setTableDefinition()
$this->hasColumn('dob', 'date', null, array('type' => 'date'));
}
if you need to had a relation ship
do the same thing but inside the setUp method
public
I know your frustration ... i get mine too with some tickets :)
On Tue, Nov 4, 2008 at 4:20 PM, adrive <[EMAIL PROTECTED]> wrote:
>
> Hello. I know the possibilities, how to solve the problem myself and how
> can I
> get such functionality working. For me is better to patch each copy of
> sfGuard
Hello. I know the possibilities, how to solve the problem myself and how can I
get such functionality working. For me is better to patch each copy of
sfGuardPlugin (sfDoctrineGuard) rather than creating my own security user.
I just want to get some response on that ticket, what I did wrong, th
you can have your own copy of sfGuardSecurityUser.class.php in your lib folder.
Thomas
On Tue, Nov 4, 2008 at 1:33 PM, adrive <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I am using sfGuardUserPlugin (sfDoctrineGuardPlugin) quite regulary and I use
> it in my project across multiple apps that are on
---Original Message-
> > From: symfony-users@googlegroups.com [mailto:symfony-
> > [EMAIL PROTECTED] On Behalf Of kayoone
> > Sent: Tuesday, May 20, 2008 3:28 PM
> > To: symfony users
> > Subject: [symfony-users] Re: sfGuardPlugin DB Layout Question
>
> > got it now...
&g
PM
> To: symfony users
> Subject: [symfony-users] Re: sfGuardPlugin DB Layout Question
>
>
> got it now...
> the problem was that I use DbDesigner to model the database where i
> cant
> make a relationship to a table thats not in the current layout, so no
> way to make a
got it now...
the problem was that I use DbDesigner to model the database where i
cant
make a relationship to a table thats not in the current layout, so no
way to make a relationship to a table of a plugin.
This however works when i use the yml file for editing the db layout,
so
i think dbdesigne
i think i tried that already and that didnt really work because as far
as i know propel objects need their own primary key to work correct.
But ill try that again... I also dont need the user table often, but
when i need a nickname, i need a user table.
Problem is i cant make a relationship betwee
There's a MUCH simpler way - leave out the id column in
sf_guard_user_profile, and use a user_id column (foreign key to
sf_guard_user).
Works for me :)
I end up doing most of my stuff by working with user profiles, because
that contains the data I need most often - firstname, lastname etc.
mmh...the thing is, i dont want to have the sfGuard schema in my main
schema because of the problems described above, and
the relation betweet sfguarduser and the profile table is just set via
the config, there is no real relationship i guess.
The getProfile() method of the sfGuardPlugin is lookin
Yes, but with a 1:1 relationship they'll both be the same number. They
should never be different unless you've manually altered your database.
But you can use constraints to further enforce this :)
On 19 May 2008, at 13:31, kayoone wrote:
>
> but propel objects need their own a primary key, o
but propel objects need their own a primary key, otherwise they wont
work.
But i will try if that works, still the profile_id will be different
from the user_id
On 19 Mai, 12:21, Lee Bolding <[EMAIL PROTECTED]> wrote:
> Make the user_profile->sfGuardUser a 1:1 relationship, then you don't
> need
Make the user_profile->sfGuardUser a 1:1 relationship, then you don't
need to do a join - the profile ID will always be the same as the user
id.
Realistically, are users ever going to have more than 1 profile?
On 19 May 2008, at 10:34, kayoone wrote:
>
> nobody using sfGuard for complex pr
nobody using sfGuard for complex projects? Common :)
I dont see a problem i using the profile_id to link it with site
content, but it would need 2 joins then to get the username.
eg:
$article->getMemberProfile()->getsfGuardUser()->getUsername()
That would result in more complex queries, which m
On the contrary I think you suggested a solution that I never thought
of.. and I thank you very much for that..
I was using the credentials the other way. I thought out credentials
which represented roles like "editor", "publisher" and then started
putting these in security.yml and generator.ym
I think the user is wanting to hide or remove the 'Edit' button if the
user doesnt have the security privilege to 'edit'.
This is a View level requirement, as I understand it, and you will
have to execute 'if' statements for each button or link that security
is based on.
i.e
getGuardUser()-
>has
Not sure if I understand this right, but wouldn't it be better to
change the credentials the user has, instead of changing the
requirements of the application? After all, for every button you can
create a specific credential, and add this to the user on a DB level..
hope this helps, sorry if I mi
Well, I am having a problem with credentials being inside the yml's. I
am looking for a way to aviod this and put these inside the database.
My problem is simply that in production environment there is a constant
need of changing the security.yml but also generator.yml (so that
buttons for unava
Haris Zukanović wrote:
> Hi ppl,
>
> We use symfony 1.0 I wanted to try out the sfGuardPlugin.
> Does sfGuardPlugin rely on credentials that are written in yml files ?
>
rely in what sense? It allows you to use secury.yml, yes - sfGuard uses
the standard symfony credentials.
> Does it work wi
I think this was the problem. It's all working now. Thank you for all
the replies :-)
On Mon, Apr 7, 2008 at 5:49 AM, Richtermeister <[EMAIL PROTECTED]> wrote:
>
> Hey Sid,
>
> one thing I spot (which broke things for me before) is the missing
> colon after the .actions line und the first all.
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 schrieb:
Thanks, it's weird, I copied and pasted that from the sfGuardPlugin
wiki ... I'll try it again
On Mon, Apr 7, 2008 at 5:49 AM, Richtermeister <[EMAIL PROTECTED]> wrote:
>
> Hey Sid,
>
> one thing I spot (which broke things for me before) is the missing
> colon after the .actions line und the f
Thanks, will try it again and read that extra notes
On Mon, Apr 7, 2008 at 2:50 AM, Jill Elaine <[EMAIL PROTECTED]> wrote:
>
> It took me a couple of tries to get sfGuardPlugin installed and
> working. Heh, I have two full pages of notes on my install! There are
> quite a few steps...
> I don
Hey Sid,
one thing I spot (which broke things for me before) is the missing
colon after the .actions line und the first all.
Try putting that in, and your settings should get picked up.
Daniel
On Apr 5, 11:18 pm, "Sid Bachtiar" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I spent all afternoon with
It took me a couple of tries to get sfGuardPlugin installed and
working. Heh, I have two full pages of notes on my install! There are
quite a few steps...
I don't see this step in your list above:
* Change the parent class in myUser.class.php
class myUser extends sfGuardSecurityUser
{
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
--~--~-~--~~--
Hi Ingmar,
for a quick start this should be quite possible using the admin
generator if I'm not missing something.
Ingmar Heinrich schrieb:
> Hi there,
>
> I will use sfGuardPlugin the first time soon, but I'm having trouble
> designing the logic and the backend.
>
> I'm having a User table wh
Dave, thanks for your reply.
I went through the problem again and have written down the problem in
this ticket:
http://trac.symfony-project.com/ticket/2347
The problem is, that the RememberMe filter is called beneath the
security filter and such a filter is only registered, when the action
> declaration to schema.yml as such:
>
> propel:
>_attributes: { package: "plugins.sfGuardPlugin.lib.model" }
>sf_guard_user:
> _attributes: { phpName: sfGuardUser }
> id:
>
Ok, it's the solution i found but when i declare user like this:
_attributes :{ package: "plug
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 prop
Nicolas CHARLOT a écrit :
> So you have to use an unique index named as you want.
BTW, what is the recommand way to handle FK to other Propel objets than
the profile one ? I mean, if you want to link an article, a blog post, a
comment and a forum thread to a sfGuarduser object, how would you p
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 somebody can help me.
As you should have seen :
"W
Nicolas CHARLOT a écrit :
Hi,
I've written a fixtures.yml in order to import default sfGuardGroup,
sfGuardPermission and sfGuardGroupPermission.
When I run symfony propel-load-data, my datas are well imported, but
the fixtures.yml of sfGuardPlugin only the part I don't touch
(sfGuardUser
You are right.. with mysql works fine, but with postgresql I got the
same error. I have opened a ticket as you do not have a trac account.
http://trac.symfony-project.com/trac/ticket/1720
regards,
Rimenes Ribeiro.
On Apr 27, 6:20 am, Alexander Deruwe <[EMAIL PROTECTED]>
wrote:
> On 27 Apr 2007,
On 27 Apr 2007, at 04:07, Rimenes Ribeiro wrote:
> Hello Alexander,
>I've took a look at the latest version of sfGuardPlugin and found
> two constraints named 'unique_name' but in two different tables
> (sfGuardGroup and sfGuardPermission). If you are talking about those
> two constraints it's
Hello Alexander,
I've took a look at the latest version of sfGuardPlugin and found
two constraints named 'unique_name' but in two different tables
(sfGuardGroup and sfGuardPermission). If you are talking about those
two constraints it's normal and completely possible as they are in
different ta
It worked just fine using the command with a local file instead of trying to
d/l.
On 3/17/07 3:38 PM, "Ant Cunningham" <[EMAIL PROTECTED]> wrote:
>
> I cant seem to get this plugin to instal with
> symfony plugin-install http://plugins.symfony-project.com/sfGuardPlugin
>
> I could manually d/
68 matches
Mail list logo