Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent- Call to undefined function: tep_hide_session_id()


nshorts

Recommended Posts

I'm trying to get this store up and running today, and I've spent a few days searching for docs on this error, but can't find anything.

 

In the Categories/Products Menu:

 

Fatal error: Call to undefined function: tep_hide_session_id() in /home/content/s/g/m/sgmediaonline/html/shop/catalog/admin/categories.php on line 843

 

In the Customers Menu:

 

Call to undefined function: tep_hide_session_id() in /home/content/s/g/m/sgmediaonline/html/shop/catalog/admin/customers.php on line 1032

 

Both pages are blank otherwise minus the page title.

 

Anyone know a fix for this?

 

Thank you!

Link to comment
Share on other sites

This function should be defined in your admin/includes/functions/html_output.php:

 

////
// Hide form elements
 function tep_hide_session_id() {
global $session_started, $SID;

if (($session_started == true) && tep_not_null($SID)) {
  return tep_draw_hidden_field(tep_session_name(), tep_session_id());
}
 }

Link to comment
Share on other sites

  • 4 weeks later...

I'm having the same problem and I checked my html_output.php and it is defined as you suggested.

Any other suggestiosn on how to fix this?

 

This function should be defined in your admin/includes/functions/html_output.php:

 

////
// Hide form elements
 function tep_hide_session_id() {
global $session_started, $SID;

if (($session_started == true) && tep_not_null($SID)) {
  return tep_draw_hidden_field(tep_session_name(), tep_session_id());
}
 }

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...