Fatal Error when Using Swiftmailer Library

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
FarazYashar
Forum Newbie
Posts: 9
Joined: Tue May 23, 2006 10:05 pm

Fatal Error when Using Swiftmailer Library

Post 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/
anantha
Forum Commoner
Posts: 59
Joined: Thu Dec 23, 2010 7:38 pm

Re: Fatal Error when Using Swiftmailer Library

Post by anantha »

you are not giving correct path to the file.. that is why the error shows up
Post Reply