kandelsdorff Posted November 10, 2008 Share Posted November 10, 2008 HELP… When i create a new use i get this error: Warning: mail() [function.mail]: Failed to send mail. (554 Message refused.) in /volume1/web/atkshop2/includes/classes/email.php on line 522 Warning: Cannot modify header information - headers already sent by (output started at /volume1/web/atkshop2/includes/classes/email.php:522) in /volume1/web/atkshop2/includes/functions/general.php on line 34 My setup: I have installed OSC 2.2 (Unique Free version – translated to Danish) on my SynologyDS-207+ box running Apache web server with built-in PHP & MySQL.) On the box under communication I have set the smtp server to smtpout.secureserver.net (plus my godaddy account) port 25. In the admin- I have tried the following: OSC admin – config. – email settings: I have tried both smtp, CRLF and sendmail, LF. I can send email to the users without no problems. But when a new user tries to create an account they get the mentioned error. (Even though the user gets created in the database) I have also tried this add-on http://addons.oscommerce.com/info/901 (bpopelar 15 Feb 2008) PLEASE someone help me :rolleyes: Thanks in advance Regards Casper P.S. I have also tried installing ”osCommerce Online Merchant v2.2 Release Candidate 2a” but I get the same error!! Link to comment Share on other sites More sharing options...
FIMBLE Posted November 10, 2008 Share Posted November 10, 2008 Check your general.php for whitespace... Headers already sent error: This means there is an output where there should not be one, an output sounds technical but it is usually a single blank space where it should not be! This is either at the very begining of the script so it may look like <?php when it should look like <?php Or at the end ?> when it should be ?> The file name with th error will be given in the message you recieive.i.e output started at /home/xxxxxxx/public_html/catalog/includes/application_top.php OR SIMILAR The error happens when a file is worked on by add in code, a contribution or similar. Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.