Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
joshopkins Offline
New Member
 
Posts: 19
Join Date: Aug 2006
Angry Error when adding staff - 29-08-2006, 11:38 PM

This is a fresh install on a win2k3 server updated to MS standards. Currently installed php 4.4.4, mysql 5, and I am using IIS 6.0. I have not had to many problems getting everything setup at least none with MySQL. Until now. I have configured just about everything that needed to be configured. I was waiting to add the staff until the base was up and running stable. Everything seemed to be fine, we are receiving tickets, sending replies, all under the admin account for testing. Since the testing looked good i was getting starting to setup new staff in the system. When trying to setup the first staff member I filled out all required information and hit the submit button and I received the following error at the top of the confirmation webpage:

Invalid SQL: INSERT INTO ‘swstaff’ (‘fullname’ , ‘username’ , ‘password’ , ‘staffgroupid’ , ‘email’ , ‘mobilenumber’ , ‘lastvisit’ , ‘lastactivity’ , ‘timezoneoffset’ , ‘enabledst’ , ‘startofweek’ , ‘pmunread’ , ‘groupassign’ , ‘enablepmalerts’ , ‘enablepmjsalerts’) VALUES (‘josh’,’jhopkins’,’fc26a25b41496f0f05eca5ded01021 8f’,’1’,’jhopkins@domain.com’,’’,’156914291’,15691 4291’,’99’,’0’,’’,’0’,’,0’,’1’,’1’);(Out of range value adjusted for column ‘startofweek’ at row 1)

I can edit the admin account and make changes to it just fine. Are there custom setting that i need to apply when using MySQL 5. I am not getting any other sql errors.
   
Reply With Quote
  (#2) Old
Raghav Arora Offline
Team Leader (Support)
 
Raghav Arora's Avatar
 
Posts: 209
Join Date: Apr 2005
29-08-2006, 11:47 PM

Quote:
Originally Posted by joshopkins
This is a fresh install on a win2k3 server updated to MS standards. Currently installed php 4.4.4, mysql 5, and I am using IIS 6.0. I have not had to many problems getting everything setup at least none with MySQL. Until now. I have configured just about everything that needed to be configured. I was waiting to add the staff until the base was up and running stable. Everything seemed to be fine, we are receiving tickets, sending replies, all under the admin account for testing. Since the testing looked good i was getting starting to setup new staff in the system. When trying to setup the first staff member I filled out all required information and hit the submit button and I received the following error at the top of the confirmation webpage:

Invalid SQL: INSERT INTO ‘swstaff’ (‘fullname’ , ‘username’ , ‘password’ , ‘staffgroupid’ , ‘email’ , ‘mobilenumber’ , ‘lastvisit’ , ‘lastactivity’ , ‘timezoneoffset’ , ‘enabledst’ , ‘startofweek’ , ‘pmunread’ , ‘groupassign’ , ‘enablepmalerts’ , ‘enablepmjsalerts’) VALUES (‘josh’,’jhopkins’,’fc26a25b41496f0f05eca5ded01021 8f’,’1’,’jhopkins@domain.com’,’’,’156914291’,15691 4291’,’99’,’0’,’’,’0’,’,0’,’1’,’1’);(Out of range value adjusted for column ‘startofweek’ at row 1)

I can edit the admin account and make changes to it just fine. Are there custom setting that i need to apply when using MySQL 5. I am not getting any other sql errors.
Hi,
You need to change your MySQL ini and set:
sql-mode = ""

Once set restart your MySQL server and it shall fix the issue.

Regards,

Raghav Arora


Raghav Arora (raghav.arora ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
joshopkins Offline
New Member
 
Posts: 19
Join Date: Aug 2006
29-08-2006, 11:51 PM

is that refering to strict mode?
   
Reply With Quote
  (#4) Old
joshopkins Offline
New Member
 
Posts: 19
Join Date: Aug 2006
29-08-2006, 11:55 PM

That did fix my problem. Thanks for the help. And to answer my own question yes that is the setting that is refering to (sql-mode = "") strict mode for MySQL in the my.ini
   
Reply With Quote
  (#5) Old
markduffield Offline
New Member
 
Posts: 7
Join Date: Mar 2007
12-03-2007, 09:59 PM

This worked for me as well.
   
Reply With Quote
Reply

Tags
staff

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
relationships between staff members, groups, and departments Anne Wilson SupportSuite, eSupport and LiveResponse 3 13-11-2006 03:27 PM
Adding staff notices for 'New Tickets', 'New Notes' and 'Ticket Replies' netarus SupportSuite, eSupport and LiveResponse 2 29-03-2006 03:46 PM
Adding ticket recipients in staff post reply tab mhunt SupportSuite, eSupport and LiveResponse 12 26-03-2006 07:18 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 47