scottybwoy Posted May 22, 2008 Posted May 22, 2008 Hi, I'm new to this OsCommerce stuff and e-commerce in general. Now I think I've picked most things up, but when I install some modules they just don't seem to work. In this particular case, I have module Admin installed, so I can have password protected area. And now trying to install total configuration, I can seem to get it to work. Following the instructions I added the line : '<a href="' . tep_href_link(FILENAME_TOTAL_CONFIGURATION) . '" class="menuBoxContentLink">' . BOX_TOOLS_TOTAL_CONFIGURATION . '</a><br>' . To admin/includes/boxes/tools.php It shows (cos I defined the Constants elsewhere) But when I click on it says I don't have permission. On closer inspection I saw it was not written the same as the others according to the Admin23 module. So I changed it to : tep_admin_files_boxes(FILENAME_TOTAL_CONFIGURATION, BOX_TOOLS_TOTAL_CONFIGURATION) . But it dissapeared? Now I don't know what to do, any pointers? Thanks in advance. Quote
scottybwoy Posted May 23, 2008 Author Posted May 23, 2008 Still no joy with this one, has anyone else experienced this problem? Quote
spooks Posted May 23, 2008 Posted May 23, 2008 The only reason is in the tools is for conveniance, but all its doing is providing a link to the page you could put it anywhere ( I put one in the haeder for convenience. Try typing the url in your browser to see if you have an error with your install. in address window type www.mystore.com/catalog/admin/total_configuration.php :) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
scottybwoy Posted May 23, 2008 Author Posted May 23, 2008 Hi Sam, thanks I tried that already, but it came up the same if I followed the standard link. It says I don't have permissions. This I believe is because it not invoked the way the admin security I installed on it wants it to be. As in my previous post all the other links appear as : tep_admin_files_boxes(FILENAME_TOTAL_CONFIGURATION, BOX_TOOLS_TOTAL_CONFIGURATION) But when I type it in like that it just doesn't show at all Quote
spooks Posted May 23, 2008 Posted May 23, 2008 Hi Sam, thanks I tried that already, but it came up the same if I followed the standard link. It says I don't have permissions. This I believe is because it not invoked the way the admin security I installed on it wants it to be. As in my previous post all the other links appear as : tep_admin_files_boxes(FILENAME_TOTAL_CONFIGURATION, BOX_TOOLS_TOTAL_CONFIGURATION) But when I type it in like that it just doesn't show at all Ok I think the problem is the module you`ve installed is causing the block, you`re vague, but I assume your talking about Administration Access Level Accounts 2.0, looking at the lates, which appears to be 2.2a it keeps a database of modules to allow or deny access, so you need to add total_configuration.php to the database, try applying this sql INSERT INTO admin_files VALUES (43, 'total_configuration.php', 1, 0, '1'); Then that modification you made to tools should work. Let me know how you get on. :) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
scottybwoy Posted May 23, 2008 Author Posted May 23, 2008 I found out it's ADMIN ACCESS with LEVEL for osCommerce's Administration Tool Version: 1.2 in the README file. However, your SQL statement seemed to work. I reverted back to the original link code and can now access it. Well done! Thanks for your help 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.