Hi Ismail,

On Nov 30, 1:35 pm, "Ismael S. Kafeltz" <[EMAIL PROTECTED]> wrote:
> Hi people, I made a component using the 
> PHPMailerhttp://phpmailer.sourceforge.net/
>
> I am getting a very strange error, I copied this from debug:
>
> 23      send    1064: You have an error in your SQL syntax; check the manual
> that corresponds to your MySQL server version for the right syntax to
> use near 'send' at line 1                       17
An SQL error like that means you are calling a method that doesn´t
exist (send) on a MODEL. Investigate wherever in your code you have
NameOfAModel->send ($blah, $blah);

HTH,

AD7six
Please note:
The manual/bakery is a good place to start any quest for info.
The cake search (at the time of writing) erroneously reports less/no
results for the google group.
The wiki may contain incorrect info - read at your own risk (it's
mainly user submitted) :)
You may get your answer quicker by asking on the IRC Channel (you can
access it with just a browser here: http://irc.cakephp.org).


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to