Closed (fixed)
Project:
SMTP Authentication Support
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2006 at 01:36 UTC
Updated:
18 Apr 2007 at 00:15 UTC
Hello,
I'm running Drupal 4.7.3 on a windows server with php 5.0.5
I followed the instructions to place smtp.module in the drupal modules directory.
When I go to administer / modules - the page is blank.
If I remove the smtp.module file from the modules directory and refresh, the administer / modules page loads correctly.
I ran php -l smpt.module to see if there were any syntax errors but it was fine.
Any idea on what I'm doing wrong or why it's not workign for me?
Thanks!
Comments
Comment #1
majomajomajo commentedSame here.
Windows 2003, php 5, Apache 4.7.2
Comment #2
bluecobalt commentedIncrease PHP's memory limit:
http://drupal.org/node/31819
Comment #3
majomajomajo commentedHmm, in my php-error-log:
Fatal error: Cannot redeclare user_mail_wrapper() in C:\Apache\Apache2\htdocs\drupal\sites\www.digitalk.se\modules\smtp\smtp.module on line 132
So by removing devel-module (that also has the function user_mail_wrapper()) the error went away.
Any idea for a better fix?
Comment #4
vcosta commentedHello all,
First of all thank you for all the great support you've been giving so far to thousands of us across the world and for the conception of such great piece of coding the whole Drupal is.
Secondly, I am running Drupal 4.7.4 on Apache 2.0.55 and php 5.1.4 and being a newbie on PHP, i managed quite successfully to set up drupal. Seems that my only trouble is the SMTP that won't work.
I've tweaked and went through the different methods, problems and solutions posted on this site and now, after installing the SMTP module and activating it, the test email was sent successfully (the one on the smtp settings page?) , however, when a user tries to register, that email that Drupal sends, never reaches its destiny because of an error.
I've configured the php.ini [mail function], installed the smtp.module, class.smtp.inc and i am at a stage where i get an error related to the smtp.inc which reads:
Fatal error: Cannot redeclare user_mail_wrapper() (previously declared in D:\Data\Website\drupal\modules\smtp\smtp.module:132) in D:\Data\Website\drupal\includes\smtp.inc on line 36
The funny thing is that it seems that the system is working fine as the log claims that the user was created successfully.
Type user
Date Friday, November 17, 2006 - 05:29
User Guest
Location http://192.168.0.100/drupal/?q=user/register
Referrer http://192.168.0.100/drupal/?q=user/register
Message New user: tested .
Severity notice
Hostname 192.168.0.63
but no email message is sent.
All this problem started because my smtp (managed by an ISP) wouldn't forward external email, so i started with the eror 550 saying it could not forward mail outside the domain and it was not a valid gateway.
Please, does anyone know why this is happening?
Thanks in advance,
Victor
Comment #5
LukeLast commentedTry getting rid of smtp.inc
Comment #6
smk-ka commentedSeems like removing smtp.inc does the trick.
--
Stefan Kudwien
http://www.unleashedmind.com
Comment #7
(not verified) commented