Kayako logo
Kayako Mobile Discussion, troubleshooting and feedback for Kayako Mobile for Microsoft Windows Mobile enabled devices.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
Richelo Killian Offline
New Member
 
Posts: 21
Join Date: Jul 2007
Database problem - 05-07-2007, 06:11 PM

Hi,

I just installed on my WM PDA. Installs fine, etc.

This is not a paid version yet, I am just trying it out. In settings, set my host, and un and pw.

Hit sync, wait for the continue trying button, it logs in, says its downloading, and then comes up with this error: Failed to query database Error: no such table: forward

Any ideas?

Cheers

Richelo
   
Reply With Quote
  (#2) Old
Richelo Killian Offline
New Member
 
Posts: 21
Join Date: Jul 2007
05-07-2007, 06:14 PM

I just tried it with demo.kayako.com, and same thing.

Richelo
   
Reply With Quote
  (#3) Old
Ryan Lederman Offline
Chief Operating Officer
 
Ryan Lederman's Avatar
 
Posts: 850
Join Date: May 2005
Location: Boise, Idaho
05-07-2007, 09:20 PM

Hi,

Please try deleting the .DB file in the KayakoMobile directory manually, then restarting KayakoMobile. When it prompts to create the database, choose Yes.

If this doesn't fix the problem, the new build we are releasing soon will contain better error reporting for database creation routines.


Ryan Lederman (ryan.lederman ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#4) Old
Richelo Killian Offline
New Member
 
Posts: 21
Join Date: Jul 2007
05-07-2007, 09:33 PM

Hi Ryan,

Yes, that did the trick thanks!

Cheers

Richelo
   
Reply With Quote
  (#5) Old
craigbrass Offline
Senior Member
 
Posts: 5,394
Join Date: Jun 2005
Location: Cumbria, UK
06-07-2007, 09:24 AM

Would it not be another idea to have like a "Recreate Database" button inside the settings area or something like that?


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#6) Old
Ryan Lederman Offline
Chief Operating Officer
 
Ryan Lederman's Avatar
 
Posts: 850
Join Date: May 2005
Location: Boise, Idaho
06-07-2007, 10:17 PM

Well, normally this should never happen. It occurs because sqlite is failing to create one of the tables for an unknown reason, and then further SQL queries fail because the table is missing.

As soon as I figure out why this is happening, it should be a non-issue.


Ryan Lederman (ryan.lederman ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#7) Old
craigbrass Offline
Senior Member
 
Posts: 5,394
Join Date: Jun 2005
Location: Cumbria, UK
06-07-2007, 10:22 PM

I suppose it would be handy to remove the database and start again to make a fresh start though. Having the option there wouldn't take much implementing and could come in handy.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#8) Old
Ryan Lederman Offline
Chief Operating Officer
 
Ryan Lederman's Avatar
 
Posts: 850
Join Date: May 2005
Location: Boise, Idaho
06-07-2007, 10:38 PM

Well, each time you run a sync, the database is cleared anyhow, so it's the functional equivalent of deleting it -- the creation is simply to generate the table structure, not actually fill it with any data.


Ryan Lederman (ryan.lederman ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#9) Old
craigbrass Offline
Senior Member
 
Posts: 5,394
Join Date: Jun 2005
Location: Cumbria, UK
06-07-2007, 10:44 PM

Ah, didn't realise that. Suppose I haven't used it for anything other than having a little play with it so wouldn't know! lol


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#10) Old
Ryan Lederman Offline
Chief Operating Officer
 
Ryan Lederman's Avatar
 
Posts: 850
Join Date: May 2005
Location: Boise, Idaho
13-12-2007, 11:43 PM

I believe I have fixed this bug once and for all. It is an alpha, because it contains the "new ticket" functionality, but it should work just fine for all intents and purposes.

If you would be so kind, download it from
http://hotfix.kayako.com/latest.php?...uildtype=alpha for WM5 and 6
or
http://hotfix.kayako.com/latest.php?...uildtype=alpha for PPC 2003

and MAKE SURE TO READ THE NOTES, as there are files you MUST update on the server or it will NOT work.

ALSO NOTE: You must delete the "km.db" file from the KayakoMobile directory (usually /Program Files/KayakoMobile/) before running the updated build!

Please report back here and let me know if this solves the problem for you all.


Ryan Lederman (ryan.lederman ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
database

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
Import eSupport database into SupportSuite one9 SupportSuite, eSupport and LiveResponse 0 02-09-2006 03:32 AM
Piping problem (please help) Indirect E-mail Piping Issues 27 10-07-2006 01:41 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


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