Thanks!
Did that.
I have two problems now
1. the README there tells me:
* Add method `retrieveByUsernameOrEmailAddress` to get a user by
email or username in lib/model/sfGuardPlugin/sfGuardUserPeer.class
e.q.
[PHP]
static public function retrieveByUsernameOrEmailAddress
($usernameOrEmail, $isActive = true )
{
$c = new Criteria();
$c->add(self::USERNAME, $usernameOrEmail);
$c->add(self::EMAIL, $usernameOrEmail);
$c->add(self::IS_ACTIVE, $isActive);
return self::doSelectOne($c);
}
but I don't have a lib/model/sfGuardPlugin/sfGuardUserPeer.class
What am I supposed to do then?
2. Suddenly I get the following ugly warnings on every page:
Warning: call_user_func
(sfGuardExtraRouting::listenToRoutingLoadConfigurationEvent)
[function.call-user-func]: First argument is expected to be a valid
callback in /eclipse/workspace/twittbook/lib/symfony/event/
sfEventDispatcher.class.php on line 77
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at /eclipse/
workspace/twittbook/lib/symfony/event/sfEventDispatcher.class.php:77)
in /eclipse/workspace/twittbook/lib/symfony/storage/
sfSessionStorage.class.php on line 93
Warning: Cannot modify header information - headers already sent by
(output started at /eclipse/workspace/twittbook/lib/symfony/event/
sfEventDispatcher.class.php:77) in /eclipse/workspace/twittbook/lib/
symfony/response/sfWebResponse.class.php on line 335
Warning: Cannot modify header information - headers already sent by
(output started at /eclipse/workspace/twittbook/lib/symfony/event/
sfEventDispatcher.class.php:77) in /eclipse/workspace/twittbook/lib/
symfony/response/sfWebResponse.class.php on line 349
How do I interpret these?
On Mar 20, 4:04 pm, Loïc Vernet <[email protected]> wrote:
> Try by SVN or download the pear package.
>
> ++
>
> ________________________________
> De : ckemmler <[email protected]>
> À : symfony users <[email protected]>
> Envoyé le : Vendredi, 20 Mars 2009, 23h58mn 04s
> Objet : [symfony-users] sfGuardExtraPlugin
>
> This plugin seems to buy me everything I need. However, I can't
> install it using plugin:install...
>
> What about other ways of installing it? How do I know that it's going
> to work?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---