I made a Customer relationship manager in php for one of my clients and I am facing issue of unsecurity in some of it pages due to which it broke the menu and it does not work properly. Using google sxtension when I allow it to proceed unsecure the menu start working properly. I used password hash for password protection. When I click the below in chrome extension it start working properly. enter image description here
Asked
Active
Viewed 61 times
-6
-
Is this a https issue? – Clint Jun 14 '19 at 22:55
-
htttp or htttps in url ? – bakero98 Jun 14 '19 at 23:00
-
I don't know about it, but SSL is already installed on the domain. – Umar Hameed Jun 14 '19 at 23:00
-
https domain it is – Umar Hameed Jun 14 '19 at 23:01
-
4What is your question? – Jay Blanchard Jun 14 '19 at 23:10
-
I think the title explains it very clearly that "my web app is giving unsecure error in browser after uploading it to the hosting evenn I used password hash for protection of passwords" – Umar Hameed Jun 14 '19 at 23:19
-
1The error says: "Mixed Content: The page at 'https://bestpoolcompany.com/pool-crm/' was loaded over HTTPS, but requested an insecure stylesheet 'http://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css'. This request has been blocked; the content must be served over HTTPS." – Dharman Jun 14 '19 at 23:19
-
That is the opposite of very clearly. Password hash has nothing to do with this. – Dharman Jun 14 '19 at 23:20
-
can you post httpaccess file ? – bakero98 Jun 14 '19 at 23:24
-
Yes I did a mistake and place it outside of head, but still I am facing same issue. – Umar Hameed Jun 14 '19 at 23:38
2 Answers
1
Are you talking about the Secure Socket Layer (SSL)?
Make sure all your links are https://directory/folder/file.ext and not http://directory/folder/file.ext
If you want the links to work with both a secure and non-secure web site, you can start your links with just the slashes and no protocol name and colon. //directory/folder/file.ext
Edit: OPs problem had to do with The Protocol-relative URL
Are protocol-relative URLs relative URLs?
More information: https://www.paulirish.com/2010/the-protocol-relative-url/

arobson13
- 59
- 5
-
This could be the right answer to OP's question, but you should improve the quality. – Dharman Jun 14 '19 at 23:29
-
Marked this answer as correct, we have to make all that cdn link as //cdn..... without HTTP or https. – Umar Hameed Jun 15 '19 at 11:08
0
You could just have the CDN package downloaded and stored locally in your website's folder, then include it locally.

zygsid
- 31
- 5