- February 23, 2017 at 4:26 pm #16793Debbie CampbellGuest
I’m on WP Engine hosting, to see the page you’ll need to enter demo, pillow in the authorization popup.
This is the error I see:
GET https://sleepexaminer.wpengine.com/wp-admin/admin-ajax.php?action=wml_load_posts&shortcodeId=1&pageNumber=1&randSeed=127508672 401
(index):1 XMLHttpRequest cannot load https://sleepexaminer.wpengine.com/wp-admin/admin-ajax.php?action=wml_load_posts&shortcodeId=1&pageNumber=1&randSeed=127508672. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://sleepexaminer.wpengine.com’ is therefore not allowed access. The response had HTTP status code 401.
How do I fix this?February 24, 2017 at 4:23 pm #16824Masonry GuyKeymaster
Here is cross domain isuse. The url you are accessing the site is http where as the ajax load is trying to use from https. So due to the mismatch here, its is not allowing to load. So please force your all site url to be https and it should fix the issue.
Or you can enable the Cross domain resource sharing. You can keep this in your htaccess file and it should enable it.
<ifModule mod_headers.c> Header set Access-Control-Allow-Origin: * </ifModule>
Hope this helps.
ThanksApril 11, 2017 at 9:28 pm #17470Corie HintonGuest
I’m having this same issue. It just shows the 3 animated dots that says it’s loading, but never loads. Any ideas?April 12, 2017 at 2:31 pm #17477Masonry GuyKeymaster
Can you please send me url of the page where you have placed the shortcode ? I will check and try to find the cause for it not working.