• Resolved zack24790

    (@zack24790)


    Hello,
    I am currently working on a staging site for coloradospringsrealestateguy.com and I am running into a bit of an issue trying to use this plugin. I installed and tried to use it to populate a table of around 50 posts, however, when trying to preview or view this page to see how it looks the page refuses to load and I receive a 504 error. To test this I switched from the staging site back to the current live site and installed the same plugin, this time it worked like a charm.
    I have already reached out to the support for my hosting but was unable to come up with an answer besides pushing to live and hoping that it works correctly.
    As always, any and all help is greatly appreciated.
    Thanks,
    Zack

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andy Keith

    (@andykeith)

    Hi,

    When you say around 50 posts, do you mean this many posts in total in WordPress or 50 posts per page in the table? Sometimes Posts Table will fail to load correctly if it tries to display a table with more than (approx) 1000 posts. You can get around this using the Pro version by enabling ajax to load one page at a time. It could be that your live site has more resources (ram, cpu etc) than your staging site so you don’t hit this problem.

    Andy

    Thread Starter zack24790

    (@zack24790)

    Hi Andy,

    When I say there is 50 posts I mean that the links I am trying to get into the table plugin are being pulled from a category. This category contains around 50 posts, therefore, the end result I am looking for is to see a neat table with 50 results and a search bar directly above to use to navigate to a certain post out of the 50 that are in that category.

    It could be that the staging site has some different specs although I have already checked with our hosting provider and they assured me that they increased the specs to the same as the live site and it still would not work.

    The largest table I will need to generate with this plugin will be 500 results.

    Will we still need the pro version to be able to get it to load correctly?

    Zack

    Thread Starter zack24790

    (@zack24790)

    Update:

    I tested the plugin on two other test pages with new categories. The first test page was to generate a table from a category that only had 5 posts. It worked as expected, without a 504 error. The next page was a category with about 10-15 posts and again it worked just fine. However, after both of these successful attempts, I checked the category with 50 posts and it still gives a consistent 504 error.

    Plugin Author Andy Keith

    (@andykeith)

    Hi Zack,

    It does sound like an issue on your staging site pulling back either that number of posts, or a specific post in that category. You said in your first message that it worked like a charm on the live site, so is it possible to put up with the issue on the staging site as it will work on your live site?

    I think the Pro version will fix the problem if you wanted to try it. You need to set ajax=”true” for this. However, there are some limitations with the search features when using ajax loading, as you can only search within the title and content of a post.

    Andy

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Receiving 504 Error on a Staging Site’ is closed to new replies.