This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » User management plugins » sfDoctrineApplyPlugin mailer error
sfDoctrineApplyPlugin mailer error [message #91498] Fri, 15 January 2010 05:40 Go to next message
modogo2000  is currently offline modogo2000
Messages: 32
Registered: December 2009
Member
Hello,

I just intall the plugin sfDoctrineApplyPlugin - 1.1.0 I have configured as shown in the Read Me

But when I try to create a new user I have this message:

"Notice: Undefined variable: mailer in /var/www/html/lipo/plugins/sfDoctrineApplyPlugin/modules/sfA pply/lib/BasesfApplyActions.class.php on line 38

Fatal error: Call to a member function disconnect() on a non-object in /var/www/html/lipo/plugins/sfDoctrineApplyPlugin/modules/sfA pply/lib/BasesfApplyActions.class.php on line 38"

I do not know where the problem comes on the forum I have not found the answer.

Best regards.

[Updated on: Fri, 15 January 2010 05:40]

Re: sfDoctrineApplyPlugin mailer error [message #91641 is a reply to message #91498 ] Mon, 18 January 2010 06:40 Go to previous messageGo to next message
modogo2000  is currently offline modogo2000
Messages: 32
Registered: December 2009
Member
I have this error : app_sfApplyPlugin_from is not set
Re: sfDoctrineApplyPlugin mailer error [message #93724 is a reply to message #91641 ] Wed, 17 February 2010 10:23 Go to previous messageGo to next message
beach_defender  is currently offline beach_defender
Messages: 14
Registered: January 2010
Location: Sydney
Junior Member
Hi modogo2000,
I have just hit the same issue.

I have the following lines in app.yml

sfApplyPlugin:
from:
email: "help@ourplace.com.aut"
fullname: "Arthur Fadden"

Did you manage to solve the problem?

Barry

[Updated on: Wed, 17 February 2010 10:24]


Stay well, stay happy, get involved....
Re: sfDoctrineApplyPlugin mailer error [message #102655 is a reply to message #93724 ] Sat, 17 July 2010 13:29 Go to previous message
poplarzh  is currently offline poplarzh
Messages: 3
Registered: February 2007
Junior Member
well ,This is a bug in the newest version 1.1.1 . When the function sendVerificationMail send email failed and throw a exception ,The variable $mailer in catch statement is not defined .
        try
        {
          $profile = $this->form->getObject();
          $this->sendVerificationMail($profile);
          return 'After';
        }
        catch (Exception $e)
        {
          $mailer->disconnect();
          $profile = $this->form->getObject();
          $user = $profile->getUser();
          $user->delete();
            // You could re-throw $e here if you want to 
          // make it available for debugging purposes
          return 'MailerError';
        }
Previous Topic:sfDoctrineGuardUser link to UserProfile
Next Topic:sfDoctrineGuardPlugin few kinds of user data
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software