Jump to content

Recommended Posts

Posted

Ao cliente efetuar o login no meu WHMCS está aparecendo o seguinte erro:

Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '0' for column 'pwresetexpiry' at row 1 (SQL: update `tblclients` set `lastlogin` = 20160628232314, `ip` = 201.9.119.178, `host` = 201-9-119-178.user.veloxzone.com.br, `updated_at` = 2016-06-28 23:23:14, `pwresetexpiry` = 0 where `id` = 2) (SQL: update `tblclients` set `lastlogin` = 20160628232314, `ip` = 201.9.119.178, `host` = 201-9-119-178.user.veloxzone.com.br, `updated_at` = 2016-06-28 23:23:14, `pwresetexpiry` = 0 where `id` = 2)' in /home/webhost/public_html/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus->whmcsExceptionHandler(Object(Illuminate\Database\QueryException)) #1 {main} thrown in /home/webhost/public_html/includes/classes/WHMCS/Terminus.php on line 0


Uma coisa que notei, foi que ao fazer o mesmo procedimento estando logado no painel de adm do whmcs, o sistema loga normalmente. Alguém tem ideia do que seja?


Posted
3 horas atrás, Felipe Augusto disse:

@Izanderson F tive um problema parecido com o meu, tente isso:

- Acesse seu VPS/dedicado como root
- No SSH, execute o comando: mysql
- No prompt do MySQL, execute: SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET SESSION sql_mode = 'NO_ENGINE_SUBSTITUTION';

Espero que te ajude.

Vlw cara, deu muito certo

Posted
Em 28/06/2016 at 20:31, Felipe Augusto disse:

@Izanderson F tive um problema parecido com o meu, tente isso:

- Acesse seu VPS/dedicado como root
- No SSH, execute o comando: mysql
- No prompt do MySQL, execute: SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET SESSION sql_mode = 'NO_ENGINE_SUBSTITUTION';

Espero que te ajude.

O erro ta dando direto, sabe como sanar de uma vez por todas?

Posted
1 hora atrás, Izanderson F disse:

O erro ta dando direto, sabe como sanar de uma vez por todas?

Possivelmente essa configuração está sendo perdida a cada vez que seu MySQL reinicia.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?

-