Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento SMTP crash on account signup after successful XAMPP install - please help
 
rmclondon
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2008-02-18
London UK
 

Hi guys,

I install Beta 0.8.17240 on XAMPP fine but when I run index.php locally and try to create a new account Magento crashes with error on this page

http://localhost/pm2/index.php/customer/account/create/

Error is:

Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:\xampp\htdocs\pm2\lib\Zend\Mail\Transport\Sendmail.php on line 91

Excerpt from my php.ini file:
=================================
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from =
=================================

Nothing on the magento forum about this but I have found similar issues online from guys installing Drupal:

http://osdir.com/ml/php.drupal.documentation/2006-11/msg00023.html

and oscommerce
http://forums.oscommerce.com/index.php?showtopic=279108

so I tried setting

SMTP = smtp.1and1.co.uk
SMTP = mail.brinkster.com

(2 of the hosts I have accounts with)

but all that happens when I submit the form at:

http://localhost/pm2/index.php/customer/account/create/

is that the page refreshes itself with the fields blank & I can never progress :(

All assistance with how to fix this is hugely appreciated,

Thanks,

Rob

P.S XAMPP Version info for debug:

###### ApacheFriends XAMPP (basic package) version 1.6.4 ######

+ Apache 2.2.6
+ MySQL 5.0.45
+ PHP 5.2.4 + PHP 4.4.7 + PEAR
+ PHP-Switch win32 1.0 (please use the “php-switch.bat")
+ XAMPP Control Version 2.5 from http://www.nat32.com
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8e
+ phpMyAdmin 2.11.1
+ ADOdb 4.95
+ Mercury Mail Transport System v4.01b
+ FileZilla FTP Server 0.9.23
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.2 for PHP 5.2.4

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmclondon
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2008-02-18
London UK
 

Hey I found this thread about XAMP post install login issues:

http://www.magentocommerce.com/boards/viewthread/4503

So I tried signing up using IP rather than localhost

http://127.0.0.1/pm2/index.php/customer/account/createpost/

But I still get the same black & white page of death

Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set()

boooooo :(

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top