Results 1 to 4 of 4

Thread: Account Records Not Displaying

  1. #1
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Account Records Not Displaying

    On Sugar 6.0.3, SQL 2005, Windows 2003/IIS, I am having an issue where all of my Account records are not displaying. When I look at them, I see the first couple I entered into the system before making any customizations to the Accounts module. However, if I look in the Accounts table in the database, the information is indeed there.

    Additionally, Sugar is acting as though it is stuck in an upgrade loop. When I go to the Upgrade Wizard, it is on the Commit Upgrade step. When I try to finish committing it, I get:

    Code:
    SQL Error : [Microsoft][SQL Server Native Client 10.0][SQL Server]
    The index 'idx_category_name' is dependent on column 'name'.. 
    [Microsoft][SQL Server Native Client 10.0][SQL Server]ALTER TABLE ALTER COLUMN name failed because one or more objects access this column..
    We moved Sugar from one server to another and had some PHP/MSSQL issues (needed SQL 2008 native client), which we resolved.

    A Quick Repair/Rebuild generates a SQL script to sync the database to VARDEFS, but the script won't run - same error as above. It seems the database schema and code are out of sync, like the code is at 6.0.3 but the DB is at 6.0GA or something.

    I've attached the VARDEFS script that repair generated, along with a full diagnostics report. Any help would be greatly, greatly appreciated! I'm totally dead in the water here...

    Justin
    Attached Files Attached Files

  2. #2
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Re: Account Records Not Displaying

    A couple other things:

    • When I first logged in, the Account records I could see were ones I originally created myself when I built the system.
    • I went into Admin and did a Reset User Preferences, and couldn't see ANY Account records any longer.
    • I created a test Account record, and immediately was told that I did not have access to view the record I just created. I verified that I have ALL access on all modules. I had a second user test, same results.

  3. #3
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Re: Account Records Not Displaying

    Bump. I'm sorry to bump this, but I'm absolutely stumped and need help. At this point, I'd even do pay per incident support if it was an option...

    We've looked at what Sugar is doing using SQL Profiler. It's requesting (and receiving) the top 21 account records, but not displaying them.

  4. #4
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Account Records Not Displaying

    Hello,

    Try echoing your list view query, include/ListView/ListViewData.php, search for $main_query in function getListViewData and try executing that query in database.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sub- Panels Not Displaying Related Records
    By sanvista in forum Help
    Replies: 2
    Last Post: 2009-04-13, 04:20 PM
  2. it is not displaying account name in detail/edit view
    By user1000 in forum Developer Help
    Replies: 1
    Last Post: 2008-05-19, 06:12 AM
  3. subpanel is displaying all records
    By dbeckley in forum Developer Help
    Replies: 6
    Last Post: 2008-04-01, 04:41 PM
  4. Replies: 3
    Last Post: 2007-10-31, 07:01 PM
  5. Replies: 11
    Last Post: 2006-01-18, 05:44 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
  •