edvan Posted August 10, 2017 Share Posted August 10, 2017 Encontrei uma customização (hook) que permite "driblar" a confirmação da senha (usuário admin logado) para páginas administrativas ( configurações gerais, módulos de pagamento e etc... ) do WHMCS. Informações no link https://www.whmcs.blog.br/principal/confirmacao-de-login-administrativo/ 2 Quote Link to comment Share on other sites More sharing options...
RevendaHost Posted August 10, 2017 Share Posted August 10, 2017 Estava pensando ontem em procurar algo para esta finalidade. :) Testei aqui mas deu tela branca. 0 Quote Gerenciamento e otimização de servidores: Centos, Debian, Ubuntu, AlmaLinux, Cpanel e VestaCP. Cloud otimizado e otimização para: Wordpress. Virtualização: Implementação e gerenciamento Virtualizor, Proxmox, Openstack e VMware. Link to comment Share on other sites More sharing options...
edvan Posted August 10, 2017 Author Share Posted August 10, 2017 1 hora atrás, RevendaHost disse: Estava pensando ontem em procurar algo para esta finalidade. :) Testei aqui mas deu tela branca. Você seguiu a risca as instruções? Tela em branco é um erro genérico, ativa o debug de erros e veja o real problema ou se quiser pegue o arquivo já pronto em anexo e envie para /includes/hooks/ e faça novamente um teste! no_admin_confirm.php 0 Quote Link to comment Share on other sites More sharing options...
RevendaHost Posted August 10, 2017 Share Posted August 10, 2017 14 minutos atrás, edvan disse: Você seguiu a risca as instruções? Tela em branco é um erro genérico, ativa o debug de erros e veja o real problema ou se quiser pegue o arquivo já pronto em anexo e envie para /includes/hooks/ e faça novamente um teste! no_admin_confirm.php Retornou os erros Fatal error: Uncaught InvalidArgumentException: The separation symbol could not be found The separation symbol could not be found Data missing in /public_html/central/vendor/nesbot/carbon/src/Carbon/Carbon.php:425 Stack trace: #0 /public_html/central/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): Carbon\Carbon::createFromFormat('Y-m-d H:i:s', 1502384639) #1 /public_html/central/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Admin->hasAuthConfirmation() #2 /public_html/central/gerencia/configgeneral.php(0): WHMCS\Admin->requireAuthConfirmation() #3 {main} Next InvalidArgumentException: The separation symbol could not be found The separation symbol could not be found Data missing in /public_html/central/vendor/whmcs/whmcs-foundation/lib/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus::whmcsExceptionHandler(Object(InvalidArgumentException)) #1 { in /public_html/central/vendor/whmcs/whmcs-foundation/lib/Terminus.php on line 0 0 Quote Gerenciamento e otimização de servidores: Centos, Debian, Ubuntu, AlmaLinux, Cpanel e VestaCP. Cloud otimizado e otimização para: Wordpress. Virtualização: Implementação e gerenciamento Virtualizor, Proxmox, Openstack e VMware. Link to comment Share on other sites More sharing options...
edvan Posted August 10, 2017 Author Share Posted August 10, 2017 1 hora atrás, RevendaHost disse: Retornou os erros Fatal error: Uncaught InvalidArgumentException: The separation symbol could not be found The separation symbol could not be found Data missing in /public_html/central/vendor/nesbot/carbon/src/Carbon/Carbon.php:425 Stack trace: #0 /public_html/central/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): Carbon\Carbon::createFromFormat('Y-m-d H:i:s', 1502384639) #1 /public_html/central/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Admin->hasAuthConfirmation() #2 /public_html/central/gerencia/configgeneral.php(0): WHMCS\Admin->requireAuthConfirmation() #3 {main} Next InvalidArgumentException: The separation symbol could not be found The separation symbol could not be found Data missing in /public_html/central/vendor/whmcs/whmcs-foundation/lib/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus::whmcsExceptionHandler(Object(InvalidArgumentException)) #1 { in /public_html/central/vendor/whmcs/whmcs-foundation/lib/Terminus.php on line 0 Qual versão do seu sistema? 0 Quote Link to comment Share on other sites More sharing options...
RevendaHost Posted August 10, 2017 Share Posted August 10, 2017 Testei na 7.2.3 0 Quote Gerenciamento e otimização de servidores: Centos, Debian, Ubuntu, AlmaLinux, Cpanel e VestaCP. Cloud otimizado e otimização para: Wordpress. Virtualização: Implementação e gerenciamento Virtualizor, Proxmox, Openstack e VMware. Link to comment Share on other sites More sharing options...
edvan Posted August 10, 2017 Author Share Posted August 10, 2017 22 minutos atrás, RevendaHost disse: Testei na 7.2.3 A formatação da data está conforme imagem http://prntscr.com/g6y4dz 0 Quote Link to comment Share on other sites More sharing options...
DeboraFernando Posted August 21, 2017 Share Posted August 21, 2017 depois que fiz isso meu whmcs bugo igual o de cima ai porem n voltou apaguei o arquivo e o erro continuo 0 Quote Link to comment Share on other sites More sharing options...
Guest Caldas1 Posted August 28, 2017 Share Posted August 28, 2017 Funcionou, edvan. Obrigado. 0 Quote Link to comment Share on other sites More sharing options...
edvan Posted August 29, 2017 Author Share Posted August 29, 2017 10 horas atrás, João Caldas disse: Funcionou, edvan. Obrigado. Blz 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.
Note: Your post will require moderator approval before it will be visible.