I am facing a problem in making my visualforce page work on force.com(sites).
- Created a new visualforce page and it works fine when I click on preview button.
- Added the page to site.com and granted access to the user by clicking on the public access settings button on the site.
- When user logs into site(HTTPS protocol) and navigates to the Visualforce page created above it shows the error message saying "An error occured while loading the visualforce page". If I change https to http in the url it is working fine.
Question: so how do I make my visualforce work on HTTPS protocol on the site that I am adding to?? Please help me.
Below are relevant screenshots on what I am talking about:
Site login settings: