warriorwarren Posted February 21, 2008 Posted February 21, 2008 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 Quote
Jan Zonjee Posted February 21, 2008 Posted February 21, 2008 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. Quote
warriorwarren Posted February 21, 2008 Author Posted February 21, 2008 Hi Jan, Thanks for the reply, could you go into more detail on what I need to do with the function and why its failing? Its a standard install ie: first osc and then admin access got installed. Why does it not work? Quote
warriorwarren Posted February 22, 2008 Author Posted February 22, 2008 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. Quote
Jan Zonjee Posted February 22, 2008 Posted February 22, 2008 4: Zipped up the admin folder from the contribution5. 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? Quote
warriorwarren Posted February 23, 2008 Author Posted February 23, 2008 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? Quote
Jan Zonjee Posted February 24, 2008 Posted February 24, 2008 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.