fmr Posted September 28, 2003 Posted September 28, 2003 Installed MS2, keep getting an error during checkout process or account create process when email is trying to be sent advising problems on line 500 of email.php No problems with MS1 - whats the diifence? My hosting company's server is windows NT 5.0, php 4.3.1 (zend:1.3.0) Desperate for any help at this stage, thought it might be line feed problems, but don't know enough.
fmr Posted September 28, 2003 Author Posted September 28, 2003 Got it working - hope this helps someone else See http://www.oscommerce.com/community/bugs,1310 Basically I commented out as follows in catalog/includes/functions/general.php // nl2br() prior PHP 4.2.0 did not convert linefeeds on all OSs (it only converted \n) function tep_convert_linefeeds($from, $to, $string) { //if ((PHP_VERSION < "4.0.5") && is_array($from)) { return ereg_replace('(' . implode('|', $from) . ')', $to, $string); //} else { // return str_replace($from, $to, $string); //} } will do the sane in admin - hopefully all will go well there.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.