2

Drupal 6 / Civi 5.9 / Aegir

I deleted my log_civicrm_... tables and now am getting a "DB Error: no such table" across a range of CiviCRM actions including adding contacts, running cron etc.

Logging is switched on and I cannot disable it via Administer > System Settings >Misc (...) > Logging).

Is there another way? Is there a table or a file I can edit or a command I can run to to disable logging?

3

Try disabling the logging functionality using API Explorer. Navigate from the menu link - Support -> Developer -> API Explorer.

enter image description here

Or using Drush(if drupal) -

drush cvapi Setting.create logging=0 
  • Thanks so much Jitendra. The API Explorer way worked. After disabling via API I enabled via the UI which recreated the log files and solved my problem. – Davy Ivins Jan 11 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.