Page 1 of 1

Fatal Error when Using Swiftmailer Library

Posted: Thu Jan 06, 2011 6:16 pm
by FarazYashar
Fatal error: require_once() [function.require]: Failed opening required 'http://anngrogan.net/scripts/swiftmailer/Swift.php' (include_path='.:/usr/local/php52/pear') in /home/farazyas/public_html/scripts/resume.php on line 45
Line 45:

Code: Select all

require_once "scripts/swiftmailer/Swift.php";

You can see the file exists: at that directory: http://anngrogan.net/scripts/swiftmailer/

Re: Fatal Error when Using Swiftmailer Library

Posted: Thu Jan 06, 2011 9:18 pm
by anantha
you are not giving correct path to the file.. that is why the error shows up