PhocaMaps not displaying on J4

Phoca Maps - displaying maps in Joomla! CMS
PJones54
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 18 Aug 2022, 13:20

PhocaMaps not displaying on J4

Post 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?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: PhocaMaps not displaying on J4

Post 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
PJones54
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 18 Aug 2022, 13:20

Re: PhocaMaps not displaying on J4

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: PhocaMaps not displaying on J4

Post 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. :idea:

Kind regards,
Benno
PJones54
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 18 Aug 2022, 13:20

Re: PhocaMaps not displaying on J4

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: PhocaMaps not displaying on J4

Post 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
PJones54
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 18 Aug 2022, 13:20

Re: PhocaMaps not displaying on J4

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: PhocaMaps not displaying on J4

Post 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.. :idea:

Kind regards,
Benno

Edit: But here I found Phoca Maps Plugin code:
Image
and the map:
Image
So it seems to be working now?
PJones54
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 18 Aug 2022, 13:20

Re: PhocaMaps not displaying on J4

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaMaps not displaying on J4

Post 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:

Image

Try to go to options and try to set some height for the map.

Jan
If you find Phoca extensions useful, please support the project
Post Reply