aslanstudios Posted February 24, 2004 Share Posted February 24, 2004 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? Quote Link to comment Share on other sites More sharing options...
devosc Posted February 24, 2004 Share Posted February 24, 2004 add it immediately after 'customers.php' => 'customesr.php', Quote "Any fool can know. The point is to understand." -- Albert Einstein Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2004 Share Posted February 24, 2004 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. Quote Link to comment Share on other sites More sharing options...
aslanstudios Posted February 24, 2004 Author Share Posted February 24, 2004 I'm still lost. I made the correction again, and I walked through the installation process again and cant seem to find the "requireloginvalidforpage()" anywhere. Any ideas where I should look? Quote Link to comment Share on other sites More sharing options...
aslanstudios Posted March 11, 2004 Author Share Posted March 11, 2004 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!!! 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.
Note: Your post will require moderator approval before it will be visible.