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
Comment #1
nnewton commentedThanks 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.
Comment #2
Amazon commentedSuccessful membership purchase: http://association.drupal.org/civicrm/contact/view/contribution?reset=1&...
Thanks Michelle!
Kieran
Comment #3
Amazon commentedhttp://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?
Comment #4
michelleHeh, 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
Comment #5
Amazon commentedThe CiviCRM log file is:
/var/www/association.drupal.org/htdocs/files/civicrm/upload/CiviCRM.log
We should see if there are errors.
Kieran
Comment #6
nnewton commentedThe 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?
Comment #7
Amazon commentedI 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
Comment #8
david strausscivicrm.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.
Comment #9
david straussThis 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.
Comment #10
Amazon commentedThis 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.
Comment #11
nnewton commented@David: Thanks, I was figuring that was the cause of the error (me going to the page without being sent there by a module)
Comment #12
nnewton commentedI'm going to re-open this. I need to remember to write up a way to monitor this.
Comment #13
Amazon commentedAlso, 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.
Comment #14
savvy7345 commentedI'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?
Comment #15
Amazon commentedSavvy7345, I'll work with you to get your membership completed.
Comment #16
savvy7345 commentedCan I have your e-mail id or contact no??
Comment #17
Amazon commentedMarking this issue closed and filing a new issue for the crontab to hit the membership URL.
Kieran