fatal error: require once
himtuna - September 20, 2008 - 17:05
| Project: | SMTP Authentication Support |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I got this error.
I think its because of my host.
what must I ask my host?
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/smtp/phpmailer/class.phpmailer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/himanshu/sites/gamersden.in/sites/all/modules/smtp/smtp.module on line 245
____________________________________________________________
Gamers' Den

#1
Start by reading the INSTALL.txt and README.txt files and following the directions. Then, if you're still having problems, read through this thread: http://drupal.org/node/293860.
#2
hay
i have the same problem only on windows
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/smtp/phpmailer/class.phpmailer.php' (include_path='.;C:\php5\pear') in C:\wamp\www\sites\all\modules\smtp\smtp.module on line 246
i don t know what to do and i do not unterstant this text files
well im only 15^^ and my php skills arent really good....
would someone explain me how i get my mail server intigrated
I got an mail sever but i cant give it to my drupal page..
I ONLY WANT TU USE THE EMAIL FUNKTION TO GIVE PEOPEL THE CHANCE TO BECOME A MEMBER OF MY HOMEPAGE
#3
From INSTALL.txt:
2. Download the PHPMailer package (the URL is listed in REQUIREMENTS sectionof the README.txt file) and place it in a directory named "phpmailer" in
your <drupal-root>/sites/all/modules/smtp directory.
From README.txt:
* The PHPMailer package from Codeworx Tech., which can be found here:http://sourceforge.net/project/showfiles.php?group_id=26031
Click on the "Download" link for either the Package "phpmailer" or "phpmailer for php5/6" (your choice, based on which version of PHP you have installed).
Don't use that as an excuse for failure. I'm less likely to help you. He's 12 (or maybe 13 by now): http://drupal.org/user/47566. You don't need PHP skills to download and place the files in the correct location.
What about them don't you understand? If it will help me improve them, I'll incorporate the changes.
#4
I ran into this same problem! In despite I had read the readme and the INSTALL files.
The problem occurred because the default folder zipped in the phpMailer dist was called phpMailler_v2.3 and not just phpmailer, as stated in the INSTALL.txt. So, I needed to rename it to make it work. Of course it was my mistake, but since more than one person got stuck in the same error, it could be helpful to give a tip about it in the docs.
Best Wishes,
Drac
#5
okay.. got that package but the same error..
maybe its cause i havn t got pear..??
(include_path='.;C:\php5\pear')
#6
@drac.sa.evas: I was clear about the name of the folder for a reason. I don't believe I need to go into more detail than I did, and I'm not going to add more verbage in an attempt to account for every possible way that someone might get it wrong (which are many and varied). I specified exactly what to call the folder, and that is "phpmailer" and not "phpMailer", "PHPMAILER", or anything else.
In any variation of Unix, including Linux and the latest Macs (since, I believe OS 9, but I'm not sure on that), the case of the names matter, so it has to be exactly the same. Also, any time you extract any file, you can't assume the name of the new folder, or if there even is a folder. If you don't take the time to check the name folder, that's your problem, not mine.
@djrazr: No, that means you do have PEAR installed. Otherwise, it wouldn't be in the include path. You need to extract the phpMailer package into a directory named "phpmailer" (case matters -- make sure it's all lower case and doesn't have any other characters in the name of the directory), and that directory needs to be in the SMTP Authentication Support module's directory.
#7
For the people,
There is no bug in the module, Nothing is wrong with the code.
The only problem is that you are not able to put the phpmailer into the right directory.
Please try every hit before creating and issue or post, that way you are not only going to save your time and increase your level of understanding(Be Bold to try new things) and gonna save our time in dealing with some other important issues.
And if you still have problem, don't you hesitate, its your right to ask and its our duty to get your problems sorted.
EDIT: I just didn't know that I create this issue and giving lectures to people for discovering and trying new things before putting up questions, looking back in old time is so funny.
And that is what I have learned with this great community,
Love Drupal!
#8
I "followed the instructions" twice and failed, so you are all not alone :-)
To get it working I had to visit http://sourceforge.net/project/showfiles.php?group_id=26031 and NOT download the PHPMailer-ML file at the top. Instead scroll down to the file for your PHP version (mentioned in post #3), download that and extract it into a "phpmailer" folder in smtp.
Hope this helps,
Jack