-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using SSL brings warning of mixed content #78
Comments
Which mapping service are you using? I have just been testing and found out that Yahoo and Cloudmade stopped their API service and Openlayers is buggy. Your issue might be caused by mixed SSL content, but it might also be the above (especially since the only service that is working correctly - Google Maps - is already using https. This should all be solved with issue #68, where Mapstraction will be replaced by Leaflet. Unfortunately, @JiCiT, who is working on that, currently has little time to spend on Zoph. Could you confirm whether or not it is working correctly if you use Google Maps? |
I used Openlayers. When I switch to Google Maps and click to "places" I got this error message in my browser:
English translation: Redirection error. The calling webpage redirects the request in a way that it will never end. This problem can sometimes happen when Cookies are inactive or refused. |
Could you try this again but with
in |
By the way, on my system this does not occur. (with https set to "always") |
I have been thinking, by the way to completely remove these settings from Zoph as with the current state of technology, it is perfectly possible to serve all photos over https. I added the "logon only" variant when it was undoable to let a simple home-server serve >4 MB photos over https. |
Yahoo and Cloudmade have stopped offering a public API and the Mapstraction implementation of OpenLayers is currently buggy. Issue#78
I changed th config.inc.php and now I get this when I try to open places: |
Could you check if the commit above fixes this? |
@HonkXL Could you let me know if the patch above fixes the issue? |
@jeroenrnl - Sorry for my late answer. Now I tested it. After applying your patch, I can access the Map and using Google maps there is no message about mixed content. Great :-) |
@HonkXL Thanks for getting back. It has no point trying Yahoo or Cloudmade - they stopped providing their services to the public. When I tried OpenLayers on my system I noticed that the markers were placed on the wrong place on the map - this was in a non-SSL setup, so it's unrelated to the issue you reported. The problem probably lies in in outdated implementation of the OpenLayers API. Unfortunately, the implementation Zoph is using, Mapstraction, has not received any updates for the past 3 years or so. There is work in progress to move Zoph to another "Mapping Abstraction library": Leaflet. I hope to have that ready in v0.9.5, which is planned come out near the end of this year. Until then (or a little bit earlier if you're brave enough to run some in-development software), Google Maps is the only working option. |
@HonkXL By the way, the problem you ran into that caused a redirection loop, was unrelated to the mapping implementation - it was caused by some changes in v0.9.3, where I had overlooked to always give an admin user "viewing" rights on places. |
This is merged into development now: 86b9b86 |
I set up Zoph to run on a plain SSL-environment. Option to use SSL only in settings is active.
Firefox brings up warning about mixed content and maps are not working.
I found out that the problem is these line:
`
<script type="text/javascript" src="http://tile.cloudmade.com/wml/0.2/web-maps-lite.js"></script>`
I think all JavaScripts that are refered to should be using https to prevent this error.
The text was updated successfully, but these errors were encountered: