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!