Results 1 to 2 of 2

Thread: Query Failed eroor after loading custome Module

  1. #1
    molson150 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    22

    Default Query Failed error after loading custom Module

    After I deploy a custom module from the module builder in Suger CE 5 I get an error message of:

    "Query Failed: AND users.id = 'a90514f3-b618-233a-db14-4768394ae67f'::MySQL error 1064:"

    And my Sugarcrm.log file contains:

    Thu Dec 20 16:19:08 2007,487 [28227] FATAL SugarCRM - Error fetching relationship from cache contacts_users
    Thu Dec 20 16:19:08 2007,489 [28227] FATAL SugarCRM - MySQL error 1064:

    I can only get to the admin menu when this happens and I can remove the module and it fixes the error.

    So I don't know what it takes to fix this and this is only on custom modules.

    PHP 5
    Fedora 8

    Thanks,
    Jeremy
    Last edited by molson150; 2007-12-20 at 10:43 PM.

  2. #2
    CKnoll is offline Junior Member
    Join Date
    Aug 2007
    Posts
    2

    Default Re: Query Failed eroor after loading custome Module

    There is a bug in the module you are loading. After the load the cache is reset and sugar rebuilds the relationships (table relationships in the DB). And there it seems that it hangs at your custom module and stops rebuilding all needed entries becaue the interpreter fails at a certain point. Try in the admin menue to repair -> rebuild relationships - how far does this take you? Does the rebuild finish?

    But most likely this will not help since this has caused your problem. The solution is to look into the coding for the custom module and see what causes the error.

    Just had the same issue with one of my own custom modules.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. Installproblems
    By bened1 in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-10-27, 02:50 PM
  3. Probleme beim Installationsschritt 7
    By bened1 in forum Deutsche
    Replies: 0
    Last Post: 2007-03-28, 08:47 PM
  4. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  5. failed to open stream
    By jrisman in forum Help
    Replies: 0
    Last Post: 2006-09-11, 03:07 AM

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
  •