Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error sending emails, in compatibility.php


sclifford

Recommended Posts

Hi,

 

i have installed oscommerce on a windows host, and installed patch 1.5.

 

i am gettingthe following error when i try sending emails from the contact page....

 

Warning: Variable passed to each() is not an array or object in E:\domains\u\uklockpickers.co.uk\user\htdocs\oscommerce\catalog\includes\functions\compatibility.php on line 170

 

166 if (!function_exists('checkdnsrr')) {
167	function checkdnsrr($host, $type) {
168	  if(tep_not_null($host) && tep_not_null($type)) {
169		@exec("nslookup -type=$type $host", $output);
170		while(list($k, $line) = each($output)) {
171		  if(eregi("^$host", $line)) {
172			return true;
173		  }
174		}
175	  }
176	  return false;
177	}
178  }

 

 

Have i not got something installed correctly when applying the patch?

 

 

thx in advance.

 

s.c

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...