papillon Posted May 31, 2008 Posted May 31, 2008 Hi, i have osc installed in my local hard drive for testing, running on xampp. all is working except the mail... i get an error: 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\catalog\includes\classes\email.php on line 522 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\catalog\includes\classes\email.php:522) in C:\xampp\htdocs\catalog\includes\functions\general.php on line 33 i have just realised that in the xampp control panel, i had the mercury shutted down, but if i start it, then i cant even load the shop in the browser (going to localhost/catalog/) do i need to to configure something in osc or xampp to be able to use mail while testing? note- in the xampp control panel, i cant check the service checkbox for mercury... (its disabled)... maybe i didnt intelled it properly? thanks in advance
spooks Posted May 31, 2008 Posted May 31, 2008 check first that you have no pages with empty content after the last ?> Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
papillon Posted June 1, 2008 Author Posted June 1, 2008 check first that you have no pages with empty content after the last ?> thanks for reply. You mean to ckeck all the *.php files in the shop? or should it work if just the specific page that sends the mail (checkout_process for example) is ok? (just to avoid checking all the shop :)) by the way, how its supossed to work? i mean, installing xampp *should* allow the mail sending to work, or its necessary any configuration?
usernamenone Posted June 2, 2008 Posted June 2, 2008 Did you set up email within your xamp or do you just expect it to work?
prafulkr Posted June 2, 2008 Posted June 2, 2008 I think mail option does not worked on localhost Am i right? When I was born, I was cryed and everyone around me was smiling. Live our life so at the end, I am the one who is smiling and everyone around me is crying.
papillon Posted June 2, 2008 Author Posted June 2, 2008 Did you set up email within your xamp or do you just expect it to work? no, i didnt set up anything... just installed xampp, and then installed oscommerce... the thing is i dont know where and how should i configure it... :) if i start the mercury mail in the xampp control panel, then the shop just dont load... and if i stop it, the shop load ok but, obviously, there are no mail... where should i look for the problem? thanks ps.- i have checked all the php files and they seem to be ok... (=no empty content after the last ?>)
♥Vger Posted June 2, 2008 Posted June 2, 2008 I think mail option does not worked on localhostAm i right? Yes, you are correct. Mercury Mail cannot be easily made to work on a local install. It is a nightmare best avoided, but if you want to persist in trying to use it then look for posts about it on the XAMPP Forums. Vger
papillon Posted June 2, 2008 Author Posted June 2, 2008 Yes, you are correct. Mercury Mail cannot be easily made to work on a local install. It is a nightmare best avoided, but if you want to persist in trying to use it then look for posts about it on the XAMPP Forums. Vger ok thanks, then i think i will put the "send email" to false in admin for testing, and activate it when i upload the shop to its final server. thanks for the info
BryceJr Posted June 2, 2008 Posted June 2, 2008 If you're still interested, these might help. http://www.apachefriends.org/f/viewtopic.php?t=17948 http://www.menekali.com/sending-email-thro...-wamp-or-xampp/
papillon Posted June 2, 2008 Author Posted June 2, 2008 If you're still interested, these might help. http://www.apachefriends.org/f/viewtopic.php?t=17948 http://www.menekali.com/sending-email-thro...-wamp-or-xampp/ will look at them, thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.