Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Try this, clear caches and let me know exactly which page you can't access
//make our own filter format and ensure it is localizable
$format = array(
'format' => MCAPIFORM_STRING_FORMAT,
'name' => t('Payment form'),
'weight' => 20,
'status' => TRUE,
'filters' => array(//use only core filters
'filter_autop' => array()
)
);
filter_format_save((object)$format);
I cleared caches and I can't access to 1st and 3rd Transaction forms.
I unisnstalled the latest beta version, I cleared all the tables.... and then I installed this new version.
It happened because some traces from the old installation were interfering.
At this point, I would like to know how to clear all the tables related with mcapi, because when I proceed to uninstall the module and I delete the field "worth", I can't uncheck the main module.
I need to clear all the tables to create a brand new installation :)
Comments
Comment #1
matslats CreditAttribution: matslats commentedTry this, clear caches and let me know exactly which page you can't access
//make our own filter format and ensure it is localizable
$format = array(
'format' => MCAPIFORM_STRING_FORMAT,
'name' => t('Payment form'),
'weight' => 20,
'status' => TRUE,
'filters' => array(//use only core filters
'filter_autop' => array()
)
);
filter_format_save((object)$format);
Comment #2
edufol CreditAttribution: edufol commentedHi Matthew,
I cleared caches and I can't access to 1st and 3rd Transaction forms.
I unisnstalled the latest beta version, I cleared all the tables.... and then I installed this new version.
Where I have to put this code?
Thank you!
Comment #3
edufol CreditAttribution: edufol commentedSorry matt,
It happened because some traces from the old installation were interfering.
At this point, I would like to know how to clear all the tables related with mcapi, because when I proceed to uninstall the module and I delete the field "worth", I can't uncheck the main module.
I need to clear all the tables to create a brand new installation :)
Thank you matt!
Eduard
Comment #4
edufol CreditAttribution: edufol commentedOk, I cleared all the traces and I installed agaig the module.
I attach an image of the form. It's not possible to show the fields.
The mass payments and log transactions are working fine.
Do you know what happens?
Thanks!
Comment #5
matslats CreditAttribution: matslats commentedThis was fixed by creating a new text filter just for transaction forms.