Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Database failure. Please refer to sugarcrm.log for details.

  1. #1
    libramassimo is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    48

    Default Database failure. Please refer to sugarcrm.log for details.

    Hey guys. I created a new module and then i added in "icon" i think it was called. Now when i try and save it comes up with this error:

    Database failure. Please refer to sugarcrm.log for details.

    What must one do? Please help.

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    You should have a look into sugarcrm.log. This is a text file. You can find it in the Sugar root directory.

    As an alternative you can download it via admin->"Diagnostic Tool" if you don't have access to that file. Deselect all check boxes except "SugarCRM Log File" and click on "Execute Diagnostic" then.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    libramassimo is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    48

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    this is what it says ? Not sure what to do to try and resolve the problem ?
    Attached Files Attached Files
    Last edited by libramassimo; 2011-09-12 at 09:37 AM.

  4. #4
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    At what date+time did you have the problem? I need this information as exact as possible to see which error messages are coming from that problem.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  5. #5
    libramassimo is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    48

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    date 2011/09/12 and time i would have to say close to around 11:20am. my time . (currently 11.52 now)

  6. #6
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    One message that I see multiple times in the files is this one:
    09/12/11 12:18:40 [5932][1][FATAL] MySQL error 1054: Unknown column 'object_image' in 'order clause'
    Do you know that field "object_image"? Sugar tries to access a data base field with that name which does not exist.

    This message I found only once. I don't know for sure but I think this is not relevant for that case:
    09/12/11 12:15:24 [5932][1][FATAL] Error fetching relationship from cache products_accounts
    One message that comes 1000 times, but without relevance for that actual problem:
    09/12/11 12:24:53 [5932][-none-][FATAL] Configuration variable date.timezone is not set, guessed timezone Europe/Helsinki. Please set date.timezone="Europe/Helsinki" in php.ini!
    Here you should do the configuration in php.ini as described in the message to get rid of those messages in future.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  7. #7
    libramassimo is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    48

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    yes, im sure this is the problem: Unknown column 'object_image' in 'order clause' cause i thought u had to insert an image for someone to open it and read it.

    How do i access php.ini to change it? Thanks yet again for all your help! Without your help i dont think i would have managed to do much!! Once again THANK YOU!

  8. #8
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    php.ini is a configuration file of your PHP installation. You should find it in the root directory of the PHP installation.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  9. #9
    libramassimo is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    48

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    Ok thanks for that! I know this is going off the topic but i would just like to ask you. i have created a module called buying history and then under accounts sub panel and they fill out the form and save it and then it saves it there. But i cant open it what must i create in order to open up the form that was filled in so that i can read it? For example in the accounts sub panel there is calls. Fill out the form etc. and save and then to view it u click on the phone icon.

  10. #10
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Database failure. Please refer to sugarcrm.log for details.

    Normally there is a field called "name" in every module (you can label it different off course). If this field is shown in ListView it is shown as a link which opens the DetailView. So I think you should check your ListView settings.
    (If this is not sufficient I'd suggest to open a new thread for this problem and discuss it there.)
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 2012-05-07, 09:40 PM
  2. Database failure. Please refer to sugarcrm.log for details.
    By roscopro in forum Installation and Upgrade Help
    Replies: 14
    Last Post: 2011-09-16, 04:54 PM
  3. Replies: 1
    Last Post: 2011-04-06, 05:29 PM
  4. Upgrade Failure - 4.5.1e files can only be used with a 4.5.1e database
    By mgreis in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2007-07-19, 09:24 PM
  5. Importing Web form details into SugarCRM Database
    By honghao in forum Developer Help
    Replies: 4
    Last Post: 2006-05-16, 07:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •