This might be more interesting: I just tried to trigger the register
action by going to:

http://localhost/web/frontend_dev.php/sfGuardRegister/register

This got me:

Fatal error: Class 'sfGuardFormRegister' not found in /eclipse/
workspace/twittbook/plugins/sfGuardExtraPlugin/modules/sfGuardRegister/
lib/BasesfGuardRegisterActions.class.php on line 26

which seems to indicate that the action is indeed recognized and
executed, but it can't find a class that's defined in the modules lib
directory: sfGuardFormRegister

It seems that my application doens't know about the plugin and hence
doesn't know of the classes/libraries there declared.

Am I totally wrong here? And if not, how do I correct this situation.

Also, I forgot to mention that when I tried to install the plugin the
"normal way", I had the following error in the console:

 No release available for plugin "sfGuardExtraPlugin"

What does it *really* mean?


On Mar 20, 4:18 pm, ckemmler <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to