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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| I've got the same problem. Get an answer yet, Derek? |
|
#3
| |||
| |||
| Sorry, Not yet asteeley |
|
#4
| |||
| |||
| 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
| |||
| |||
| You're the man |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RC3 Install - Access denied for user: 'nobody@localhost | pkirbyau | osCMax v2 Installation issues | 14 | 02-28-2007 09:15 AM |
| Froogle Exporter Access Denied message | rolotech | osCMax v2 Customization/Mods | 0 | 11-10-2006 02:09 AM |
| Admin Access Denied | auntie22 | osCMax v1.7 Discussion | 1 | 02-08-2006 03:07 PM |
| access denied when I´m gonna install | nallekramen | osCommerce 2.2 Installation Help | 1 | 09-08-2004 08:17 AM |
| can access admin panel but cannot access catalog | Anonymous | osCMax v1.7 Discussion | 1 | 10-14-2003 05:28 PM |