help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

JEM Modul-Calendar CORS Error

JEM Modul-Calendar CORS Error

5 years 9 months ago
#25811
Hey!
I'm using the JEM Modul-Calendar 2.2.3 at Joomla 3.9.3.
For me everything seems to work fine at any browser - i can move back and force one month or year by clicking the arrows, since one of our users told me he could not navigate in the modul. The pointer changes from arrow to pointing finger, but if clicks an arrow nothing happens. I won't belive it since i could reproduce the error on a different computer - he's right!
In the browser console i can see:
Code:
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://amateurfunk-im-alstertal.de/?option=com_ajax&module=jem_cal&format=raw&Itemid=101&modjemcal_id=144&modjemcal_month=4&modjemcal_year=2019. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt).[Weitere Informationen] 2
sorry, german OS
So i included
Code:
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin * </IfModule>
to the .htaccess and everything works fine.
But now i'm afraid i opend an insecure door :(
Is there a better way to solve this problem?
Using
Code:
'https://my.domain.tld'
instead of '*' doesn't work.

Thanks a lot, vy73 DL9LC
The following user(s) said Thank You: jojo12

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

Re: JEM Modul-Calendar CORS Error

5 years 9 months ago
#25821
From which site do you call the calendar?
The following user(s) said Thank You: jojo12

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

Re: JEM Modul-Calendar CORS Error

5 years 9 months ago
#25822
Hey, Egnarts,
it all happens at one site . amateurfunk-im-alstertal.de
Maybe it is relevant, that this site is migrated from Joomla 2.5 without ssl and the old Eventlist installed.
I don't know what's going on there :(
vy73 DL9LC, Lena

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

Time to create page: 0.571 seconds