"OpenLayers is undefined" Script Error on start up.

Started by msprygada, November 21, 2015, 06:56:10 PM

Previous topic - Next topic

msprygada

When I start iMatch I get a script error that says "OpenLayers is undefined". I cannot seem to find any info on it. Anyone seen this error before. I click Yes and it comes up a second time, and I click Yes the second time and it goes away until I start iMatch again.


[attachment deleted by admin]

Mario

IMatch uses the OpenLayers library for the map panel.
Apparently something on your system is blocking the map panel, or rather the web browser that makes up the map panel.

Check:
Firewall settings, yoir virus checker, Internet connection, other security software.
Make sure Windows is up-to-date and that all updates are installed.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

I get this error periodically -when I try to start the maps panel. Shutting Im down and restarting seems to fix it.

Mario

This error is displayed by the browser (!) when it cannot find or access/load the JavaScript libraries required for OpenLayers. This means it cannot access the local cache, or something is actively preventing the embedded browser from accessing the OpenLayers web site. Check your Internet Explorer / Web Security settings in Windows. IMatch uses the embedded Windows HTML control (WebBrowser Control) for the map panel, and this control uses the system-wide Internet access, proxy and security settings.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

If it is a wrong setting it ought to fail all the time. But it fails only every now and then????

Mario

Quote from: ubacher on November 23, 2015, 10:24:27 AM
If it is a wrong setting it ought to fail all the time. But it fails only every now and then????
Stranger things have happened. You might need a local debug proxy to monitor the requests the browser makes and where they are blocked. Or maybe your route to OpenLayers is not working sometimes. Or maybe OpenLayers was off-line. Or maybe your virus checker was scanning/blocking one of the JavaScript files IMatch uses in the WebBrowser. Or...
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook