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

Comments

nnewton’s picture

Assigned: Unassigned » nnewton

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.

Amazon’s picture

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

Thanks Michelle!

Kieran

Amazon’s picture

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?

michelle’s picture

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

Amazon’s picture

The CiviCRM log file is:

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

We should see if there are errors.

Kieran

nnewton’s picture

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?

Amazon’s picture

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

david strauss’s picture

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.

david strauss’s picture

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.

Amazon’s picture

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.

nnewton’s picture

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

nnewton’s picture

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.

Amazon’s picture

Also, could we ensure that this sites/all/modules/civicrm/bin/UpdateMembershipRecord.php is being called once a day to ensure that CiviCRM renewals are being sent.

savvy7345’s picture

I'm not able to complete membership transaction through Credit Card Option of Paypal for joining as an Organisation member. It gives the same error even if I'm using multiple credit cards but unable to complete the transaction. I'm wondering if there is any problem at Paypal?? can you please help?

Amazon’s picture

Savvy7345, I'll work with you to get your membership completed.

savvy7345’s picture

Can I have your e-mail id or contact no??

Amazon’s picture

Status: Active » Fixed

Marking this issue closed and filing a new issue for the crontab to hit the membership URL.

Kieran

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Project: Drupal.org infrastructure » Drupal Association Project(s)
Component: association.drupal.org » Other