Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hi.. im new and i need help..


dorosh

Recommended Posts

hello every one my name is John and i need help please itry to install the system oscommerce and when i finished to install and i try to enter the web this messege tell me that i got problem:

 

Fatal error: Cannot redeclare checkdnsrr() in /home/offpctech/domains/www.mysite.com/public_html/catalog/includes/functions/compatibility.php on line 167

 

and this is what i find in line 167

this is all the function:

 

if (!function_exists('checkdnsrr')) {

function checkdnsrr($host, $type) {

if(tep_not_null($host) && tep_not_null($type)) {

@exec("nslookup -type=$type $host", $output);

while(list($k, $line) = each($output)) {

if(eregi("^$host", $line)) {

return true;

}

}

}

return false;

}

}

?>

 

 

what i need to do..

 

thx and have anice day.

Link to comment
Share on other sites

hello every one my name is John and i need help please itry to install the system oscommerce and when i finished to install and i try to enter the web this messege tell me that i got problem:

 

Fatal error: Cannot redeclare checkdnsrr() in /home/offpctech/domains/www.mysite.com/public_html/catalog/includes/functions/compatibility.php on line 167

 

and this is what i find in line 167

That is standard code.

Does the error say where it was previously declared?

Link to comment
Share on other sites

no, this is the only messege that he tell me what is the problem? and what i need to do to fix that problem??

 

thx.

You have to find out where it was previously declared.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...