codefumbler Posted January 22, 2003 Share Posted January 22, 2003 I am new (24hrs) to osCommerce - and fairly new to Apache/PHP/MySQL. so please forgive and naivity. I have managed to get osCommerce working to some degree but I have the following error whenever the scripts need to send email - when registering as a new user or completing checkout for example. [sTART OF ERROR MESSAGE] Warning: Failed to Connect in c:program filesapache groupapachehtdocsoscommercecatalogincludesclassesemail.php on line 502 Warning: Cannot add header information - headers already sent by (output started at c:program filesapache groupapachehtdocsoscommercecatalogincludesclassesemail.php:502) in c:program filesapache groupapachehtdocsoscommercecatalogincludesfunctionsgeneral.php on line 23 [END OF EROR MESSAGE] I have looked for anomalies in configuration but can't find anything. ANy ideas? Thanks Link to comment Share on other sites More sharing options...
toolcrazy Posted January 22, 2003 Share Posted January 22, 2003 Is this your personal server? If so you need sendmail running on the system. If not, go into admin and make sure that the configuration->email options is set to sendmail. If it is set send email to false and try it again. Steve ------------------------- Link to comment Share on other sites More sharing options...
codefumbler Posted January 22, 2003 Author Share Posted January 22, 2003 Thanks for your quick response. I have sorted it. It was a combination of your suggestion and the php.ini settings. I noow have a problem with all my prices being at zero but I will check around for answers before posting as another topic. I must say - my first impressions of osCommerce are very favourable - it seems incredibly well thought out. Thanks again Link to comment Share on other sites More sharing options...
Jan0815 Posted January 22, 2003 Share Posted January 22, 2003 Warning: Failed to Connect in c:program filesapache groupapachehtdocsoscommercecatalogincludesclassesemail.php on line 502 Your PHP configuration is incorrect. Please review the php.ini file (usually in your windows directory) and check the mail settings there. Also try a search on this forum with "smtp windows" or "mail windows". This has been answered many times before. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.