Kayako logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#16) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,131
Join Date: Jan 2006
Location: United Kingdom
05-08-2007, 08:55 PM

Did you update this one?

Line 41:

Add your prefix, as below:
Code:
 $_user = $dbLoginShare->queryFetch("SELECT * FROM `user` WHERE `vb1_username` = '". $dbCore->escape($username) ."';");


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#17) Old
gedsta07 Offline
Member
 
Posts: 40
Join Date: Aug 2007
05-08-2007, 08:57 PM

Hi Jamie

We have 2 databases

One for vB and one for Kayako

The settings I used in the LOGINSHARE were copied off the config.php from vB so I know they are right.

I have done exactly what Craig said above and it throws the same error.

This is the error - Table 'nameofdatabase_.user' so it is not putting the vb1_ before the nameofdatabase_.user, I would expect it to be vb1_nameofdatabase_.user if you get what I mean.
   
Reply With Quote
  (#18) Old
gedsta07 Offline
Member
 
Posts: 40
Join Date: Aug 2007
05-08-2007, 08:59 PM

Quote:
Originally Posted by Jamie Edwards View Post
Did you update this one?

Line 41:

Add your prefix, as below:
Code:
 $_user = $dbLoginShare->queryFetch("SELECT * FROM `user` WHERE `vb1_username` = '". $dbCore->escape($username) ."';");
nope

Code:
$_user = $dbLoginShare->queryFetch("SELECT * FROM `user` WHERE `vb1_username` = '"
   
Reply With Quote
  (#19) Old
gedsta07 Offline
Member
 
Posts: 40
Join Date: Aug 2007
05-08-2007, 09:01 PM

Sorry the error has now changed

Invalid SQL: SELECT * FROM 'user' WHERE 'vb1_username' = 'myemailaddress'; (Table 'mydatabasename_.user' doesn't exist)
   
Reply With Quote
  (#20) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,131
Join Date: Jan 2006
Location: United Kingdom
05-08-2007, 09:07 PM

I made a mistake, it was meant to read:

Code:
 $_user = $dbLoginShare->queryFetch("SELECT * FROM `vb1_user` WHERE `username` = '". $dbCore->escape($username) ."';");


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#21) Old
gedsta07 Offline
Member
 
Posts: 40
Join Date: Aug 2007
05-08-2007, 09:12 PM

That's the baby

Logged in successfully

Cheers I owe you both a beer

Ged
   
Reply With Quote
  (#22) Old
craigbrass Offline
Senior Member
 
Posts: 5,401
Join Date: Jun 2005
Location: Cumbria, UK
06-08-2007, 08:40 AM

Hey, your welcome. Didn't think about if you'd done the second one when I seen the error.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
integration

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
kayako, upgrade this forum to VB 3.6.4 ppc Comments, Questions & Feedback 15 28-02-2007 12:00 AM
ModernBill Integration Beta Jamie Edwards News and Announcements 0 13-11-2006 12:00 PM
New integration method jc11 Developers & Code 4 05-11-2005 05:22 PM



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