Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Access Denied error at admin/customers.php

    I'm getting an "Access Denied" error in my browser when I try to access this admin URL this morning. I only noticed the error this morning, but it might have been a few days since I tried accessing that page.

    http://www.mystore.com/admin/customers.php

    The orders page and everything else in the admin and catalog I seem to be able to access just fine.

    I checked the error logs in the cache folder and there's nothing there except the usual PHP warnings about the strstr() function that I've been getting for years.

    I can't think of any files I have updated recently except for these, which I don't think have anything to do with that page.

    templates/mytemplate/common/tpl_header.php
    includes/languages/mytemplate/html_includes/define_main_page.php

    What could be causing this?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Access Denied error at admin/customers.php

    Check the permissions for that file against other files that exist there
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Access Denied error at admin/customers.php

    So the permissions for the customers.php file seems to get changed every Sunday to cause this error. I have to go into filezilla every week and fix it back. My webhost says they aren't doing it. No other file's permissions on my server seems to be changed. They're saying it must be a script I have running. I can't imagine what script would be causing it. The only cron jobs I run are database backups and some feed exports by Magneticone.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Access Denied error at admin/customers.php

    check the timestamp of the cron jobs v. the timestamp of the customers.php when it gets changed on sunday... if it is happening every sunday at the same time, it does seem like the culprit could be a cron job.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Access Denied error at admin/customers.php

    Quote Originally Posted by carlwhat View Post
    check the timestamp of the cron jobs v. the timestamp of the customers.php when it gets changed on sunday... if it is happening every sunday at the same time, it does seem like the culprit could be a cron job.
    A permissions change doesn't change the timestamp. It's still last modified in 2011.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Access Denied error at admin/customers.php

    i'm making an assumption that your host is running linux due to your comment on cron jobs. assuming that is the case, and that your host allows ssh access, you should ssh to the server and try:

    ls -lc

    which should tell you the when any substantive change to the inode occurred and that does include a permission change. although it is not limited to a permissions change.

    i am not sure if you are able to check this with fileZilla; you will probably need to ssh to the server. you can then better check the timing of your cron jobs as well with:

    crontab -l

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 12 Apr 2010, 11:09 PM
  2. Admin Profiles mod error: denied access to Coupon Restriction settings ???
    By NicholeAnn in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Feb 2008, 05:20 AM
  3. access denied on index.php
    By shadoh in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2007, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR