Hi people, I made a component using the PHPMailer
http://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

24      startup 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 'startup' at line 1

send and startup are the method from the EmailComponent i have just
made. Can somebody explain me what the hell is a SQL error?
I made a very simple component and i am still getting this error like
this:

class EmailComponent extends Object
{
    var $controller;

        function startup( &$controller ) {
          $this->controller = &$controller;
        }
}

In my controller i use:
var $components = array('Pagination', 'Email');

Why does it have SQL if i am not doing any find, findall, save, query
staments?

Thank for anyone whom enlights me!


--~--~---------~--~----~------------~-------~--~----~
 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