Home › Forums › Lite Version › Just shows Loading button, no posts
- This topic has 3 replies, 2 voices, and was last updated 3 years, 9 months ago by
Masonry Guy.
- AuthorPosts
Debbie Campbell
GuestI’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?
Masonry Guy
KeymasterHi Debbie,
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.
Thanks
Corie Hinton
GuestI’m having this same issue. It just shows the 3 animated dots that says it’s loading, but never loads. Any ideas?
Masonry Guy
KeymasterHi Corie,
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.
Thanks
- AuthorPosts