PayPal IPN stopped working, 58 memberships must be manually processed now

Amazon - April 30, 2008 - 18:17
Project:Drupal.org infrastructure
Component:association.drupal.org
Category:bug report
Priority:minor
Assigned:Narayan Newton
Status:active
Description

Looking at the backlog of memberships contributions in CiviCRM, it appears that the last automatically completed membership was done March 27th, 2008. The contributions after this date only show completed if I manually completed them.

http://association.drupal.org/civicrm/contribute/search to search for past contributions and you'll see the last contribution is: http://association.drupal.org/civicrm/contact/view/contribution?reset=1&...

There is a IPN log written to by CiviCRM that should aid in debugging. It's located here: http://association.drupal.org/sites/association.drupal.org/modules/civic...

and currently gives this error:
Fatal error: Call to undefined function watchdog() in /var/www/association.drupal.org/htdocs/sites/association.drupal.org/civicrm.settings.php on line 170

Cheers,
Kieran

#1

Narayan Newton - April 30, 2008 - 20:50
Assigned to:Anonymous» Narayan Newton

Thanks for reporting this. Not sure how that watchdog entry got in there, certainly doesn't belong there. I removed it and ipn is now reporting no errors.

#2

Amazon - April 30, 2008 - 21:24

Successful membership purchase: http://association.drupal.org/civicrm/contact/view/contribution?reset=1&...

Thanks Michelle!

Kieran

#3

Amazon - April 30, 2008 - 21:40

http://association.drupal.org/sites/association.drupal.org/modules/civic... this is now giving a blank page. Is that the right location?

Do you know where the IPN log is?

#4

Michelle - April 30, 2008 - 22:23

Heh, your Planet post reminded me that I hadn't done that, yet. It was long overdue.

BTW, I use the same email for everything. Easier that way. :)

Michelle

#5

Amazon - May 1, 2008 - 00:28

The CiviCRM log file is:

/var/www/association.drupal.org/htdocs/files/civicrm/upload/CiviCRM.log

We should see if there are errors.

Kieran

#6

Narayan Newton - May 1, 2008 - 19:10

The log shows a mix of completed transactions and:

"Apr 30 21:43:32 [info] PayPalIPN path not available
Apr 30 21:45:51 [info] PayPalIPN path not available" these.

I was assuming the ipn page wasn't supposed to show much of anything and was just an interface into the db. What is it supposed to look like?

#7

Amazon - May 1, 2008 - 19:32

I think you are right, the page isn't supposed to show anything. But we need to monitor the log as I am not getting the volunteers I need to do the manual processing.

Kieran

#8

David Strauss - May 2, 2008 - 21:49

civicrm.settings.php should not contain a call to watchdog(). CiviCRM doesn't load Drupal core when it handles PayPal IPN, but it does load civicrm.settings.php. That's why the error only occurs when it's handling IPN.

"I think you are right, the page isn't supposed to show anything."

That is correct.

#9

David Strauss - May 2, 2008 - 21:52

This code may clarify the current errors:
http://svn.civicrm.org/civicrm/trunk/extern/ipn.php

"PayPalIPN path not available" has been changed to "Could not get module name from request url" in more recent releases.

#10

Amazon - May 4, 2008 - 20:38
Status:active» fixed

This appears to be fixed. We might want to have a check to ensure this doesn't break in the future. It was broken for 40 days and we consumed a lot of my time, and the time of several dozen people who were donating to the Drupal association.

#11

Narayan Newton - May 4, 2008 - 22:16

@David: Thanks, I was figuring that was the cause of the error (me going to the page without being sent there by a module)

#12

Narayan Newton - May 5, 2008 - 18:05
Priority:normal» minor
Status:fixed» active

I'm going to re-open this. I need to remember to write up a way to monitor this.

 
 

Drupal is a registered trademark of Dries Buytaert.