Results 1 to 5 of 5

Thread: Mysql error when editing contacts

  1. #1
    louielc is offline Junior Member
    Join Date
    Sep 2006
    Posts
    2

    Default Mysql error when editing contacts

    Hello everyone,
    im new to sugarcrm and trying to set it up for the first time.

    I am running freebsd 6.0 with apache 2.1, php4.4 and mysql 4.1

    I install sugar 4.2.1b and have got it running with the help of these forums--THANKS!!!

    however when i go to edit contacts i already have created i get this error

    Query Failed:Update users set user_name='lcroce', user_password='lcl.JbUq90tjw', user_hash='e9af58f039f97a5e87af947083694265', first_name='Louie', last_name='Croce', reports_to_id=null, is_admin='on', receive_notifications='1', description=null, date_modified='2006-09-07 21:51:05', modified_user_id='1', created_by='1', title=null, department=null, phone_home=null, phone_mobile=null, phone_work=null, phone_other=null, phone_fax=null, email1='lcroce@euscorp.com', email2=null, status='Active', address_street=null, address_city=null, address_state=null, address_country=null, address_postalcode=null, deleted='0', portal_only='0', is_ldap_user=null, asterisk_extension='1186', employee_status='Active', messenger_id=null, messenger_type='MSN', is_group='0' WHERE ID = '70bf8b7e-b37c-1723-c39f-4500928effc3'::MySQL error 1054: Unknown column 'is_ldap_user' in 'field list'

    this seemed to have happened after I installed the asterisk plugin.
    I searched the forums and have already verified that my config.php file says db_type='mysql',
    which seemed to fix everyone elses problems.

    Any other ideas?

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Mysql error when editing contacts

    You may have to run the admin->repair->database.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    louielc is offline Junior Member
    Join Date
    Sep 2006
    Posts
    2

    Default Re: Mysql error when editing contacts

    Thanks KBIll,

    sometimes its the obvious thats overlooked. I was trying to repair the database and it was showing all my errors--however i wasnt running the execute command to commit them.

    Worked like a charm when i figured it out.

  4. #4
    apecontact is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Default Re: Mysql error when editing contacts

    Quote Originally Posted by kbrill
    You may have to run the admin->repair->database.
    Hi,

    I ran the Repair Database option and it showed a page full of stuff and also executed the SQL. Now I have a huge problem. The Admin user rights have been reset and even the admin login does not have any access to the Admin module!! Help me!!

    Thanks.

    APE.

  5. #5
    apecontact is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Default Re: Mysql error when editing contacts

    ah wait.. i managed to fix that.. went into the database itself and set is admin = 1! Thanks though.. the other problems are now fixed.

    Cheers.

    APE.

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
  •