Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Access With Levels


waro

Recommended Posts

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.

Link to comment
Share on other sites

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.

"Any fool can know. The point is to understand." -- Albert Einstein

Link to comment
Share on other sites

Slight mistake:

'invoice.php'      => 'catalog.php',

'packingslip.php'  => 'catalog.php',

Should really be
'invoice.php'       => 'customers.php',
'packingslip.php'   => 'customers.php',

"Any fool can know. The point is to understand." -- Albert Einstein

Link to comment
Share on other sites

  • 3 months later...

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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?

"Any fool can know. The point is to understand." -- Albert Einstein

Link to comment
Share on other sites

  • 1 month later...

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.

=)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...