[RESOLVIDO]:Erro no codigo fonte Loginradius.

  • jppnf
  • Avatar de jppnf Autor do Tópico
  • Offline
  • JCB! Junior
  • JCB! Junior
Mais
11 anos 9 meses atrás #76265 por jppnf
jppnf created the topic: [RESOLVIDO]:Erro no codigo fonte Loginradius.
Instalei e configurei o Login radius e aparece o seguinte erro de codigo , junto ao modulo de login.
Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\wamp\www\Site\modules\mod_LoginRadius\LoginRadiusSDK.php on line 34
Call Stack
# Time Memory Function Location
1 0.0009 410160 {main}( ) ..\index.php:0
2 0.2655 12970536 JSite->render( ) ..\index.php:48
3 0.2855 13216704 JDocumentHTML->render( ) ..\application.php:272
4 0.2856 13216704 JDocumentHTML->_renderTemplate( ) ..\html.php:433
5 0.3578 15111952 JDocumentHTML->getBuffer( ) ..\html.php:655
6 0.3578 15112328 JDocumentRendererModules->render( ) ..\html.php:371
7 0.3578 15112920 JDocumentRendererModule->render( ) ..\modules.php:39
8 0.3579 15114112 JModuleHelper::renderModule( ) ..\module.php:106
9 0.3598 15165560 include( 'C:\wamp\www\Site\modules\mod_LoginRadius\mod_LoginRadius.php' ) ..\helper.php:175
10 0.3617 15265504 require( 'C:\wamp\www\Site\modules\mod_LoginRadius\tmpl\default.php' ) ..\mod_LoginRadius.php:16
11 0.3641 15295672 LoginRadiusAuth->auth( ) ..\default.php:83
12 0.3641 15296056 file_get_contents ( ) ..\LoginRadiusSDK.php:34







( ! ) Warning: file_get_contents( https://hub.loginradius.com/getappinfo/ ... d55cba431b ) [function.file-get-contents]: failed to open stream: Invalid argument in C:\wamp\www\Site\modules\mod_LoginRadius\LoginRadiusSDK.php on line 34
Call Stack
# Time Memory Function Location
1 0.0009 410160 {main}( ) ..\index.php:0
2 0.2655 12970536 JSite->render( ) ..\index.php:48
3 0.2855 13216704 JDocumentHTML->render( ) ..\application.php:272
4 0.2856 13216704 JDocumentHTML->_renderTemplate( ) ..\html.php:433
5 0.3578 15111952 JDocumentHTML->getBuffer( ) ..\html.php:655
6 0.3578 15112328 JDocumentRendererModules->render( ) ..\html.php:371
7 0.3578 15112920 JDocumentRendererModule->render( ) ..\modules.php:39
8 0.3579 15114112 JModuleHelper::renderModule( ) ..\module.php:106
9 0.3598 15165560 include( 'C:\wamp\www\Site\modules\mod_LoginRadius\mod_LoginRadius.php' ) ..\helper.php:175
10 0.3617 15265504 require( 'C:\wamp\www\Site\modules\mod_LoginRadius\tmpl\default.php' ) ..\mod_LoginRadius.php:16
11 0.3641 15295672 LoginRadiusAuth->auth( ) ..\default.php:83
12 0.3641 15296056 file_get_contents ( ) ..\LoginRadiusSDK.php:34
Acredito que o segundo erro, esta relacionado ao fato de o site esta em localhost certo?

Desde ja agradeço:D

Please Entrar ou Registrar to join the conversation.


Mais
11 anos 9 meses atrás #76331 por LoginRadius
LoginRadius replied the topic: Re: Erro no codigo fonte Loginradius.
Hi there,
The call stack issue may be due to the reason that you are implementing LoginRadius on localhost.
To fix the errors, please use http instead of https in LoginRadius.php file (site\modules\mod_LoginRadius\LoginRadiusSDK.php)

Also make sure you have allow_url_fopen=On on your localhost or if you are using cURL, then it should be enabled.

If you still face any issue with it, please contact us directly on <!-- e --><a href="mailto:hello@loginradius.com]hello@loginradius.com[/url]<!-- e -->

Please Entrar ou Registrar to join the conversation.

  • jppnf
  • Avatar de jppnf Autor do Tópico
  • Offline
  • JCB! Junior
  • JCB! Junior
Mais
11 anos 9 meses atrás #76708 por jppnf
jppnf replied the topic: [RESOLVIDO]: Erro no codigo fonte Loginradius.
Modifiquei o codigo na pasta mencionada de https para http
o problema que havia encontrado que ele menciona LINE 34 e no local indicado nao existe essa linha com o codigo;p

Obrigado pela ajuda!

Please Entrar ou Registrar to join the conversation.