map does not appear & Class 'MapDataHelper' not found.

  • miltos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 months 1 week ago #15062 by miltos
Hi Dima
Once again, thank you for the amazing extension.
I started a new website in XAMPP (php 7.4.29). The Zh component and Joomla 4, is updated to latest versions. I use both plugins, article overview {zhosmmap-overview:;placemark;14} and OS {zhosmmap-path:202}, but the map does not appear. The errors are these:

Notice: Undefined variable: usermarkersfilter in C:\xampp\htdocs\anevenontas\anevenontas.gr\components\com_zhosmmap\tmpl\map\display_map_data.php on line 2812

Notice: Undefined variable: markers in C:\xampp\htdocs\anevenontas\anevenontas.gr\components\com_zhosmmap\tmpl\map\display_map_data.php on line 7124

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\anevenontas\anevenontas.gr\components\com_zhosmmap\tmpl\map\display_map_data.php on line 7124

If I make a module, on the page where I place it, it gives a 404:
Class 'MapDataHelper' not found
C:\xampp\htdocs\anevenontas\anevenontas.gr\modules\mod_zhosmmap\tmpl\default.php (46).

Miltos

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago - 10 months 1 week ago #15065 by Dima
Hi
Check extension manager for new versions, because current versions are:
 

Don't forget support my developments: post review in JED , donate , help with translation ;)
Attachments:
Last edit: 10 months 1 week ago by Dima.

Please Log in or Create an account to join the conversation.

  • miltos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 months 4 days ago #15072 by miltos
Hi Dima

Thanks for the reply but unfortunately I had done a full update before doing the test.

Miltos

Please Log in or Create an account to join the conversation.

  • miltos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 months 4 days ago #15073 by miltos
ok i did the upgrade and now the one problem is solved. But the other thing remains: the map does not appear. And I get these errors:

Notice: Undefined variable: mgrgrouplist in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 3061

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 3061

Notice: Undefined variable: maptypes in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 3678

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 3678

Notice: Undefined variable: maptypes in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 4057

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 4057

Miltos

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #15077 by Dima
Hi Miltos
I did new release or component and plugin.
Check extension manager for new releases.
I think I found this little bugs - due to some map parameters it can cause this warnings

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • miltos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 months 3 weeks ago #15079 by miltos
Hi Dima
Sorry for the late replies, I've been out of the office for quite some time.
Unfortunately the maps remain invisible, despite the bugs no longer appearing. I get this error in the browser: Uncaught SyntaxError: Invalid hexadecimal escape sequence
I think there is some issue with localhost (XAMP PHP 7.4.29), because on a live site the component displays the maps without problem.

I'm also creating maps from a .gpx file (syntax: {zhosmmap-path:xxx}), which also don't show up and also give me this error (set: maximum):
Warning: count(): Parameter must be an array or an object that implements Countable at C:\xampp\htdocs\xxxxxxx\components\com_zhosmmap\tmpl\map\display_map_data.php on line 7133

Miltos

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds

Donate


Go to top