Results 1 to 9 of 9

Thread: support request

  1. #1
    kenan is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default need help... plz

    os: Win adv server 2003
    sugarcrm ver: 4.2.1a (open source)
    Apache ver: 2.0

    dear support team,

    my contacts page has crashed, i get an error msg as shown beneath when i try to open it. i was trying to edit the list view in the studio, wanted to replace the "office number" with the "mobile" when i view the contact list and when i replaced it with a field from the sugarcrm fields it crashed. i tried to put things back but failed.

    Error retrieving Contact list: Query Failed:SELECT contacts.*, accounts.name as account_name, accounts.id as account_id, accounts.assigned_user_id account_id_owner, users.user_name as assigned_user_name , contacts_cstm.* FROM contacts LEFT JOIN users ON contacts.assigned_user_id=users.id LEFT JOIN accounts_contacts ON contacts.id=accounts_contacts.contact_id and accounts_contacts.deleted=0 LEFT JOIN accounts ON accounts_contacts.account_id=accounts.id LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c where contacts.deleted=0 AND (accounts.deleted is NULL or accounts.deleted=0) ORDER BY contacts.account_name asc LIMIT 0,20::MySQL error 1054: Unknown column 'contacts.account_name' in 'order clause'

    Is there a way out of this mess... like reseting it to defaults, even if it means i'll have to reenter the info... any help is wellcome.

    thnx
    Last edited by kenan; 2006-12-07 at 06:19 PM.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: support request

    If you look at the database on the MySQL server using some type of admin tool, does the account_name column still exist on the contacts table?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    kenan is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: support request

    everything i've been doing so far was from the admin account... no tools of any kind... as soon as i figure out which tools to use i'll post the details...

    thnx again... i'm sure there'll be and again and again

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: support request

    Sorry, I wasn't as clear as I should have been, I meant a database admin tool, like the one from www.webyog.com, which would allow you to directly inspect the MySQL server and its databases outside of the Sugar application.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    sagarladdha is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    70

    Default Re: support request

    Hello kenan,

    You can view the database using phpmyadmin tool which is automatically installed with sugarcrm. Just type http://localhost/phpmyadmin in your browser window and you will understand the steps to be followed.

    Regards,

    Sagar Laddha
    India

  6. #6
    kenan is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: support request

    well, i've tried to make sense from the phpmyadmin tool but since i have no clue what i am looking at i will post the links to the pics here and you can take a look...

    http://i72.photobucket.com/albums/i1...reenprint2.jpg

    http://i72.photobucket.com/albums/i1...creenprint.jpg

    http://i72.photobucket.com/albums/i1...intscreen1.jpg


  7. #7
    sagarladdha is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    70

    Default Re: support request

    Hello kenan,

    When you open the phpmyadmin tool from browser, then in the left subpanel, you see a drop down box named Databases. There you select "sugarcrm". Now you get the entire sugarcrm database with all the tables listed there. Here you click on the contacts table (in the list on left side). Now the structure of the contacts table will be displayed. Check if the account_name column is there in the contacts table.

    Regards,

    Sagar Laddha
    India

  8. #8
    kenan is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: support request

    i've done pretty much about everything you said...

    http://i72.photobucket.com/albums/i1...rintscreen.jpg

    that is a link to a printscreen from phpmyadmin screen and as far as i can see the module contact_account is not there... how do i put it back?

    i also get this:

    Error retrieving Contact list: Query Failed:SELECT contacts.*, accounts.name as account_name, accounts.id as account_id, accounts.assigned_user_id account_id_owner, users.user_name as assigned_user_name , contacts_cstm.* FROM contacts LEFT JOIN users ON contacts.assigned_user_id=users.id LEFT JOIN accounts_contacts ON contacts.id=accounts_contacts.contact_id and accounts_contacts.deleted=0 LEFT JOIN accounts ON accounts_contacts.account_id=accounts.id LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c where contacts.deleted=0 AND (accounts.deleted is NULL or accounts.deleted=0) ORDER BY contacts.account_name asc LIMIT 0,20::MySQL error 1054: Unknown column 'contacts.account_name' in 'order clause'

    every time i try to open my contact page. i gather the sql database is screwed somehow... can i put a fresh one into place or what?

    and again... hehehe... thank you for all your help

  9. #9
    kenan is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: support request

    latest update on the problem, the page, the whole contact page has crashed... on some PC's (mine included) but on others it works fine, except for the fact that it doesn't display the account field and i can't find that field anywhere to put it back... sucks...

Thread Information

Users Browsing this Thread

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

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
  •