WordPress.org

Forums

[Plugin: Yet Another Related Posts Plugin] YARPP installed, but nothing shows up under the posts (28 posts)

  1. fscinico
    Member
    Posted 6 years ago #

    I just installed YARPP 2.0.4 on scinico.org. the plugin is active. I have the manual setup with the code
    <?php echo related_posts(); ?>
    placed under the post content on my post php page.
    Yet nothing at all shows up, as if the plugin were not installed.
    I also tried the "automatically display related posts?" option in YARPP settings. Same result: nada, nothng.
    What am I doing wrong?
    thank you.
    Frank

  2. @fscinio, hm, I apologize it doesn't seem to be working out-of-the-box. Please check your preferences and make sure some of the key options are actually set and not blank (the "threshold," maximum number of related posts, before and after the related posts display, the "no related posts" option, etc.). If for some reason those default settings were not set on install, it is possible that you will see absolutely no output.

    If those settings are indeed set but you see no output, please take a look at the source of your HTML files and see if there is any error code produced. Such strings would be valuable in helping me solve your problem.

    mitcho

  3. Anonymous
    Unregistered
    Posted 6 years ago #

    Same here.
    No dissalows
    Max posts 4
    Threshold 0.1
    Everthing ticked 'considered'
    Automatically create reports is ticked
    Before and after entries populated

    If i enter a 'default display' then I see test on the post but otherwise, its blank.

    Steve

  4. Anonymous
    Unregistered
    Posted 6 years ago #

    one more thing....
    No errors in the page source.
    Steve

  5. fscinico
    Member
    Posted 6 years ago #

    I was able to get it working. I had to play wit the threshold level.
    thank you much.

  6. @stevepaine, by "default display", do you mean the "no results display"? If that is being printed, than you indeed have no related posts for that post... I would recommend checking some other entries of yours, especially with such a low threshold.

    For all others: if you don't see any results on install, try a lower threshold value first. Thanks!

    mitcho

  7. Anonymous
    Unregistered
    Posted 6 years ago #

    Hi mitchoyoshitaka

    By "default display" I mean "Default display if no results:"

    If I populate it, I get the test on the screen but if not, I get nothing.

    I have the threshhold at 0.1 and have tried 0.001 !!

    Still no results. My wordpress DB has 2500 articles in it on one product segment so i'm guessing there should be some good matches!

    Regards
    Steve.

  8. @stevepaine I would love to work with you to try to solve this confounding issue... If you could email me with your skype or aim screen name perhaps we can get in touch and figure this out!

    Thank you for your time and comments,

    mitcho

  9. markfu
    Member
    Posted 6 years ago #

    Hi mitchoyoshitaka,

    I have been having the same problem where no related posts show up as they they have in the past. In fact I remember seeing it a few days ago. I have tried the suggestions in this thread including taking the threshold level to .1.
    I don't have any output on postings new and old. Can you help?

    Markfu

  10. markfu
    Member
    Posted 6 years ago #

    I am using WP 2.6 should that make a difference.

    Markfu

  11. @markfu Please verify that the "no related posts" text is output... if you receive *no* output at all, that would be a vastly different problem. Please also check the source produced and see if there are any error messages produced where the related posts should be.

    If you always do get the "no related posts" text printed, just as with @stevepaine, I would love to work with you to resolve and patch the problem quickly. Please email me if that is the case. Thank you!

    m

  12. markfu
    Member
    Posted 6 years ago #

    Thanks micho. I am getting no output at all and no error message. I had seen "no related posts" in earlier posts, but nothing recently.

    Interestingly, when I go to the post as it appears to my readers, the is no output at all. When I go to the edit page of the post, and click on "View this post", I get normal output. When I return to post again, still no output.

  13. @markfu Please check if that is a caching issue... do you use something like WP-Cache or SuperCache? If so, please try turning that off once (or reseting the cache) and see if that fixes the problem. If not, please let me know and I would love to try to work with you to solve the problem.

    mitcho

  14. TheBigFox
    Member
    Posted 6 years ago #

    Hello all. It seems I have the same problems. I've cheched all, used a very low treshold (0.1), deselected automatic display and used related_posts in my post page but i get "no related posts".

    I also tried to check the existence of related_posts function and it exist and turned out caching plugins.

    My content is in Italian, don't know if that can help.

    Thanks,
    Antonio

  15. @TheBigFox The Italian content should not be a problem... if you email me I can send you a debug version and we can try to figure out the issue.

    mitcho

  16. Hi all--

    With @TheBigFox's help, I have identified an issue with my main query under MySQL 4.0 and below. (For those of you who are curious, my query uses a number of subselects, a feature introduced in 4.1.) I believe a workaround is possible, but... who still uses MySQL 4.0? Have some hosting services not upgraded? I'd love to get some feedback on this issue.

    If I do not work in the alternative query syntax into the plugin (which would be difficult as I would then have to maintain both query types), I will at least make sure to add a notice stating that the plugin requires >4.1. Thank you all for your reports!

    mitcho

  17. techguy
    Member
    Posted 6 years ago #

    Thanks for the plugin mitchoyoshitaka. I had this same problem, but saving the thresholds fixed it for me. I also had to make sure that my wp-cache files were deleted so that I could see the updated page and not the cached version of the page that was created before the plugin was working. I imagine some other people will run into the cache problem if they are using wp-cache.

  18. @crashutah, thanks for your report. I may look into the WP-Cache interaction... I believe Cache offers some routines to force a rebuild of the caches. I'll check it out.

    mitcho

  19. kingkong954
    Member
    Posted 6 years ago #

    I am getting 'no related posts' on a 2.6 install. Thresholds have been set as low as possible.

    The interesting thing, however, is on the SETTINGS panel for the plugin, the following alert is always at the top of page, no matter what:

    "The YARPP database had an error but has been fixed."

    I was able to get the plugin working fine on a different wordpress site on another server, but not on this one.

  20. kingkong954
    Member
    Posted 6 years ago #

    Please disregard my above -- the error was related to the main MySQL account not having access to create new tables.

  21. squirrelofsnooze
    Member
    Posted 6 years ago #

    i've set the threshold to 0.1, and even tried 0.01 and i know for a fact that there are related posts, but i am still getting "No related posts." i also don't get any match results when logged in as the admin. i'm running 2.6 with the latest version of the plugin. what do i do?

  22. squirrelofsnooze
    Member
    Posted 6 years ago #

    and i got the same error as kingkong. i have an older version of this plugin installed on a site running wp 2.5 on the same server and it works perfectly.

  23. @kingkong954, thanks for the heads up... I'll add this to the FAQ.

    @squirrelofsnooze, by chance are you using MySQL 4.0? I've recently learned that 2.0's new features require MySQL 4.1 (as it uses subselect syntax). The older versions (1.5.1) have a very different query structure, making it more lenient in restrictions.

    mitcho

  24. squirrelofsnooze
    Member
    Posted 6 years ago #

    it's MySQL 4.1.21, so that probably isn't the problem.

  25. princesshu
    Member
    Posted 6 years ago #

    It does not work at all on my WP 2.6 site. The threshold has been set to 0.1.

  26. Hi @TheBigFox and others — I have a new version of the algorithm which should work with mysql 4.0 (and is also faster and less memory-intensive on large blogs). I would greatly appreciate it if you could beta it. Please email me and I will send you the beta.

    mitcho

  27. sarahheal
    Member
    Posted 6 years ago #

    Markfu,

    I have exactly the same problem as you:

    "Thanks micho. I am getting no output at all and no error message. I had seen "no related posts" in earlier posts, but nothing recently.

    Interestingly, when I go to the post as it appears to my readers, the is no output at all. When I go to the edit page of the post, and click on "View this post", I get normal output. When I return to post again, still no output."

    Have you been able to resolve this?

    Regards

    Sarah

  28. Hi @sarahheal — as some others have recommended as well, I would recommend you clear your cache (if you use any) and see if that helps. Please let me know if that doesn't work for you.

Topic Closed

This topic has been closed to new replies.

About this Topic