Open artfulrobot opened 4 years ago
CiviCRM 5.40, Drupal 7.82
I get a DB syntax error and this is what is in the Drupal log:
$Fatal Error Details = Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => exceptionHandler ) [code] => -2 [message] => DB Error: syntax error [mode] => 16 [debug_info] => ALTER TABLE
civicrm_dev.log_civicrm_value_prospect_financial_information ADD [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] [type] => DB_Error [user_info] => ALTER TABLE
civicrm_dev.log_civicrm_value_prospect_financial_information ADD [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="ALTER TABLE
civicrm_dev.log_civicrm_value_prospect_financial_information ADD [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]"] )
After this, subsequent attempts to install cause an issue as the Custom Group 'Financial Information' has been created along with several fields. Manually running the uninstall via CV does not remove these (even though it is not of course intalled).
By the way, here's my newer solution to this problem https://docs.civicrm.org/pelf/en/latest/
That's really useful - thank you. Not quite sure how I had not come across this!
@artfulrobot Thanks for reporting. We will look into this shortly, and fix the issue in the upcoming release.
@chumkui Thanks for reporting, we will look into it.
It's not currently very clear in the read-me but currently we pin all Compucorp extensions to a specific (secure) version of CiviCRM for better management of the extension compatibility with CiviCRM core (and the other dependant versions).
Currently that is CiviCRM v5.35 and as such there might be some issues with newer or older versions.
We are working to update the repository readme soon with much clearer details on this.
If you have any issues with the v5.35 then please do let us know but the extension should be stable and is supported for that version.
One of these needs fixing: