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
ozgurerdogan Offline
New Member
 
Posts: 21
Join Date: Oct 2006
Can not insert staff? - 31-10-2006, 02:21 AM

After filling the adding staff forms and insert staff button, nothing changes like new staff does not get added.
What is the problem.
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,958
Join Date: Aug 2006
Location: Mumbai, India
31-10-2006, 09:10 AM

Check your server error_log for any reported errors. My guess is you are having the MySQL "Out of range" issue which you can fix by editing the sql-mode.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
ozgurerdogan Offline
New Member
 
Posts: 21
Join Date: Oct 2006
31-10-2006, 10:32 AM

Quote:
Originally Posted by supportskins
Check your server error_log for any reported errors. My guess is you are having the MySQL "Out of range" issue which you can fix by editing the sql-mode.
Well could you please more clear. I am using win2003 server and can not see any error in event viewer. What is Out of range" issue and how can I fix it.?
Thank you very much for your helps.
   
Reply With Quote
  (#4) Old
ozgurerdogan Offline
New Member
 
Posts: 21
Join Date: Oct 2006
31-10-2006, 11:55 AM

ok I turned on display_error and found the following error:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \swift.php on line 252

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \swift.php on line 349

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \swift.php on line 350

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \includes\functions.php on line 1189

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \includes\functions.php on line 1981

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \includes\functions.php on line 1983

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \includes\functions.php on line 2129

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in includes\functions.php on line 2236

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in includes\SmartyLight\class.template.php on line 717

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in includes\SmartyLight\class.template.php on line 785

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in modules\core\core.php on line 37

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in modules\core\admin_staff.php on line 188

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in modules\core\admin_staff.php on line 188

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in modules\core\admin_staff.php on line 338

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in modules\core\admin_staff.php on line 338


And then I set allow_call_time_pass_reference = on and got no error on page but it still did not insert new staff.

if I set safe mode on I see following error:
\modules\core\admin_staff.php on line 338
Invalid SQL: INSERT INTO `swstaff` (`fullname`, `username`, `password`, `staffgroupid`, `email`, `mobilenumber`, `lastvisit`, `lastactivity`, `timezoneoffset`, `enabledst`, `startofweek`, `pmunread`, `groupassigns`, `enablepmalerts`, `enablepmjsalerts`) VALUES ('sadasdasd', 'sdsdsd', '2f3e9eccc22ee583cf7bad86c751d865', '2', 'destek@mail.com', 'asa', '1162288683', '1162288683', '99', '0', '', '0', '0', '1', '1'); (Out of range value adjusted for column 'startofweek' at row 1)
Warning: Cannot modify header information - headers already sent by (output started at \includes\SmartyLight\class.template.php:717) in \includes\functions_html.php on line 1371


any idea?

Last edited by ozgurerdogan; 31-10-2006 at 12:00 PM..
   
Reply With Quote
  (#5) Old
Mahesh Slaria Offline
Member
 
Posts: 182
Join Date: Jul 2006
31-10-2006, 12:02 PM

Quote:
Originally Posted by ozgurerdogan
Well could you please more clear. I am using win2003 server and can not see any error in event viewer. What is Out of range" issue and how can I fix it.?
Thank you very much for your helps.
The "Out of range value adjusted for column ..." mysql errors are due to MySQL 5 running with a strict sql-mode.

You need to edit /etc/my.cnf and change sql-mode to something like:

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

It cannot have any of the STRICT options or many of the "meta" modes like TRADITIONAL because that will also include STRICT semantics. See
http://dev.mysql.com/doc/refman/5.0/...-sql-mode.html
for more information.

If problem persists then please provide me admin access to your helpdesk at mahesh.slaria AT kayako.com

Thanks.

Regards,
   
Reply With Quote
  (#6) Old
ozgurerdogan Offline
New Member
 
Posts: 21
Join Date: Oct 2006
31-10-2006, 12:48 PM

ok I sorted the problem but wondering if I may have any problem in future as I set the value in my.ini file to "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
   
Reply With Quote
Reply

Tags
insert, 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
Generate password on manual user insert by staff logicway Developers & Code 1 24-08-2006 01:51 PM
Insert Staff not working lifeunconscious SupportSuite, eSupport and LiveResponse 3 31-07-2006 04:00 PM
v3.00.27 Stable Available Varun Shoor News and Announcements 1 05-12-2005 10:21 PM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


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