Results 1 to 3 of 3

Thread: MySQL Error

  1. #1
    john2010 is offline Member
    Join Date
    Jun 2008
    Posts
    8

    Default MySQL Error

    I created a custom module and when i attempt to add a record I get MySQL error 1064. I have searched the forums but none of the solutions posted pertain to a custom module.

    Here is the error:
    Query Failed:INSERT into stude_students set id='5a7b505a-5549-56c9-3466-487cbdb92581', date_entered='2008-07-15 15:10:07', date_modified='2008-07-15 15:10:07', modified_user_id='1', created_by='1', description=null, deleted='0', assigned_user_id='1', first_name='First', last_name='Last', do_not_call='0', phone_home=null, phone_mobile=null, phone_work=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, county='Southern Chautauqua', typeofschooling='In High School', birthdate=null, release='0', interning='0', jobshadow='0', businesstours='0', mockinterviews='0', sywep='0', apprenticeships='0', careerfairs='0', careermentoring='0', lifementoring='0', miscellaneousnotes=null::MySQL error 1064:

    I am using 1&1 hosting
    Sugar 5.0.0f
    PHP 5 and MySQL 5

    Thank you!

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

    Default Re: MySQL Error

    Take a look at your database and make sure that all the referenced columns exist in the stude_students 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
    john2010 is offline Member
    Join Date
    Jun 2008
    Posts
    8

    Default Re: MySQL Error

    That was it. The database was missing "release." I deleted the field in Fields and removed it from the layout and everything works.

    Thanks!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Subpanels Not displaying due to MySQL Error 1064
    By soreilly in forum Developer Help
    Replies: 1
    Last Post: 2007-07-10, 04:42 PM
  2. MySQL error 1054: Unknown column 'user' HELP!
    By tj@estreet.com in forum Help
    Replies: 2
    Last Post: 2007-06-27, 05:44 AM
  3. Replies: 0
    Last Post: 2006-09-19, 01:12 AM
  4. Replies: 1
    Last Post: 2006-05-12, 04:32 PM
  5. MySQL Client Error on install.php
    By kjh1138 in forum Help
    Replies: 3
    Last Post: 2005-07-10, 06:56 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
  •