Origin is not allowed by Access-Control-Allow-Orig

  • slingshotsean
  • Topic Author
  • Visitor
  • Visitor
11 years 6 months ago #1686 by slingshotsean
I am having a terrible time after upgrading from the Free to Pro version of GMapFP, and am not seeing ANY markers on the maps at bostonbreweries.co.za/new/outlets-pro.html.

Google Chrome's Inspector reveals these errors;
Resource interpreted as Script but transferred with MIME type text/html: "http://www.bostonbreweries.co.za/new/index.php?option=com_gmapfp&view=gmapfp&format=raw&layout=places&Itemid=330". outlets-pro.html:509

Uncaught ReferenceError: base_url_gmapfp is not defined style_clusters.js:11
(anonymous function) style_clusters.js:11

Unsafe JavaScript attempt to access frame with URL http://bostonbreweries.co.za/new/outlets-pro.html from frame with URL http://www.bostonbreweries.co.za/new/components/com_gmapfp/index.html. Domains, protocols and ports must match.
 onloadwff.js:182

Got message from bg page - https://mail.google.com/mail/?view=cm&fs=1&tf=1 mailto.js:51
Starting to rewrite mailtos mailto.js:25

XMLHttpRequest cannot load http://www.bostonbreweries.co.za/new/components/com_gmapfp/floatbox/languages/en.json. Origin http://bostonbreweries.co.za is not allowed by Access-Control-Allow-Origin. :(

I suspect that my installation is being limited by the URL [www.bostonbreweries.co.za] that I entered when I purchased the software.

I am building a site in a sub-directory called /new/ so am unable to install this on the live site, until everything is working.

Please advise how I should proceed?

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

More
11 years 6 months ago #1690 by gmapfp
Hi,

It's very strange, because the variable : "base_url_gmapfp " is right !

Can you send me a super user login by PM ?
And I look at tomorrow evening.

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

More
11 years 6 months ago #1694 by gmapfp
Hi,

After more hours of search, I found.

It's the "JB Library" system plugin who change the code !

It put the head code in the body of the page, it's remove the "http:" at the start of the links, ...

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

Time to create page: 0.097 seconds
Powered by Kunena Forum
FaLang translation system by Faboba