veda-consulting / uk.co.vedaconsulting.payment.ukdirectdebit

Core UK Online Direct Debit Extension
2 stars 8 forks source link

Disabling extension breaks Civi site #25

Open madurak opened 9 years ago

madurak commented 9 years ago

Hi,

I had first installed the Direct debit extension and then Smart debit extension, then configured payment processor settings and tried to do a test payment, but get the following error:

Fatal error: Call to undefined method CRM_Core_Payment_Form::setPaymentFieldsByProcessor() in /var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/CRM/Event/Form/Registration.php on line 388

After this i uninstalled Smart debit (after which error was still there) and Direct debit, this resulted in my Civicrm site going down entirely showing the following error:

Fatal error: require_once(): Failed opening required 'UK_Direct_Debit/Form/Main.php' (include_path='.:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/packages:.:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/packages:.:/usr/share/php:/usr/share/pear') in /var/www/madura.ccuptest.co.uk/httpdocs/sites/default/files/civicrm/custom/uk.co.vedaconsulting.payment.smartdebitdd/smart_debit_dd.php on line 3

Can you please look into this.

Thank you!

Kind Regards, Madu

veda-consulting commented 9 years ago

Please confirm version of CiviCRM and CMS being used.

Thanks

Parvez Saleh Veda Consulting Limited t : +44 (0) 33 3011 8874 m : +44 (0) 77 4216 3491 skype : pasaleh

On 9 Jun 2015, at 17:43, madurak notifications@github.com wrote:

Hi,

I had first installed the Direct debit extension and then Smart debit extension, then configured payment processor settings and tried to do a test payment, but get the following error:

Fatal error: Call to undefined method CRM_Core_Payment_Form::setPaymentFieldsByProcessor() in /var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/CRM/Event/Form/Registration.php on line 388

After this i uninstalled Smart debit (after which error was still there) and Direct debit, this resulted in my Civicrm site going down entirely showing the following error:

Fatal error: require_once(): Failed opening required 'UK_Direct_Debit/Form/Main.php' (include_path='.:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/packages:.:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm:/var/www/madura.ccuptest.co.uk/httpdocs/sites/all/modules/civicrm/packages:.:/usr/share/php:/usr/share/pear') in /var/www/madura.ccuptest.co.uk/httpdocs/sites/default/files/civicrm/custom/uk.co.vedaconsulting.payment.smartdebitdd/smart_debit_dd.php on line 3

Can you please look into this.

Thank you!

Kind Regards, Madu

— Reply to this email directly or view it on GitHub https://github.com/veda-consulting/uk.co.vedaconsulting.payment.ukdirectdebit/issues/25.

madurak commented 9 years ago

Hi,

CiviCRM - 4.6.2 Drupal - 7.36

-Madu

HeatherO commented 8 years ago

I'm getting the same error after trying to upgrade my site. I disabled the extension before hand, and now can't access anything apart from CiviCRM home. Was there any solution to this error?

bhahumanists commented 8 years ago

For us, this error happened because the payment processor was still enabled. But disabling it in Civi doesn't do the trick, as the 'is_test' payment processor didn't get disabled at the same time. I had to manually set is_active to 0 on both of these in the civicrm_payment_processor table.

mattwire commented 7 years ago

See core issue: https://issues.civicrm.org/jira/browse/CRM-19900