Results 1 to 4 of 4

Thread: where database request is generated ?

  1. #1
    jejeman is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9

    Default where database request is generated ?

    Hi,
    I'm a beginner in sugar, and I read the developper zone documentation.
    I take a project done with SugarCRM.
    In fact it is a plugin to add sugar added to a profil between contact and company.
    I noticed a bug in a SQL query: when selecting multiple contacts and we want to make a "addToTargetList" was an error on the SQL query as the orderby clause is "ambigous".
    I wanted to fix this, but I can not find where build SQL queries ...
    I read all the doc develop, but it remains unclear.
    Can you help me ?
    I debug step by step with eclipse and i see the problem is in the $_SESSION variable, but i don't know where this variable is populate...
    thank you

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: where database request is generated ?

    What is the version of your SugarCRM instance?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: where database request is generated ?

    You could take a look in error web server log's error file.
    Normally that file shows the file name and line number where this error happens. Then this way you probably can track its root cause.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  4. #4
    jejeman is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9

    Default Re: where database request is generated ?

    I use SugarCRM 5.5.4.
    I have find where the error is expected !
    And a lot of request are generated in data/sugarbean.php
    Thanks !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-11-11, 03:03 PM
  2. generated id
    By user1000 in forum Developer Help
    Replies: 2
    Last Post: 2008-06-25, 08:37 AM
  3. Replies: 2
    Last Post: 2008-02-07, 01:12 PM
  4. self generated lead
    By jameshammond in forum Help
    Replies: 0
    Last Post: 2006-04-19, 06:55 AM
  5. how does an id being generated?
    By ahadisaar in forum Developer Help
    Replies: 1
    Last Post: 2005-01-05, 04:38 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
  •