No Events when hosting with DesktopServer
-
I’m developing locally using DesktopServer and encountered an error in my Chrome console:
XMLHttpRequest cannot load https://xxxxxxxxxx/wp-admin/admin-ajax.php?action=WP_FullCalendar&type=event&month=1&year=2016&start=2016-01-31&end=2016-03-13&_=1456171061302. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://localhost:8001’ is therefore not allowed access.
No events would show up in the FullCalendar with Chrome until I installed this extension: https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi
FullCalendar events displayed in Safari, but no tooltips would load. No tooltips load in Chrome either.
I’ve not tried migrating the site to a live server so I don’t know if that would change anything.
What is causing the XMLHttpRequest error? Is there any way that I can get events and tooltips to display while developing locally?
- The topic ‘No Events when hosting with DesktopServer’ is closed to new replies.