Google Maps error on one site, not another

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
umbrellax2
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Fri Apr 30, 2010 2:14 pm

Google Maps error on one site, not another

Post by umbrellax2 » Tue May 21, 2024 10:46 pm

Joomla 4.4 sites - one shows an iframed Google map fine, the other does not:

Works - https://themixtopeka.com/contact

Fails - https://mohanconstruction.com/contact

Checking console it shows the error below *only* on the failing site. Htaccess? Joomla setting? JCE? I'm stuck!

Blocked script execution in 'https://www.google.com/maps/embed?pb=!1 ... !1sen!2sus' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

Any ideas?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: Google Maps error on one site, not another

Post by Webdongle » Tue May 21, 2024 11:45 pm

Switch Templates
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2794
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Google Maps error on one site, not another

Post by ceford » Wed May 22, 2024 1:02 am


SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2990
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Google Maps error on one site, not another

Post by SharkyKZ » Wed May 22, 2024 5:09 am


User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: Google Maps error on one site, not another

Post by Webdongle » Wed May 22, 2024 3:56 pm

View the source and you will find the copy template is missing code. Suggest you try creating a child template.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “General Questions/New to Joomla! 4.x”