Kayako logo
Technical Chat From server configurations to local area networking - the technical discussion forum.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
johntk Offline
New Member
 
Posts: 3
Join Date: May 2004
Unhappy swchathits table doesn't exisit - 03-09-2008, 02:40 PM

We just upgraded to SupportSuite version 3.3, we were previously running version 3.1

Now whenever a new chat request comes in our clients see the following error:


"Invalid SQL: INSERT INTO `swchathits` (`staffid`, `dateline`, `fullname`, `email`, `chatobjectid`) VALUES ('3', '1220452769', 'john', 'john@utechsoft.com', '777'); (Table 'kayako_suite.swchathits' doesn't exist) "

The chat alert shows up but obviously no one ever answers because they only see the error.

Can anyone help?
Thanks!
John
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,354
Join Date: Jan 2006
Location: England, UK
03-09-2008, 02:43 PM

Did you run the upgrade script?


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
johntk Offline
New Member
 
Posts: 3
Join Date: May 2004
03-09-2008, 02:48 PM

After I uploaded the new version,
then I edited the config.php then using my web browser I went to http://mysupportsite/setup and selected upgrade from the menu.

is this the upgrade script? or did I miss something?

John
   
Reply With Quote
  (#4) Old
johntk Offline
New Member
 
Posts: 3
Join Date: May 2004
03-09-2008, 07:32 PM

I took a look at the code in setup directory, and I found the code that must get executed when you upgrade from 3.1 to 3.11. There I found the SQL syntax to create the missing table:

CREATE TABLE swchathits (chathitid INT UNSIGNED NOT NULL AUTO_INCREMENT, staffid INT UNSIGNED NOT NULL DEFAULT '0', chatobjectid INT UNSIGNED NOT NULL DEFAULT '0', dateline INT UNSIGNED NOT NULL DEFAULT '0', fullname VARCHAR(255) NOT NULL DEFAULT '', email VARCHAR(255) NOT NULL DEFAULT '', isaccepted SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1', PRIMARY KEY (chathitid), KEY chathitid (chatobjectid, staffid));

The chats started working after after I added the table. It looks like the upgrade script between 3.1 and 3.11 never got executed. Is there something else I should be doing?

John
   
Reply With Quote
  (#5) Old
ozgurerdogan Offline
Member
 
Posts: 36
Join Date: Oct 2006
06-01-2009, 12:53 PM

I have the same issue, any solution for that?


--------------------------------------------------------
   
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scalability nickg SupportSuite, eSupport and LiveResponse 15 24-08-2009 11:08 PM
How do I relate the tickets table to the customfields table? slarson Developers & Code 3 14-05-2007 05:11 PM
Error Creating Tables Danym SupportSuite, eSupport and LiveResponse 1 03-11-2006 10:22 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78