Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jprocter

Archived
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Real Name
    John Procter

jprocter's Achievements

  1. Glad you did not have a problem on the older version of the contribution. All I know is that the below contribution of 20 Jan 2006 did not work until i added the extra "D" Administration Access Level Accounts 2.0 http://www.oscommerce.com/community/contri...el+Accounts+2.0 This is the added contribution that I used with the incorrect documentation: Admin Access 2.2a - Chinchilla2 - 20 Jan 2006 I don't think Chinchilla2 changed the documentation so those who are having a problem with that particular contrib adding a "D" fixes it!
  2. MaxiDVD... Did you ever find a solution to the timeout problem for the Admin Access contrib Let me know...thanks, John
  3. Well...I figured out the problem! Yeah! :D If you are installing this contrib into your already modified OSCommerce and copy and pasting into your files, which I was doing...you need to be aware that there is a documentation error with the copy-n-paste of the catalog/admin/includes/functions/general.php file In the documentation: FILE NAME: catalog/admin/includes/functions/general.php (1 edit) The word FORBIDEN is MISSING A "D"....it should be spelled: "FORBIDDEN" (2 "D"s) if ($filename != FILENAME_DEFAULT && $filename != FILENAME_FORBIDEN && $filename != FILENAME_LOGOFF && $filename != FILENAME_ADMIN_ACCOUNT && $filename != FILENAME_POPUP_IMAGE && $filename != 'packingslip.php' && $filename != 'invoice.php') { $db_file_query = tep_db_query("select admin_files_name from " . TABLE_ADMIN_FILES . " where FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id) and admin_files_name = '" . $filename . "'"); if (!tep_db_num_rows($db_file_query)) { tep_redirect(tep_href_link(FILENAME_FORBIDEN)); REPLACE WITH: if ($filename != FILENAME_DEFAULT && $filename != FILENAME_FORBIDDEN && $filename != FILENAME_LOGOFF && $filename != FILENAME_ADMIN_ACCOUNT && $filename != FILENAME_POPUP_IMAGE && $filename != 'packingslip.php' && $filename != 'invoice.php') { $db_file_query = tep_db_query("select admin_files_name from " . TABLE_ADMIN_FILES . " where FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id) and admin_files_name = '" . $filename . "'"); if (!tep_db_num_rows($db_file_query)) { tep_redirect(tep_href_link(FILENAME_FORBIDDEN)); I discovered this on April 05, 2006 and will email the contributor of the file: Administration Access Level Accounts 2.0 http://www.oscommerce.com/community/contri...el+Accounts+2.0 This is the contribution with the incorrect documentation: Admin Access 2.2a - Chinchilla2 - 20 Jan 2006 Thanks everyone who took a look at my situation...again...I appreciate it! And a big Thank You to Seth who originally put this fantastic contribution togehter. It needs to be a part of MS3!
  4. In case this might help...I wanted to add that the page that cannot be found has the URL address of: www/websitename.com/admin/configuration.php?selected_box=configuration&gID=1&osCAdminID=9821f85ac940ab494a2fefc80cb179fa Again THANKS for any direction that you can give me... I have gone through all my code and uploaded all the files again...and the above continues to happen. Appreciate your help, John
  5. Hi all... I just added the contrib: Administration Access Level Accounts 2.0 Everything works well except when I add a new Admin When I login with the new admin and click on one on the links in the main admin box which this "Admin does NOT have access" I don't get the page that is suppose to read: Access Denied No Right Permission Access Please contact your Web Administrator to request more access or if you found any problem. (and has a back button below.) Rather it brings up a blank page stating "Page cannot be found!" (Note: The other links DO work in which I have given "permission" to for this Admin.) Thanks for any help I can get on this! John
×
×
  • Create New...