Topic: Just shows Loading button, no posts | WP Masonry Layout

Just shows Loading button, no posts

Home Forums Lite Version Just shows Loading button, no posts

This topic contains 3 replies, has 2 voices, and was last updated by  Masonry Guy 5 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16793 Reply

    Debbie Campbell

    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?

    #16824 Reply

    Masonry Guy
    Keymaster

    Hi 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

    #17470 Reply

    Corie Hinton

    I’m having this same issue. It just shows the 3 animated dots that says it’s loading, but never loads. Any ideas?

    #17477 Reply

    Masonry Guy
    Keymaster

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Just shows Loading button, no posts
Your information: