Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem with enhancement contribution - please help?


Recommended Posts



I have installed the enhancement contribution v 1.9, but in my admin pages this error shows up:


Fatal error: Call to undefined function: tep_get_ip_address() in /hsphere/local/home/ledshop/webshop.ledshop.no/admin/whos_online.php on line 377


How do I solve this?


function tep_update_whos_online() {
// WOL 1.6 - Need access to spider_flag and user_agent and moved some assignments up here from below
global $customer_id, $spider_flag, $user_agent;

	$wo_ip_address = tep_get_ip_address();
$wo_last_page_url = request_uri();

$current_time = time();
$xx_mins_ago = ($current_time - 900);
$wo_session_id = tep_session_id();
$user_agent = getenv("HTTP_USER_AGENT");
$wo_user_agent = $user_agent;

Link to comment
Share on other sites


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

  • Create New...