Jump to content

sebman21

Members
  • Content count

    13
  • Joined

  • Last visited

  1. I tried to install this and it didnt work. So I followed the instructions backward, and now I have an error: Fatal error: Call to undefined function: tep_output_string() in ****.com/httpdocs/store/includes/functions/html_output.php on line 81 I looked on line 81 in html_output.php, and it says (lines 79-114) // alt is added to the img tag even if it is null to prevent browsers from outputting // the image filename as default $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 ( (CONFIG_CALCULATE_IMAGE_SIZE == 'true') && (empty($width) || empty($height)) ) { if ($image_size = @getimagesize($src)) { if (empty($width) && tep_not_null($height)) { $ratio = $height / $image_size[1]; $width = $image_size[0] * $ratio; } elseif (tep_not_null($width) && empty($height)) { $ratio = $width / $image_size[0]; $height = $image_size[1] * $ratio; } elseif (empty($width) && empty($height)) { $width = $image_size[0]; $height = $image_size[1]; } } elseif (IMAGE_REQUIRED == 'false') { return false; } } 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; } The error was originally at line 35, and migrated to line 81. People have asked what happend to my store. How can I fix this? Thanks
  2. I just installed this enhancement to my site. First, when I clicked on my store, and error came up and I immediatley replaced /includes/functions/whos_online.php with the original. Now, when I go the the administration page, and go to "whos online", I get an error that states 1054 - Unknown column 'user_agent' in 'field list' select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, http_referer, user_agent, session_id from whos_online order by time_last_click DESC [TEP STOP] I do not know what to replace to get my original "whos online" page back. Do you have any suggestions on how to correctly install the enhancement, or how to get it back to how it was originally? Thanks
×