Results 1 to 5 of 5

Thread: SHINE Live Help Install Errors

  1. #1
    Kalendrinn is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    200

    Default SHINE Live Help Install Errors

    I believe SHINE might be a dead project but I hope someone can help me out some.

    I had a parse error to begin with on line 2368 with the php commented html. I removed the php comments and commented out the html with html comment tags. That allowed me to get to the installer.

    On the second step of installing (after filling out the form and clicking 'Install') I get the following errors after the config output:

    Query went bad!
    1101: BLOB/TEXT column 'message' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'scratch_space' can't have a default value

    Query went bad!
    1146: Table 'sugarcrm.livehelp_config' doesn't exist

    Query went bad!
    1101: BLOB/TEXT column 'opening' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'message' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'question' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'message' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'transcript' can't have a default value

    Query went bad!
    1101: BLOB/TEXT column 'sessiondata' can't have a default value

    I looked and sure enough the tables that those fields refer to didn't get created cause the queries failed. I have a feeling I can get it to work if I can fix the queries. Is it new in 5.0+ that text fields can't have a default value? Are they now treated the same as BLOBs? Those errors make me worry that if I don't give it a default value that it will kill the app in a spot I'm not expecting. Any help is appreciated.

    My current setup:
    PHP 5.2.3
    MySQL 5.0.27-community-nt
    IIS 6
    Win2k3

    Thanks.

  2. #2
    Kalendrinn is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    200

    Default Re: SHINE Live Help Install Errors

    After looking some more and reading a little MySQL documentation, I decided to edit the setup.php. For those of you using MySQL 5.0+ I'm guessing you're gonna get an error with default values for TEXT and BLOB fields as they aren't allowed. So I edited all the text fields by doing a global replace on 'text NOT NULL default ''' and replaced them with just 'text NOT NULL'. After that I had to edit the $insert_query (line 281) to include those fields for livehelp_config that were text. They are: scratch_space, ignoreips, everythingelse. I gave them all ' ' as a default value. The install worked just fine after that. I have yet to see how the actual app works now, but I will keep you posted.

    Hope this helps someone.

  3. #3
    Join Date
    Feb 2007
    Location
    San Jose, CA
    Posts
    1,169

    Default Re: SHINE Live Help Install Errors

    Thanks for the update and the hints!
    Susie Williams

  4. #4
    Kalendrinn is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    200

    Default Re: SHINE Live Help Install Errors

    Heh, you're welcome. Though I still can't login yet. I think the admin from setup wasn't inserted but it didn't throw an error. Will get back to you on that...busy trying to do some other stuff at the moment.

  5. #5
    Kalendrinn is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    200

    Default Re: SHINE Live Help Install Errors

    Muahaha, ok. So I needed to go one step further and make sure to hit the other query's that were run. Let me see if I can note them all here. Once you've edited the setup.php to remove all the default values from the TEXT fields, you have to get all the query's that are run as part of the install...this is assuming a new install, not an upgrade.

    $insert_query (line 281) as stated before needs the following fields added and default data added to the query:

    scratch_space, ignoreips, everythingelse => I used a space (' ') as a default value.

    $insert_query2 (line 290):

    sessiondata => again used a space for default value

    $insert_query3 (line 301):

    leavetxt, everythingelse => again used a space for default value

    The last query, $insert_query4 is fine as the table it refers to has no text fields.

    This has gotten me to where I can login to SHINE Live Help. I have not yet tried to create anything in it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Integration with Shine Live Help - HELP PLEASE
    By kaerez in forum Installation and Upgrade Help
    Replies: 18
    Last Post: 2008-05-09, 06:37 AM
  2. Smarty errors from Bitrock fresh install
    By gremjs03 in forum Help
    Replies: 1
    Last Post: 2007-01-30, 06:10 PM
  3. Shine Live Help 1.0.0a - New Version
    By jasonfreed in forum Downloads
    Replies: 0
    Last Post: 2006-12-29, 05:58 PM
  4. Shine Live Help 1.0.0
    By jasonfreed in forum Developer Help
    Replies: 0
    Last Post: 2006-12-22, 04:46 AM
  5. Replies: 11
    Last Post: 2006-12-20, 09:46 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
  •