waro Posted January 14, 2004 Share Posted January 14, 2004 I'm using contrib 'Admin Access With Levels'. I installed it and it works fine until I find out that I can't access invoice.php when I tried to check customer orders. I can view it from superadmin account, but when I give another 'customer' rights into another (sub-level admin), it can't view the invoice and also packing slip. Do you have any thoughts considering this problem? Thank you. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2004 Share Posted January 14, 2004 it all depends upon the rights you have setup for that customer/person to view and the properties there Quote Link to comment Share on other sites More sharing options...
devosc Posted January 15, 2004 Share Posted January 15, 2004 waro, you are correct, there is a problem with the associated files. To rectify it go to admin/includes/functions/administrators.php find $aADMPages = array(......) now insert 'invoice.php' => 'catalog.php', 'packingslip.php' => 'catalog.php', just after where it says 'categories.php' => 'catalog.php', Now you can now see how to associate the files you want to their corresponding box. Quote "Any fool can know. The point is to understand." -- Albert Einstein Link to comment Share on other sites More sharing options...
devosc Posted January 15, 2004 Share Posted January 15, 2004 Slight mistake: 'invoice.php' => 'catalog.php','packingslip.php' => 'catalog.php', Should really be'invoice.php' => 'customers.php', 'packingslip.php' => 'customers.php', Quote "Any fool can know. The point is to understand." -- Albert Einstein Link to comment Share on other sites More sharing options...
waro Posted January 15, 2004 Author Share Posted January 15, 2004 Thank you, that's just what I need. It's now working! :)... I assume that it'll work also with another file... such as filemanager.php ??? Quote Link to comment Share on other sites More sharing options...
echnaton Posted May 12, 2004 Share Posted May 12, 2004 A similar type of problem - it seems that this contrib is blocking out requests to the database from other installed contribs through the admin interface... Here's an example - I installed Cacelled Orders, but get the Forbiden.php when trying to see the list of all cancelled orders from the Admin. Users have no problem seeing their list of cancelled orders. Read about it here: http://www.oscommerce.com/forums/index.php?sho...72891&st=10&hl= Can anyone help? THANKS! Quote Link to comment Share on other sites More sharing options...
echnaton Posted May 13, 2004 Share Posted May 13, 2004 It's not just Cancelled Orders - It seems to be blocking all new contribs associated with Admin. I've just added Edit Orders, and it's not allowing me access to the database to amend the orders - I'm just getting forewarded to forbiden.php Someone with good knowledge of the inner working of this contrib must know why this is happening - it is a major issue, and need to be sorted. I'd have a crack at it myself, but without the background details it is a daunting task :unsure: Thanks! Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted May 15, 2004 Share Posted May 15, 2004 You have to add the new files to the list as Greg did for invoice.php above. Hth, Matt Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
devosc Posted May 15, 2004 Share Posted May 15, 2004 Is it me or has this contribution dissapeared from the contrib download section, I thought the versions got into the 1.7 range but can't see it? Quote "Any fool can know. The point is to understand." -- Albert Einstein Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2004 Share Posted July 8, 2004 yes, it did seem to disappear. it used to be contrib 1 I have v1.6 of this archived on my server. However, I would like to know what happened with this contrib. Why was it removed from contributions? Well, back to improving myself and my coding. =) Quote Link to comment Share on other sites More sharing options...
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.