Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Sobi pro house possition google map error Oops! ...
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Sobi pro house possition google map error Oops! ...

Re: Sobi pro house possition google map error Oops! ... 5 years, 11 months ago #31760

Dear ohad,

Please open the file components\com_sobipro\opt\fields\geomap.php
and find the code:
SPFactory::header()->addJsUrl( 'maps.google.com/maps/api/js?sensor='.( $this->determineLocation ? 'true' : 'false' ) );
=> Edit code to:
SPFactory::header()->addJsUrl( 'maps.google.com/maps/api/js?key=AIzaSyBaeYfTIyvWkCMqvtMqigOkho69kiL3QUY&sensor='.( $this->determineLocation ? 'true' : 'false' ) );

and find:
SPFactory::header()->addJsUrl( 'maps.google.com/maps/api/js?sensor='.( $this->determineLocation ? 'true' : 'false' ) );
=> Edit to:
SPFactory::header()->addJsUrl( 'maps.google.com/maps/api/js?key=AIzaSyBaeYfTIyvWkCMqvtMqigOkho69kiL3QUY&sensor='.( $this->determineLocation ? 'true' : 'false' ) );

you can replace the key by your key

Then go to admin >> Component >> Sobipro >> Edit Global Configuration
In Optimisation tab, please set No in all Cache option:
prntscr.com/e6wgvv
then load your site

then you can enable the cache option again for better performance

Thanks
The following user(s) said Thank You: firstcon
  • Page:
  • 1
  • 2
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes