Results 1 to 5 of 5

PayPal IPN Test Panel Access Denied

This is a discussion on PayPal IPN Test Panel Access Denied within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi All I've just installed the OSC PayPal 3.0a contrib. and all seems to be working fine, except when I ...

      
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    30
    Rep Power
    0


    Default PayPal IPN Test Panel Access Denied

    Hi All

    I've just installed the OSC PayPal 3.0a contrib. and all seems to be working fine, except when I try to use the IPN Test Panel in administrator I get bounced to forbiden.PHP with the "Access Denied" message.

    I've tracked this down to the module
    catalog/admin/application_top.php in the lines (bottom of file):-

    //Admin begin
    if (basename($PHP_SELF) != FILENAME_LOGIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN) {
    tep_admin_check_login();
    }
    //Admin end

    If I comment out the tep_admin_check_login();, the error does not occur, but I loose the Admin Login requirement!

    I also get the same message when I click the "details" link in the order page.

    I tried setting the attribs for all files in the new modules/payment/paypal to 777 but this did not work.

    Anyone have any ideas?

    Thanks (again) in advance
    Derek

  2. #2
    Lurker
    Join Date
    Mar 2005
    Posts
    2
    Rep Power
    0


    Default RE: PayPal IPN Test Panel Access Denied

    I've got the same problem. Get an answer yet, Derek?

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    30
    Rep Power
    0


    Default RE: PayPal IPN Test Panel Access Denied

    Sorry,
    Not yet asteeley

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    30
    Rep Power
    0


    Default RE: PayPal IPN Test Panel Access Denied

    OK I think I have it.
    But someone with more experience may like to comment too!
    First, check this line is in "catalog/admin/includes/filenames.php"
    define('FILENAME_PAYPAL', 'paypal.php');

    Then in "catalog/admin/includes/functions/general.php"
    Find the line
    function tep_admin_check_login()
    Just below this, find the line
    if ($filename != FILENAME_DEFAULT && $filename != FILENAME_FORBIDEN && $filename != FILENAME_LOGOFF && $filename != FILENAME_ADMIN_ACCOUNT && $filename != FILENAME_POPUP_IMAGE && $filename != 'packingslip.php' && $filename != 'invoice.php' ) {

    (It's line 22 in my version)

    At the end insert

    && $filename != FILENAME_PAYPAL

    just after 'invoice.php' and before ")"

    This seems to work OK for me!
    Derek

  5. #5
    Lurker
    Join Date
    Mar 2005
    Posts
    2
    Rep Power
    0


    Default RE: PayPal IPN Test Panel Access Denied

    You're the man

Similar Threads

  1. RC3 Install - Access denied for user: 'nobody@localhost
    By pkirbyau in forum osCmax v2 Installation issues
    Replies: 14
    Last Post: 02-28-2007, 09:15 AM
  2. Froogle Exporter Access Denied message
    By rolotech in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-10-2006, 02:09 AM
  3. Admin Access Denied
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-08-2006, 03:07 PM
  4. access denied when I´m gonna install
    By nallekramen in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-08-2004, 09:17 AM
  5. can access admin panel but cannot access catalog
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 10-14-2003, 06:28 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
  •