Results 1 to 3 of 3

Thread: sugar5.0b , all account records disappear!

  1. #1
    kalmencrm is offline Member
    Join Date
    Mar 2008
    Posts
    5

    Default sugar5.0b , all account records disappear!

    Hi ,


    I am using sugarcrm 5.0b , and i have 2 users , one is admin and one is demo1

    when i login using admin and view my account list , there are around 600 ++ records and when
    after I click the sorting column , at the account list , 'Account Name" ... then ALL RECORDS disappear ,
    i try to use basic search , advance search no luck ... don't know what happened to all my
    records , i chk using some mysql tool and see whether the table accounrts records is ok , all records
    is there ... but no matter what I click , search at account list , it just won't come out ...

    just not too sure whether any sessions and any search is cached and cause problems...

    BUT when i use another user to login , the demo1 , the account list still can see the records...
    but i dare not try to click the sorting...

    is anyone of you know what went wrong , pls help , thanks.

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: sugar5.0b , all account records disappear!

    Set your log level in log4php.properties to debug and checke sugarcrm.log for any errors.

    Code:
    log4php.appender.A2=LoggerAppenderRollingFile
    log4php.appender.A2.MaxFileSize=10MB
    log4php.appender.A2.MaxBackupIndex=5
    log4php.appender.A2.layout=LoggerLayoutTTCC
    log4php.appender.A2.layout.ContextPrinting="true"
    log4php.appender.A2.layout.DateFormat="%c"
    log4php.appender.A2.File=./sugarcrm.log
    
    log4php.rootLogger=fatal, A2
    //log4php.rootLogger=error, A2
    //log4php.rootLogger=warn, A2
    //log4php.rootLogger=info, A2
    log4php.rootLogger=debug, A2

  3. #3
    kalmencrm is offline Member
    Join Date
    Mar 2008
    Posts
    5

    Default Re: sugar5.0b , all account records disappear!

    Hi , look into the log file ...found this

    SELECT contacts.id , CONCAT(IFNULL(contacts.first_name,''),' ',IFNULL(contacts.last_name,'')) as name, contacts.first_name , contacts.last_name ,
    contacts.salutation , accounts.name account_name, jtl0.account_id account_id, contacts.title , contacts.phone_work
    , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod,
    contacts.assigned_user_id

    FROM contacts
    LEFT JOIN accounts_contacts jtl0 ON contacts.id=jtl0.contact_id AND jtl0.deleted=0
    LEFT JOIN accounts accounts ON accounts.id=jtl0.account_id AND accounts.deleted=0
    AND accounts.deleted=0 LEFT JOIN users jt1 ON jt1.id= contacts.assigned_user_id
    AND jt1.deleted=0
    AND jt1.deleted=0
    where contacts.deleted=0
    ORDER BY contacts.last_name ASC
    ORDER BY contacts.last_name ASC Start: 0 count: 21

    PLEASE CHECK ABOVE bold and underline , and seems that when i click sort column
    it form the sql ORDER BY contacts.last_name ASC TWICE and then expect to see limit 0,21 but
    see Start: 0 count: 21 , is this bug from sugarcrm ?

    Thanks.
    Last edited by kalmencrm; 2008-03-20 at 01:06 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 2010-10-22, 12:03 PM
  2. Records Problem in Account Subpanel
    By holyfire in forum Help
    Replies: 3
    Last Post: 2007-07-02, 06:33 AM
  3. Replies: 1
    Last Post: 2006-12-07, 09:20 PM
  4. Replies: 0
    Last Post: 2006-12-07, 09:10 PM
  5. represent multiple relationships between Account records
    By joealiferis in forum Developer Help
    Replies: 0
    Last Post: 2006-01-08, 05:23 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
  •