Zh OpenStreetMap Troubleshooting: Difference between revisions

From Documentation
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 40: Line 40:




== There are no any new updates in Extension Manager
== There are no any new updates in Extension Manager ==


Lets go to extension manager
Lets go to extension manager

Latest revision as of 15:42, 24 April 2020


Login screen when map is displaying

When you show map, unexpected appears login screen.

See: Compatibility Mode for Resource Files


JQuery is not defined error message

When you display map you can't see any map object, and in browser's console you can see error like

It means your template doesn't load JQuery library.

To fix this problem you should

1 - check whether or not you can load this library by your template

2 - if template can't load it, you can do it:

2.1 - go to map details, open Advanced options

2.2 - in field Additional JavaScript files for loading enter links to JQuery

2.3 - check that all OK

For example, by default joomla has JQuery library, just try to enter this two lines

/media/jui/js/jquery.min.js
/media/jui/js/jquery-noconflict.js

3 - if you use my template for full screen, it doesn't load this library, but you can enter URL to load it too in template properties (not in map)


There are no any new updates in Extension Manager

Lets go to extension manager

Menu: Extensions->Manage->Update

You can see no new updates

Press Clear Cache button

Press Find Updates button

You'll see new updates.

You should start from Package if it is exist

Select checkbox and press Update

The result of it will be like

Ie you just upgraded to last version.

Check again in Extension Manager (press Clear Cache and Find Updates), probably some parts of extension have new version


Language: English  • русский