[solved] Blank map on product details

More
8 years 10 months ago - 8 years 10 months ago #28260 by Mascia
Hello
thank to your previous instructions, i have saved the coordinates in a test product..
However in the product detail page the map does not load. Looks like javascript is ok... can you help me?
gofame.net/index.php/404/404/posina-stagionato-detail
Thank you

Setting static image it works ( at least i can see an image )
Last edit: 8 years 10 months ago by nordmograph.

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

More
8 years 10 months ago #28262 by nordmograph
The map is missing coordinates for the product can you double check you set some.
Also check if you have default coordinates set.

Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
8 years 10 months ago - 8 years 10 months ago #28263 by Mascia
Replied by Mascia on topic Blank map on product details
Looks like the values in the sql are saved :

Defaults:
INSERT INTO `g492x_virtuemart_customs` (`virtuemart_custom_id`, `custom_parent_id`, `virtuemart_vendor_id`, `custom_jplugin_id`, `custom_element`, `admin_only`, `custom_title`, `show_title`, `custom_tip`, `custom_value`, `custom_desc`, `field_type`, `is_list`, `is_hidden`, `is_cart_attribute`, `is_input`, `layout_pos`, `custom_params`, `shared`, `published`, `created_on`, `created_by`, `ordering`, `modified_on`, `modified_by`, `locked_on`, `locked_by`) VALUES
(1, 0, 0, 0, '0', 0, 'COM_VIRTUEMART_RELATED_PRODUCTS', 1, 'COM_VIRTUEMART_RELATED_PRODUCTS_TIP', 'related_products', 'COM_VIRTUEMART_RELATED_PRODUCTS_DESC', 'R', 0, 0, 0, 0, 'related_products', 'wPrice="1"|wImage="1"|wDescr="1"|', 0, 1, '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(2, 0, 0, 0, '0', 0, 'COM_VIRTUEMART_RELATED_CATEGORIES', 1, 'COM_VIRTUEMART_RELATED_CATEGORIES_TIP', 'related_categories', 'COM_VIRTUEMART_RELATED_CATEGORIES_DESC', 'Z', 0, 0, 0, 0, 'related_categories', 'wImage="1"|wDescr="1"|', 0, 1, '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(3, 0, 1, 10033, 'vm2geolocator', 0, 'Luogo di produzione', 1, '', 'Vm2geolocator', 'Luogo di produzione', 'E', 0, 0, 0, 0, '', 'latitude=""|longitude=""|zoom=""|maptype=""|radius=""|mode="1"|fe_map_width="200px"|fe_map_height="200px"|default_lat="41.87194"|default_lng="12.56738"|default_zoom="7"|default_maptype="HYBRID"|default_radius=""|stylez=""|scrollwheel="1"|showstreetview="1"|msize="normal"|mcolor="white"|js_key=""|js_client=""|js_signature=""|static_key=""|static_client=""|static_signature=""|', 0, 1, '2015-05-10 20:10:11', 90, 0, '2015-05-12 18:13:20', 90, '0000-00-00 00:00:00', 0);

Product:

INSERT INTO `g492x_virtuemart_product_customfields` (`virtuemart_customfield_id`, `virtuemart_product_id`, `virtuemart_custom_id`, `customfield_value`, `customfield_price`, `disabler`, `override`, `customfield_params`, `product_sku`, `product_gtin`, `product_mpn`, `published`, `created_on`, `created_by`, `modified_on`, `modified_by`, `locked_on`, `locked_by`, `ordering`) VALUES
(6, 2, 3, '', NULL, 0, 0, 'latitude="45.79430970833295"|longitude="11.264290809631348"|zoom="7"|maptype="HYBRID"|radius="0"|mode=""|fe_map_width=""|fe_map_height=""|default_lat=""|default_lng=""|default_zoom=""|default_maptype=""|default_radius=""|stylez=""|scrollwheel=""|showstreetview=""|msize=""|mcolor=""|js_key=""|js_client=""|js_signature=""|static_key=""|static_client=""|static_signature=""|', NULL, NULL, NULL, 0, '0000-00-00 00:00:00', 0, '2015-05-12 16:21:12', 90, '0000-00-00 00:00:00', 0, 0);

if i update the product:

UPDATE `ux1iem2of`.`g492x_virtuemart_customs` SET `custom_params` = 'latitude="41.87194"|longitude="12.56738"|zoom=""|maptype=""|radius=""|mode="1"|fe_map_width="200px"|fe_map_height="200px"|default_lat="41.87194"|default_lng="12.56738"|default_zoom="7"|default_maptype="HYBRID"|default_radius=""|stylez=""|scrollwheel="1"|showstreetview="1"|msize="normal"|mcolor="white"|js_key=""|js_client=""|js_signature=""|static_key=""|static_client=""|static_signature=""|' WHERE `g492x_virtuemart_customs`.`virtuemart_custom_id` =3;

still not working
Last edit: 8 years 10 months ago by Mascia. Reason: Update

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

More
8 years 10 months ago #28264 by nordmograph
and in the backend does the map load correctly after it's saved ?
I can't reproduce the issue on here.
Email me site url and admin credential replying to a forum notification email.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
8 years 10 months ago #28265 by nordmograph
Hi

I logged in and saved the product once with new coordinates. and the map shows now.
I don't like it when it's like magic. Did you do anything ?
Please give it some more test and let me know if anything happens wrong again.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
8 years 10 months ago #28267 by Mascia
Replied by Mascia on topic Blank map on product details
That's really strange... after i gave you the access i logged out and leave everything to yu. I will check and test and let you know.
Thank you

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

Time to create page: 0.332 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.