pdishman Posted September 9, 2018 Share Posted September 9, 2018 Order Accept Encountered ProblemsSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null (SQL: insert into `tbloauthserver_clients` (`identifier`, `secret`, `user_id`, `service_id`, `rsa_key_pair_id`, `name`, `description`, `logo_uri`, `redirect_uri`, `grant_types`, `updated_at`, `created_at`) values (MERCHANT-HOST-HU.nBandeGjUT0otp6pb9tn8g==, c1690cdc7eae71b8d5c945e05998a28ffb512d7df9c238011b7c0f79ca32e48e7581484a957828a8be50f18da0f8fccac5d35bf7581c2993a5ba03a592abb3cfd28318b04437022e653f3a2b55ffeb19d874f0dc5ecdcba4114083dfe23ba736, , 12, 0, , , , , single_sign_on, 2018-09-09 03:44:46, 2018-09-09 03:44:46)) I received a new order and when i tried to accept it, the system gave me the above error. It actually creates the order in WHM, but WHMCS errors out. I tried deleting the order on both sides and recreating the order manually with no luck, i received the same error msg. I appreciate any help you can give me! 0 Quote Link to comment Share on other sites More sharing options...
Hostinglandia Posted September 26, 2018 Share Posted September 26, 2018 same problem here. did you find a solution? 0 Quote Link to comment Share on other sites More sharing options...
pdishman Posted September 26, 2018 Author Share Posted September 26, 2018 Well, I ended up selecting the order and then setting it as active from within the order and saving and that seemed to do the trick... or it resolved itself, not 100% sure! 😄 Hope that helps you. I posted this comment in the community, plus sent a ticket to support with no response... so, sadly whmcs support is not responsive 😞 0 Quote Link to comment Share on other sites More sharing options...
abud Posted November 24, 2018 Share Posted November 24, 2018 same here 😞 0 Quote Link to comment Share on other sites More sharing options...
Anjan Posted December 23, 2018 Share Posted December 23, 2018 On 9/9/2018 at 7:42 PM, pdishman said: Order Accept Encountered ProblemsSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null (SQL: insert into `tbloauthserver_clients` (`identifier`, `secret`, `user_id`, `service_id`, `rsa_key_pair_id`, `name`, `description`, `logo_uri`, `redirect_uri`, `grant_types`, `updated_at`, `created_at`) values (MERCHANT-HOST-HU.nBandeGjUT0otp6pb9tn8g==, c1690cdc7eae71b8d5c945e05998a28ffb512d7df9c238011b7c0f79ca32e48e7581484a957828a8be50f18da0f8fccac5d35bf7581c2993a5ba03a592abb3cfd28318b04437022e653f3a2b55ffeb19d874f0dc5ecdcba4114083dfe23ba736, , 12, 0, , , , , single_sign_on, 2018-09-09 03:44:46, 2018-09-09 03:44:46)) I received a new order and when i tried to accept it, the system gave me the above error. It actually creates the order in WHM, but WHMCS errors out. I tried deleting the order on both sides and recreating the order manually with no luck, i received the same error msg. I appreciate any help you can give me! Hi did you find the solution? I have the same issue.. 0 Quote Link to comment Share on other sites More sharing options...
abud Posted December 24, 2018 Share Posted December 24, 2018 I increased MYSQL server values (interactive_timout, wait_timeout) and it works. 0 Quote Link to comment Share on other sites More sharing options...
Hostinglandia Posted December 24, 2018 Share Posted December 24, 2018 play with php version. 0 Quote Link to comment Share on other sites More sharing options...
Anjan Posted December 24, 2018 Share Posted December 24, 2018 8 hours ago, abud said: I increased MYSQL server values (interactive_timout, wait_timeout) and it works. Where should I found that option. 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted December 24, 2018 Share Posted December 24, 2018 8 hours ago, Anjan said: Where should I found that option. In the configuration file. 0 Quote Link to comment Share on other sites More sharing options...
Anjan Posted December 24, 2018 Share Posted December 24, 2018 5 minutes ago, radwebhosting said: In the configuration file. Can you pls give me some more idea. In configuration.php where should i code the (interactive_timout, wait_timeout) I have no idea about that. 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted December 24, 2018 Share Posted December 24, 2018 Changes to (interactive_timout, wait_timeout) would be made in configuration file for database server. This will most likely not really fix the cause of your issue. You should determine why the query did not insert an appropriate value for the field. 0 Quote Link to comment Share on other sites More sharing options...
Anjan Posted December 24, 2018 Share Posted December 24, 2018 4 minutes ago, radwebhosting said: Changes to (interactive_timout, wait_timeout) would be made in configuration file for database server. This will most likely not really fix the cause of your issue. You should determine why the query did not insert an appropriate value for the field. Sir I have no idea why it's happening. But it was running fine before. I have no idea how to fix this. If you can do it's a request to you to pls help me, as I have no much knowledge in whmcs and .php 0 Quote Link to comment Share on other sites More sharing options...
solomon121 Posted December 17, 2019 Share Posted December 17, 2019 Facing this same issue, please any wayout please. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 17, 2019 Share Posted December 17, 2019 2 hours ago, solomon121 said: Facing this same issue, please any wayout please. Can you please tell me what error you are getting? 0 Quote Link to comment Share on other sites More sharing options...
solomon121 Posted February 28, 2020 Share Posted February 28, 2020 Facing same error, please help Quote Order Accept Encountered Problems SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null (SQL: insert into `tbloauthserver_clients` (`identifier`, `secret`, `user_id`, `service_id`, `rsa_key_pair_id`, `name`, `description`, `logo_uri`, `redirect_uri`, `grant_types`, `updated_at`, `created_at`) values (WEB-SOLUT.xTOzV9COIoOEMe3QOZ8xIA==, 7964848aa7080b2f0c293ae6ee0601eb535e4b3b73534b98de38e475bd6f1f707035bb2fb3b2244e2362c883e63195f24e873b6f1451cf6849b5f72e40c99d6554eaf8e89d8cc55513899ef5769e9ec09f7db5b160704a5d21798755a546b9d2, , 1254, 0, , , , , single_sign_on, 2020-02-28 20:26:01, 2020-02-28 20:26:01)) 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted February 29, 2020 Share Posted February 29, 2020 Hello @solomon121 4 hours ago, solomon121 said: Facing same error, please help This error indicates that WHMCS has not received a successful response from the module before the MySQL server has "Gone away". The module may successfully complete provisioning an account however, WHMCS will be unable to apply this and will leave the product in a "Pending" state. To rectify this, it's likely that the MySQL "wait_timeout" and "interactive_timeout" configuration variables set far too low. You can check this by running the following query: SHOW SESSION VARIABLES LIKE "%timeout%" If you see that the "wait_timeout" or "interactive_timeout" values are very low such as 30 then these will need to be increased by the System Administrator. The default value and a good recommendation is to set these to "28800". 0 Quote Link to comment Share on other sites More sharing options...
Hostinglandia Posted March 1, 2020 Share Posted March 1, 2020 I had this problem, and for me, the solution was to increase mysql timeouts 0 Quote Link to comment Share on other sites More sharing options...
solomon121 Posted March 1, 2020 Share Posted March 1, 2020 5 hours ago, Hostinglandia said: I had this problem, and for me, the solution was to increase mysql timeouts Can you help with tutorial on how to do that, Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 2, 2020 Share Posted March 2, 2020 14 hours ago, solomon121 said: Can you help with tutorial on how to do that, Thanks You need to ask your server administrator to do this @solomon121 0 Quote Link to comment Share on other sites More sharing options...
Hostinglandia Posted March 2, 2020 Share Posted March 2, 2020 nano /etc/my.cfg it will open the mysql configuration file add or update this parameters: interactive_timeout=60 wait_timeout=60 Save an close the file and restart mysql 0 Quote Link to comment Share on other sites More sharing options...
solomon121 Posted April 2, 2020 Share Posted April 2, 2020 On 3/1/2020 at 4:28 PM, WHMCS ChrisD said: You need to ask your server administrator to do this @solomon121 Okay thanks, the problem had been resolved by my server management. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.