| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Senior Member 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/ |
| | |
(#3)
|
(#4)
|
| 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? |
| | |
(#5)
|
| Member Posts: 182 Join Date: Jul 2006 |
31-10-2006, 12:02 PM
Quote:
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, | |
| | |
(#6)
|
![]() |
| Tags |
| insert, staff |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |