Log problem - Fatal error... enable
Posted: Wed Oct 10, 2007 3:01 am
Hello,
I'm getting this:
Fatal error: Call to a member function enable() on a non-object in /home/dstefani/public_html/mailer3.php on line 7
Here is the code:
It dies here at line 7 no matter what comes next.
Thanks,
- Don
I'm getting this:
Fatal error: Call to a member function enable() on a non-object in /home/dstefani/public_html/mailer3.php on line 7
Here is the code:
Code: Select all
require_once "swift_lib/Swift.php";
require_once "swift_lib/Swift/Connection/SMTP.php";
$swift = new Swift(new Swift_Connection_SMTP("mail.fakesitename.com"));
$swift->log->enable();Thanks,
- Don