getMailer() error

Discussion relating to version 1.3.x and 1.4.x

getMailer() error

Postby shakly » Tue Mar 13, 2012 12:05 pm

Hello,

I have a problem with getmailer(), i always have this error :

Code: Select all
Notice: Undefined index: class in C:\wamp\bin\php\php5.2.6\PEAR\symfony\util\sfContext.class.php on line 257
 
Fatal error: Class name must be a valid object or a string in C:\wamp\bin\php\php5.2.6\PEAR\symfony\util\sfContext.class.php on line 257


My code is very simply :

Code: Select all
class homeActions extends sfActions
{
 
/**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  
public function executeIndex(sfWebRequest $request)
  {
    
$mailer $this->getMailer();
  }


Someone hade a idea of the mistake ?


Thank you for help.
shakly
Junior Member
 
Posts: 5
Joined: Fri Sep 09, 2011 5:11 pm

Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 5 guests