devprajapati Posted July 6, 2019 Share Posted July 6, 2019 Hello everyone I have Installed a php website scrip and installation is working fine, But the problem is when I activate the ssl(cloudflare) on it, my Login and some other buttons on the welcome screen does not work. Please try with following link Url : social.searchika.com Login details: user : searchika Password : searchika Quote Link to comment https://forums.phpfreaks.com/topic/308937-login-not-working/ Share on other sites More sharing options...
benanamen Posted July 7, 2019 Share Posted July 7, 2019 (edited) Your right. It "doesn't work". Edited July 7, 2019 by benanamen Quote Link to comment https://forums.phpfreaks.com/topic/308937-login-not-working/#findComment-1568187 Share on other sites More sharing options...
quasiman Posted July 9, 2019 Share Posted July 9, 2019 Yep, doesn't work. Glad we got that sorted out.... lol. Only support I can provide (without more details) is the console log error I'm seeing: VM15:1 Mixed Content: The page at 'https://social.searchika.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://social.searchika.com/requests.php?hash=dae40cb6316d320130e8&f=update_lastseen&_=1562702739775'. This request has been blocked; the content must be served over HTTPS. Quote Link to comment https://forums.phpfreaks.com/topic/308937-login-not-working/#findComment-1568257 Share on other sites More sharing options...
gizmola Posted July 10, 2019 Share Posted July 10, 2019 8 hours ago, quasiman said: Yep, doesn't work. Glad we got that sorted out.... lol. Only support I can provide (without more details) is the console log error I'm seeing: VM15:1 Mixed Content: The page at 'https://social.searchika.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://social.searchika.com/requests.php?hash=dae40cb6316d320130e8&f=update_lastseen&_=1562702739775'. This request has been blocked; the content must be served over HTTPS. Good find. There are actually many of these errors where it's requesting http over https which the browser won't allow. Either the server needs to be configured to serve https or the code/configuration needs to be changed so that it uses relative paths or for some of the included external javascript and css, to use '//....' rather than 'http://'. The login fails for the same reason, as it's attempting an ajax call to: http://....com/requests.php?f=login which is denied. Quote Link to comment https://forums.phpfreaks.com/topic/308937-login-not-working/#findComment-1568265 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.