Hi Mat,
I get multiple errors when I try to test your module.
If I go to transact/1stparty and I make a transaction or if I click on admin/accounting/transactions I get this error:
Recoverable fatal error: Object of class stdClass could not be converted to string a DatabaseStatementBase->execute() (line 2137 of /home/ixl01068/public_html/mutualcredit/includes/database/database.inc).
When I visit, for example transact/1stparty I get this:
Debug:
array (
0 => 'info',
1 => 'perspective',
2 => 'help',
3 => 'architecture',
4 => '2ndperson',
5 => 'direction',
6 => 'worth',
7 => 'submission',
8 => 'mcapi_form_templates',
9 => 'step-1',
10 => 'step-2',
11 => 'buttons',
12 => 'templates',
)a mcapi_forms_form() (línia 127 de /home/ixl01068/public_html/mutualcredit/sites/all/modules/mutual_credit/forms/mcapi_forms.inc).
Then is impossible to uninstall the module properly. I've to delete mcapi tables manually in the database, then clear caches, etc.
I don't know if I have a bad drupal configuration... but all of my modules work perfectly. Can you help me? I'm really desperate because I would like to start my mutual credit system soon :(
Thanks for your time and attention,
Eduard
Comments
Comment #1
edufol commentedAlso I got this error, after the activation of all submodules:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ixl01068_ecoaltcongost.upo_mcapi_signatures' doesn't exist: SELECT s.* FROM {mcapi_signatures} s WHERE (xid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 3 ) a mcapi_get_signatories() (línia 216 de /home/ixl01068/public_html/mutualcredit/sites/all/modules/mutual_credit/pending/mcapi_pending.module).
Thanks
Comment #2
matslats commentedEduardo,
I've tested on my machine with the latest and there are no problems as you describe
There is a problem uninstalling the mcapi module, because the worth_field , even when deleted, leaves some trace and you can't uncheck the module in the modules page. Solution is to "DELETE FROM {field_config} WHERE module = 'mcapi'"
Regarding the second error, some context would help - it is very strange that a table mcapi_signatures installed by that module, mcapi_pending, should be absent. Its surely not because of your table prefixes because that query users the db API thus:
$query = db_select('mcapi_signatures', 's')->fields('s');
So I've committed just now please try again with DEV when it updates to Feb 4th
https://drupal.org/node/1142428
Comment #3
jcir commentedHi!
I had the second error, but with the DEV (mutual_credit 7.x-3.x-dev) version works properly.
thanks for the good work!
Comment #4
matslats commented