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

  • slingshotsean
  • Auteur du sujet
  • Visiteur
  • Visiteur
il y a 11 ans 7 mois #1686 par slingshotsean
Origin is not allowed by Access-Control-Allow-Orig a été créé par 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?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 7 mois #1690 par 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 6 mois #1694 par 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, ...

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.078 secondes
Propulsé par Kunena
FaLang translation system by Faboba