Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: image() in...


foziw

Recommended Posts

Posted

Hello,

 

I am having a serious error on my freshly installed shop and STS.

Getting this:

Fatal error: Call to undefined function: image() in /mnt/w0200/d16/s30/b02ac612/www/cestasdefruta.net/includes/functions/html_output.php on line 78

 

and the php code on that line is this:

////
// The HTML image wrapper function
  function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') {
    $image = '<img src="' . tep_output_string($src) . '" border="0" alt="' . tep_output_string($alt) . '"';

   if (tep_not_null($alt)) {
      $image .= ' title=" ' . tep_output_string($alt) . ' "';
    }

    if (tep_not_null($width) && tep_not_null($height)) {
      $image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"';
    }

    if (tep_not_null($parameters)) $image .= ' ' . $parameters;

   $image .= '>';
	    return $image;
	  }
////

 

Thanks you so much for the help

Archived

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

×
×
  • Create New...