Page 1 of 2
PhocaMaps not displaying on J4
Posted: 18 Aug 2022, 13:24
by PJones54
Hi......I just migrated everything across from J3 to J4, and despite all the data being exactly as it was no map is being displayed.
The plugin is activated but all I get on the front end is the code itself: {phocamaps view=map|id=1}
Can anybody advise?
Re: PhocaMaps not displaying on J4
Posted: 18 Aug 2022, 15:39
by Benno
Hi,
1.) Did you do the migration from Phoca Map component version 3.0.12 to 4.0.0 following
these instructions?
2.) Did you also install the correct
Phoca Maps content plugin version?
3.) If only code is displayed in the frontend, can you see maps, markers and icons in the backend?
Kind regards,
Benno
Re: PhocaMaps not displaying on J4
Posted: 18 Aug 2022, 15:49
by PJones54
Benno wrote: 18 Aug 2022, 15:39
Hi,
1.) Did you do the migration from Phoca Map component version 3.0.12 to 4.0.0 following
these instructions?
2.) Did you also install the correct
Phoca Maps content plugin version?
3.) If only code is displayed in the frontend, can you see maps, markers and icons in the backend?
Kind regards,
Benno
Hi Benno......I used SPTransfer for the migration which is what I normally use.
I used the J4 plugin......but it may not be plugin related because I did a test menu link directly to a map and nothing would display.
All maps, markers, and icons are in the backend and exactly match what is on the old site.
Re: PhocaMaps not displaying on J4
Posted: 18 Aug 2022, 17:22
by Benno
Hi,
this is not so easy to answer because we don't know what SPTransfer does.
I would first switch to the J4 standard template Cassiopeia to avoid a frontend template problem.
Then I would do the migration locally e.g. with xampp again (or if possible online in a Subdomain) according to the instructions I linked and then put it online via FTP if everything works as it should.
Kind regards,
Benno
Re: PhocaMaps not displaying on J4
Posted: 19 Aug 2022, 14:24
by PJones54
Benno wrote: 18 Aug 2022, 17:22
Hi,
this is not so easy to answer because we don't know what SPTransfer does.
I would first switch to the J4 standard template Cassiopeia to avoid a frontend template problem.
Then I would do the migration locally e.g. with xampp again (or if possible online in a Subdomain) according to the instructions I linked and then put it online via FTP if everything works as it should. :idea:
Kind regards,
Benno
I've done as you suggested Benno.....no difference.
Same thing with any template I try too.
Re: PhocaMaps not displaying on J4
Posted: 20 Aug 2022, 09:27
by Benno
Hi,
if you create the Phoca Maps component menu item again (for testing) and set 'Error Reporting=Maximum' and 'Debug System=Yes' in the Global Configuration, would you get any error messages (call stack) in the frontend, when you click on the Phoca Maps component menu item? Or in the JS-Console (F12)?
Kind regards,
Benno
Re: PhocaMaps not displaying on J4
Posted: 22 Aug 2022, 11:33
by PJones54
Benno wrote: 20 Aug 2022, 09:27
Hi,
if you create the Phoca Maps component menu item again (for testing) and set 'Error Reporting=Maximum' and 'Debug System=Yes' in the Global Configuration, would you get any error messages (call stack) in the frontend, when you click on the Phoca Maps component menu item? Or in the JS-Console (F12)?
Kind regards,
Benno
Thanks Benno......you can see the output here in Debug:
https://www.onfootinspain.com/new/tours ... ne-journey
Re: PhocaMaps not displaying on J4
Posted: 22 Aug 2022, 23:13
by Benno
Hi,
Thanks Benno......you can see the output here in Debug:
yes thank you, but I don't find any menu item to Phoca Maps Component..
Kind regards,
Benno
Edit:
But here I found Phoca Maps Plugin code:

and the map:

So it seems to be working now?
Re: PhocaMaps not displaying on J4
Posted: 23 Aug 2022, 07:57
by PJones54
Benno wrote: 22 Aug 2022, 23:13
Hi,
Thanks Benno......you can see the output here in Debug:
yes thank you, but I don't find any menu item to Phoca Maps Component.. :idea:
Kind regards,
Benno
So it seems to be working now?
That's a map in SP Page Builder.....not Phoca.
Here's the result of a direct component link:
https://www.onfootinspain.com/new/map
Re: PhocaMaps not displaying on J4
Posted: 23 Aug 2022, 14:02
by Jan
Hi, the map is there, it is only hidden by CSS.
When I set 100px height for the map box, I get this result:
Try to go to options and try to set some height for the map.
Jan