Page 1 of 1

I need help with Error Message on Initial Use

Posted: Thu May 13, 2010 6:17 pm
by jakeb
Hi,

I just installed swift mailer and I am looking forward to using it. I ran into a problem on my initial use.

Parse error: syntax error, unexpected T_CLASS in /path/swift/lib/classes/Swift.php on line 18

Line 18 is the first line of actual code in this file, and it reads: "abstract class Swift"

What's up with this?

Thanks for all your help?

Re: I need help with Error Message on Initial Use

Posted: Thu May 13, 2010 6:50 pm
by John Cartwright
You need to upgrade your PHP version to at least 5.1.2 (since Swiftmailer is incompatible with PHP4).