• I have the plugin installed, and am using a template to pull in images. I am still getting a no related posts found, even if I don’t use the template.

    There are no error messages on the settings page. The only message I see is:

    Options saved! If you updated the “pool” options or “relatedness” options displayed, please rebuild your cache now from the related posts status pane.

    I tried to build the cache, but when doing so, I get this message: Constructing the related posts timed out.

    I am using MYSQL Version: 5.0.51a, PHP: 5.2.8

    Any help would be appreciated!

    Thanks!

    Dan

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter dgalfano

    (@dgalfano)

    Neglected to give more details:

    Am using WPMU 2.8.1.
    I am using the YARPP template based on this article: https://buildinternet.com/2009/07/display-thumbnails-for-related-posts-in-wordpress/

    In PHPmyadmin, I see 2 tables, yarpp keyword cache and yarpp related cache, both of which have records. The related cache lists a reference ID, but no score.

    Maybe that’ll help?

    Dan, when it times out, try pressing the “keep trying” button. Alternatively, if you have the “on the fly caching” option enabled, you can just leave your cache incomplete and it’ll naturally complete over time.

    Hi there,

    I just tried installing it on my wordpress and it keeps saying “timed out” also.

    I have over 30,000 posts with 3400 tags and 1780 categories…”on the fly caching” is extremely slow (it takes about 10 minutes for one post to appear)…

    Any suggestions?
    Thanks
    Richard.

    Hi Mitcho!

    I love YARPP!! It’s incredible and it really does a great job. I would just like some help because its timing out with so many categories and posts I have.

    Perhaps i should switch to dedicated hosting? Will that solve my issue?

    Any help would be very much appreciated.

    Thanks
    Richard.

    Wow… ok, Mitcho you are amazing!

    Found the answer myself through mitcho blog

    “Does YARPP slow down my blog/server?

    A little bit, yes. Every time you display a post with automatic display of related posts (or one of the related_*() functions) it will calculate the related posts, which can be a database-intensive operation. I highly recommend all YARPP users use a page-caching plugin, such as WP-SuperCache. For the majority of users, this type of caching will be enough to stem the performance issues.

    If you have a large blog with many (>1000) posts or have many tags or categories, YARPP may noticibly affect your blog’s performance, even with a caching plugin. For these large blogs, for the time being I recommend you disable the “consider tags” and “consider categories” options. Turning off any “disallow” tags or categories will also speed things up.

    In the future I will be building a YARPP-internal cache system so that YARPP can calculate all the post-relations at one time and then re-use those results every time, rather than calculating them on the fly.”

    Thanks again mitcho for this great plugin.

    I will donate!

    @rjunior – glad you found that in the FAQ. But—whoops—it’s out of date! That new caching system has been in place since 3.0. I will have to update it.

    To summarize, if you leave the on the fly option on there is no need to worry about it timing out. ??

    I found that I keep on getting the “Constructing the related posts timed out” message, and the reason why was that I had the WP Super Cache plugin enabled, and that plugin was inserting an HTML comment after the JSON in the AJAX request, causing the parsing of the JSON to fail.

    Disabling the Super Cache plugin allowed me to manually refresh the YARPP cache.

    Thanks for pointing this out, @kingbyu. I’ve heard of incompatibilities with Super Cache before as well, but have never been able to reproduce it (I myself use SuperCache on all my blogs and have never had any problems). Hmph. :/

    I keep getting the “Constructing the related posts timed out” message when I try to update the cache as well. I do have the compute on the fly option enabled which is fine. However, I want to disallow some categories and it doesn’t seem to take that into consideration on the fly.
    Thoughts?

    Thanks

    @sdhunt the algorithm used when built manually and on the fly are equivalent.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Constructing the related posts timed out.’ is closed to new replies.