Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: tep_hide_session_id()


Guest

Recommended Posts

I am currently setting up my first OsCommerce store and have gotten as far as setting up locations and taxes.

 

When I just click on the Locations/Taxes and the "Countries" show up where I can decide to ship or not ship to certain countries - I can do NOTHING there. This code appears on the bottom of the screen: Fatal error: Call to undefined function: tep_hide_session_id() in /home/lostinti/public_html/admin/includes/classes/split_page_results.php on line 80.

 

I tried re-loading that section but no change. What might the problem be?

Link to comment
Share on other sites

  • 5 weeks later...
  • 4 months later...

tep_hide_session_id()

 

Is a standard function in later versions of osCommerce (e.g. RC1, RC2, RC2a) it was however not present in MS2.2

 

catalog/admin/includes/functions/html_output.php

 

Have you perhaps mixed upgraded files with old files?

Link to comment
Share on other sites

  • 3 weeks later...

HI I have the same problem, after a clean install of 2.2rc2a ive uploaded mvs1.1 and get this error on one half of the product attributes page

 

Fatal error: Call to undefined function: tep_hide_session_id() in /share/storage/03/pr/printjunkie/htdocs/catalog/admin/includes/classes/split_page_results.php on line 80

 

the release notes say that mvs is made for this version of OS so im a bit stumped.

 

any help would be greatly appreciated.

 

cheers

Link to comment
Share on other sites

  • 2 weeks later...

Paste the code to admin/includes/functions/html_output.php file

Make sure you paste the code right ABOVE the final ?> at the bottom of the file:

 

 

// Hide form elements

function tep_hide_session_id() {

$string = '';

if (defined('SID') && tep_not_null(SID)) {

$string = tep_draw_hidden_field(tep_session_name(), tep_session_id());

}

return $string;

}

Link to comment
Share on other sites

  • 1 year later...

Archived

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

×
×
  • Create New...