Active
Project:
Commerce Payflow Pro
Version:
7.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2013 at 17:31 UTC
Updated:
25 Oct 2013 at 21:35 UTC
I tried to turn on this module and got this error. Even after reloading the page, the module was not enabled.
Fatal error: Cannot redeclare commerce_payflow_pro_server_url() (previously declared in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/profiles/commerce_kickstart/modules/contrib/commerce_paypal/modules/payflow/commerce_payflow.module:1344) in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/sites/all/modules/commerce_payflow_pro/commerce_payflow_pro.module on line 427
Comments
Comment #1
ericshell commentedUpon my third attempt of enabling it, it did not give me an error message but it seems like it processed. The configuration for Payflow Pro does not show up in admin/commerce/config/payment-methods
I went back to disable the module and it said that it actually wasn't enabled. I did not receive a confirmation message, after enabling it. I just get sent to a product node. Uninstalling, reinstalling and enabling it again did not solve the issue. I will continue troubleshooting to see if I can provide more helpful details.
Comment #2
ericshell commentedI disabled all of the custom modules we have created and that still did not allow me to turn on the module.
Comment #3
markie commentedI am wondering if it's not having issues with the commerce_payflow module.
Comment #4
ericshell commentedI tried enabling it again just now and got the same error. PayPal Paylink is enabled but not turned on in the payment methods, that wouldn't cause an issue would it?
Here is the error message I received again:
Fatal error: Cannot redeclare commerce_payflow_pro_server_url() (previously declared in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/profiles/commerce_kickstart/modules/contrib/commerce_paypal/modules/payflow/commerce_payflow.module:1344) in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/sites/all/modules/commerce_payflow_pro/commerce_payflow_pro.module on line 427
Comment #5
ericshell commented@markie I am working off of Commerce Kickstart 2.0. I don't know if that may be part of the issue, but the commerce_payflow module has been untouched through the development of this site. I am not quite sure what my next step to figure this out is at this point.
Comment #6
ericshell commentedANSWER: PayPal Payflow causes the error. That needs to be disabled before you can enable this module.