Database failure. Error

Database failure. Please refer to suitecrm.log for details. while save lead records. Please tell how to fix that error.

Note: We don’t have access cpanel.

@Lakshmanan92

Welcome to the community!

Give some more details.

  • When do you see the message?
  • What version of SuiteCRM do you use?
  • Which configuration of your server?
  • When do you see the message? - While save leads after edit fields
  • What version of SuiteCRM do you use? - Version 7.11.13
    Sugar Version 6.5.25 (Build 344)
  • Which configuration of your server? - I think cloud

Hi,
If you don’t have cpanel, you have only one choice, follow these steps.

  1. create a module loader package for index.php , add these 2 lines in index.php at top

ini_set(‘display_errors’,1);
error_reporting(E_ALL);

  1. These 2 lines will expose errors directly on save action, note down error and fix it.

After fixing error , you can uninstall package installed in step1.


Grab Free Extensions from Outright Store : https://store.outrightcrm.com/free-extension/

@Lakshmanan92

For the start do: Admin->Repair->Quick Repair and Rebuild

When did you begin to get the message?

Yesderday I have installed module for mailchimp integration. Completed the setup but we didnt check any leads fields value update. Today we just create a new lead, and update a field value and then save. That time that error thrown

@Lakshmanan92
To do this twice in a row:

Please write if it don’t help.

Hi,

Thanks for the reply.

Please confirm if we will proceed that repair option, whether the existing data and workflows which were created already will affect/delete or not?

Example: We have some leads and custom workflows created by us.

Thanks for ur supprt ashish.

@Lakshmanan92

This operation is safe for data in systems.

Just done. But still that same error thrown. Please help

@p.konetskiy,

Any other solution to fix that issue?

@Lakshmanan92
OK
Look at the log-file.

  1. Open SuiteCRM in two different browser.
  2. In the first browser open create form for new Lead
  3. In the second browser open page Admin->System Settings->View Log (look at screenshot). Log is opened in new window/tab. Push button MARK POINT
  4. In the first browser push button SAVE for Lead
  5. In the log window/tab of second browser push button REFRESH FROM MARK
  6. You will see errors.