[1.1] SfGuard plugin, bug installation

Ask help about existing plugins, or find advice about the way to build up your own.

Moderators: dwhittle, Ian

[1.1] SfGuard plugin, bug installation

Postby iLoLo21 » Tue Apr 22, 2008 2:51 pm

Hello

I installed the plugin sfguard, but Symfony post an error:

Call to undefined method myUser::setReferer.

How to fix it ? I up jpg with error message.

Thank you
Attachments
error.jpg
error.jpg (62.83 KiB) Viewed 622 times
Last edited by iLoLo21 on Tue Apr 22, 2008 2:57 pm, edited 1 time in total.
iLoLo21
Junior Member
 
Posts: 15
Joined: Sun Mar 02, 2008 1:18 pm
Location: France

Re: [1.1] SfGuard plugin, bug installation

Postby djoos » Tue Apr 22, 2008 3:20 pm

Could you post the code in the myUser class?
(project/apps/lib/myUser.class.php)
djoos
Faithful Member
 
Posts: 290
Joined: Mon Aug 13, 2007 1:29 pm
Location: London

Re: [1.1] SfGuard plugin, bug installation

Postby iLoLo21 » Tue Apr 22, 2008 3:28 pm

ok your post help me to fix my bug !

I didn't find this file !

It's ok now

Thanks :P
iLoLo21
Junior Member
 
Posts: 15
Joined: Sun Mar 02, 2008 1:18 pm
Location: France

Re: [1.1] SfGuard plugin, bug installation

Postby djoos » Tue Apr 22, 2008 3:58 pm

You're welcome! :)~ :-)~ :smile:
djoos
Faithful Member
 
Posts: 290
Joined: Mon Aug 13, 2007 1:29 pm
Location: London

Re: [1.1] SfGuard plugin, bug installation

Postby tomerb » Mon Sep 01, 2008 9:27 am

I'm having the same problem, but I can find the myUser file
and here is it's code:

Code: Select all
<?php

class myUser extends sfBasicSecurityUser
{
}
If there's a will there's a way,

Tomer.
tomerb
Junior Member
 
Posts: 8
Joined: Sun Aug 10, 2008 11:52 am
Location: Israel

Re: [1.1] SfGuard plugin, bug installation

Postby g0dbrz » Fri Sep 26, 2008 3:27 am

tomerb wrote: I'm having the same problem, but I can find the myUser file
and here is it's code:

Code: Select all
<?php

class myUser extends sfBasicSecurityUser
{
}


change that to

Code: Select all
class myUser extends sfGuardSecurityUser
{
}
g0dbrz
Member
 
Posts: 30
Joined: Fri Oct 20, 2006 4:12 pm
Location: brazil

Re: [1.1] SfGuard plugin, bug installation

Postby pfwd » Sat Jul 04, 2009 5:38 pm

Thanks I needed this
pfwd
Member
 
Posts: 33
Joined: Wed Jun 17, 2009 1:14 am
Location: Wiltshire

Re: [1.1] SfGuard plugin, bug installation

Postby maurizio.demagnis » Tue Nov 17, 2009 1:00 pm

I tried to use authentication in the frontend but forgot to apply "sfGuardSecurityUser" change in apps/frontend/lib/myUser.class.php :oops:
thx for the remind ;)~ ;-)~ :wink:
maurizio.demagnis
Junior Member
 
Posts: 1
Joined: Tue Nov 17, 2009 12:57 pm
Location: milan

Re: [1.1] SfGuard plugin, bug installation

Postby charline » Tue Nov 16, 2010 6:08 pm

thanks, helped me too :)
User avatar
charline
Member
 
Posts: 77
Joined: Thu May 07, 2009 12:40 pm
Location: Ireland


Return to General plug-ins

Who is online

Users browsing this forum: No registered users and 1 guest