Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in application_top.php and session.php


ethandane

Recommended Posts

  • 3 weeks later...
Posted
I too have this problem! Who can help?

 

If line 223 is around the following: -

 

// verify the browser user agent if the feature is enabled
 if (SESSION_CHECK_USER_AGENT == 'True') {
$http_user_agent = getenv('HTTP_USER_AGENT');
if (!tep_session_is_registered('SESSION_USER_AGENT')) {
  $SESSION_USER_AGENT = $http_user_agent;
  tep_session_register('SESSION_USER_AGENT');
}

 

You could try

 

// verify the browser user agent if the feature is enabled
 if (SESSION_CHECK_USER_AGENT == 'True' && (false === $spider_flag)) {
$http_user_agent = getenv('HTTP_USER_AGENT');
if (!tep_session_is_registered('SESSION_USER_AGENT')) {
  $SESSION_USER_AGENT = $http_user_agent;
  tep_session_register('SESSION_USER_AGENT');
}

Posted
If line 223 is around the following: -

 

// verify the browser user agent if the feature is enabled
 if (SESSION_CHECK_USER_AGENT == 'True') {
$http_user_agent = getenv('HTTP_USER_AGENT');
if (!tep_session_is_registered('SESSION_USER_AGENT')) {
  $SESSION_USER_AGENT = $http_user_agent;
  tep_session_register('SESSION_USER_AGENT');
}

 

You could try

 

// verify the browser user agent if the feature is enabled
 if (SESSION_CHECK_USER_AGENT == 'True' && (false === $spider_flag)) {
$http_user_agent = getenv('HTTP_USER_AGENT');
if (!tep_session_is_registered('SESSION_USER_AGENT')) {
  $SESSION_USER_AGENT = $http_user_agent;
  tep_session_register('SESSION_USER_AGENT');
}

 

I have tried this, but Google still indexes the error message. Any other ideas?

Archived

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

×
×
  • Create New...