Class 'Swift' not found in /home/user/public_html/class/gen.php on line 319
Line 317,318 and 319 reads:
Code: Select all
require_once ROOT."Swift-3.3.3-php5/lib/Swift.php";
require_once ROOT."Swift-3.3.3-php5/lib/Swift/Connection/SMTP.php";
$swift =& new Swift(new Swift_Connection_SMTP("mysite.com",25));Any help from anywhere?
For php5 users, we also have a problem with allow_url_include which needs to be "On" for this to work (In my server it was set to "Off").