Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined function: tep_hide_session_id()


warriorwarren

Recommended Posts

Hi Guys,

 

Wondered if you could help. I have been trying to install the Access Levels contribution

http://addons.oscommerce.com/info/1359

 

I have tried to install this a 2.2RC1 and now just downloaded and tried installed the latestet 2.2RC2 and have the same problem.

 

It seems to work fine but when I go into the admin console certain things get function call error for example clicking on customers

Fatal error: Call to undefined function: tep_hide_session_id() in /homepages/27/d214228330/htdocs/SouthAfricanChef/catalog/admin/customers.php on line 700

 

Clicking on orders

Fatal error: Call to undefined function: tep_hide_session_id() in /homepages/27/d214228330/htdocs/SouthAfricanChef/catalog/admin/orders.php on line 334

 

This has happned on both versions. Is there anyone who has managed to get this working. I need the abilty to add an administartor who can add/remove and edit products.

 

thanx

Link to comment
Share on other sites

Fatal error: Call to undefined function: tep_hide_session_id() in /homepages/27/d214228330/htdocs/SouthAfricanChef/catalog/admin/orders.php on line 334

You can find this function in catalog/includes/functions/html_output.php where it always has been. In RC1 (or even before that) it was added to the equivalent admin file too.

Link to comment
Share on other sites

I’m really struggling trying to get this contibution working on a vanilla OSC setup, I have tried to follow the function calls and everything seems to be in place but I still get the same errors, even on RC1.

 

Is it the contribution that is bad or just me adding it in wrong??

 

I haven’t gone as far as following all the function calls in all the includes statements (still not to sure how this works), but what I have done so far:

1: Downloaded the latest version of OSC 2.2 RC2a

2: Downloaded contribution http://addons.oscommerce.com/info/1359 (Admin Access 2.2a Chinchilla2 24 Jan 2006 )

3: Installed OSC by moving all catalog files to my server and setup the database by running the included sql script.

4: Zipped up the admin folder from the contribution

5. Using FTP tools, unzipped the admin file replacing and adding new files to the current admin folders.

6: Logged onto site/admin using the new admin@localhost logon

7: It seems to work fine but when I go into the admin console certain things get function call error for example clicking on customers

Fatal error: Call to undefined function: tep_hide_session_id() in /homepages/27/d214228330/htdocs/SouthAfricanChef/catalog/admin/customers.php on line 700

 

Clicking on orders

Fatal error: Call to undefined function: tep_hide_session_id() in /homepages/27/d214228330/htdocs/SouthAfricanChef/catalog/admin/orders.php on line 334

 

I would really appreciate it if someone else could also checkout this contribution on OSC 2.2 RC2a (latest) and let me know if they getting the same error messages.

Link to comment
Share on other sites

4: Zipped up the admin folder from the contribution

5. Using FTP tools, unzipped the admin file replacing and adding new files to the current admin folders.

Duh, if that contribution used files for the admin of pre RC1, what do you think will happen when you upload that in an osC installation of RC1 or later?

Link to comment
Share on other sites

Duh, if that contribution used files for the admin of pre RC1, what do you think will happen when you upload that in an osC installation of RC1 or later?

 

so should I just upload the extra files from the contribution and the add edits the ones that have changed or will this contibution not work on a ver RC1 or above?

Link to comment
Share on other sites

so should I just upload the extra files from the contribution and the add edits the ones that have changed or will this contibution not work on a ver RC1 or above?

Whatever works for you: either use the extra files from the contribution and update those to RC2a or use the RC2a files to add the contribution manually to those files.

 

Or if you know which version was used for the extra files in the contribution find that version of osC, make diff's between the files and use the diff files to patch the RC2a files. Provided you know what I mean, otherwise never mind.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...