java2dev Posted October 13, 2016 Share Posted October 13, 2016 Hola, tengo un plugin y funciona bien en localhost sincroniza los datos, cuando lo probe en una pagina live prestashop al meter las credenciales no se cargan los datos de mapeo y buscando en la consola me sale el siguiente error Mixed content: The page was loaded over HTTPs, but requested an insecure XMLHttpRequest endpoint. This request has been blocked, the content must be served over HTTPs. Link to comment Share on other sites More sharing options...
java2dev Posted October 13, 2016 Author Share Posted October 13, 2016 Encontrè esta parte del codigo, le voy a cambiar a true y probar de nuevo y les mantengo informados. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Link to comment Share on other sites More sharing options...
java2dev Posted October 14, 2016 Author Share Posted October 14, 2016 cambie lo siguiente esta liga por //$base_url = Context::getContext()->shop->getBaseURL(); por$base_url = Tools::getHttpHost(true).__PS_BASE_URI__; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now