osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-13-2005, 11:18 AM
Member
 
Join Date: Jan 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DerekJ
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-17-2005, 07:31 AM
Lurker
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
asteeley
Default RE: PayPal IPN Test Panel Access Denied

I've got the same problem. Get an answer yet, Derek?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-18-2005, 01:08 AM
Member
 
Join Date: Jan 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DerekJ
Default RE: PayPal IPN Test Panel Access Denied

Sorry,
Not yet asteeley
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-18-2005, 09:23 AM
Member
 
Join Date: Jan 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DerekJ
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-18-2005, 09:56 AM
Lurker
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
asteeley
Default RE: PayPal IPN Test Panel Access Denied

You're the man
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax