Thanks, I could resolve that. Yes we have to include swift_init.php. On Sat, Sep 26, 2009 at 12:20 AM, Casey <casey.cam...@gmail.com> wrote:
> > In the latest version of swift there is a file called init_swift.php > or something that will not be autoloaded so you have to use require. > That could be part of the problem. > > On Sep 25, 6:27 am, DEEPAK BHATIA <toreachdee...@gmail.com> wrote: > > Sorry, I have both old version of swift mail and new version of swift > mail > > installed. I think this is causing some confusion. > > > > On Fri, Sep 25, 2009 at 6:36 PM, DEEPAK BHATIA <toreachdee...@gmail.com > >wrote: > > > > > > > > > Hi, > > > > > I have installed the swift mail in the directory > > > > > /opt/lampp/htdocs/crb/lib/vendor > > > > > I have done php symfony cc many time but I am getting the error > > > > > *Fatal error*: Call to undefined method Swift_Message::newinstance() in > * > > > /opt/lampp/htdocs/crb/apps/tool/modules/new/actions/actions.class.php* > on > > > line *55* > > > ** > > > *Regards* > > > ** > > > *Deepak* > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---