Page 1 of 1

Phoca Maps rocks!

Posted: 02 Mar 2023, 18:42
by thepimster
Hi all,
Last night I migrated from Joomla 3.10.x to Joomla 4.2.8, which was somewhat harrowing, but it's done and we are back!
Unfortunately none of my maps showed up, but instead only a grey line....
Read various posts in this forum, and found out I now have to set a px value for height and with, or leave both at 0.

So, great component and great support, and still a very happy Phoca Maps user for probably 10 years now, thanks!

One question though; I have 450 different maps (and growing), on equally as many pages. Do I have to manually change them all, or is there a smarter way to do this?

Thanks so much, and keep it up!
Pim
https://museumships.us/

Re: Phoca Maps rocks!

Posted: 03 Mar 2023, 00:49
by thepimster
Follow up question, as apparently I can't add new maps.
When I try to save a new map I get following error:
Save failed with the following error: Field 'params' doesn't have a default value
:(
What to do?
Thanks
Pim

Re: Phoca Maps rocks!

Posted: 03 Mar 2023, 19:01
by thepimster
Ok, in the meantime I found another post explaining how to fix the error in the database via phpMyAdmin so that is solved.
Remains my question in the first post
Thanks
Pim

Re: Phoca Maps rocks!

Posted: 04 Mar 2023, 15:21
by Jan
Hi, better way would be using some SQL query directly, changing only the column for width and height directly in database. But it depends on many factors, like if the values are the same or different, etc. :idea:

Re: Phoca Maps rocks!

Posted: 04 Mar 2023, 15:50
by Jan
Hi,
before editing the SQL and all the columns, try to test newest Beta (4.0.1Beta)

https://github.com/PhocaCz/PhocaMaps/re ... .1Beta.zip

I have added there some conditions that if the values will not include unit, "px" will be automatically added, so this should help in your case

Image

Please let me know if this works for you.

Jan

Re: Phoca Maps rocks!

Posted: 05 Mar 2023, 13:47
by thepimster
Hi Jan,
I have installed 4.0.1 Beta, but it doesn't change anything for my existing maps
On a new map, setting a value (without px) for width and height just gives me a full-width gray line. When adding 'px' to both values works as expected.
It was worth a shot, but I am going to look in to changing the settings via the database.
Thanks
Pim

Re: Phoca Maps rocks!

Posted: 08 Mar 2023, 00:07
by Jan
Hi, did you clear the cache, etc, I am testing it now, I can add standard values without units and they are translated to px :idea:

Jan