Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Access, cannot access invoice.php, pack....


aslanstudios

Recommended Posts

I m having a problem with Admin Access 1.6.0 with restricted administrators being able to access the invoice.php, packingslip.php, and mail.php.

 

I followed the suggestion in the following post and it generates an error (listed below):

 

http://www.oscommerce.com/forums/index.php?sho...=0entry290165

 

Error after corrections:

Parse error: parse error, expecting `')'' in /home/marthamu/public_html/catalog/admin/includes/functions/administrators.php on line 32

 

Fatal error: Call to undefined function: requireloginvalidforpage() in /home/marthamu/public_html/catalog/admin/includes/application_top.php on line 112

If I take the code

'invoice.php' ? ? ? => 'customers.php',
'packingslip.php' ? => 'customers.php',

out, the error doesn't appear. But I'm back to where I started.

 

Any advice?

Link to comment
Share on other sites

it appears you do not have the function requireloginvalidforpage installed, double check the instructions for installing the application, search for the word require in the instructions, you can find easily where it is supposed to be.

Link to comment
Share on other sites

  • 3 weeks later...

Well, I'm still lost.

 

It's been two weeks and I have completely deleted my osCommerce and reinstalled it and the Admin Access from scratch 4 different times.

 

I still get the same errors as before when a sub-admin tries to access the invoice or packing slip.

 

If anyone can tell me where I should go from here I would appreciate it.

 

My brain is FRIED!!!

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.
Note: Your post will require moderator approval before it will be visible.

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...