WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yet Another Related Posts Plugin] Upgrade to R3 gives include error (28 posts)

  1. slobizman
    Member
    Posted 4 years ago #

    It was working fine on release 2.1.6, and I upgraded to 3.0/ Now I get the following error:

    Warning: include() [function.include]: Failed opening '/Applications/MAMP/htdocs/wp-content/themes/thesis/' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/wp-content/plugins/yet-another-related-posts-plugin/magic.php on line 300

    Can you help me?

  2. gcluley
    Member
    Posted 4 years ago #

    Afraid to say that I am having the same problem since i upgraded from 2.16 to 3.0. I've temporarily disabled the plugin as a result.

  3. rhalpha
    Member
    Posted 4 years ago #

    I am getting this Errors:

    Warning: include(D:\www/wp-content/themes/xxx/) [function.include]: failed to open stream: No such file or directory in D:\www\wp-content\plugins\yet-another-related-posts-plugin\magic.php on line 300
    
    Warning: include() [function.include]: Failed opening 'D:\www/wp-content/themes/xxx/' for inclusion (include_path='.;C:\php5\pear') in D:\www\wp-content\plugins\yet-another-related-posts-plugin\magic.php on line 300

    Disabled as a result.

  4. AlexaD
    Member
    Posted 4 years ago #

    Same exact deal here. Working fine until the upgrade. I've turned it off until something is fixed.

  5. figuromo
    Member
    Posted 4 years ago #

    same deal here... it has been working fine until the auto update and is now screwed up. I pulled it down on my blog until it is fixed.

  6. Liz Hover
    Member
    Posted 4 years ago #

    Uh oh! Exactly the same problem with me. Have also disabled plugin until this issue is fixed.

  7. technofriends
    Member
    Posted 4 years ago #

    Same here...even i have disabled the plugin.
    Cheers
    Vaibhav

  8. NicholasPerkins
    Member
    Posted 4 years ago #

    Having the same issue here. Thought it might have been me.

    Still could be me.

  9. fbreve
    Member
    Posted 4 years ago #

    Same problem here.
    Also disabled the plugin until a fix.

  10. Bangbay Siboliban
    Member
    Posted 4 years ago #

    You have to copy the templates in the yarrp-templates folder into your current theme folder. Then go to the Plugin Options and build your cache and select a template. If you're having a caching conflict, you may have to go to the Themes section and press activate on your current theme again.

  11. Hi all. I apologize for the trouble this has caused a number of people. If you save your YARPP options once in the YARPP options screen the problem will disappear. Nevertheless, I've pushed a bugfix as version 3.0.1 which should resolve this issue. Please let me know if this takes care of it. Thank you!

  12. figuromo
    Member
    Posted 4 years ago #

    problem solved. Thanks!

    I rebuilt the cache, and saved the settings.
    all back to normal.

  13. @figuromo - thanks for the report. Glad all is well now. I apologize to all for the problem!

  14. AlexaD
    Member
    Posted 4 years ago #

    That solved the problem for me as well, after I rebuilt the cache.

    Thanks. ;-)

  15. technofriends
    Member
    Posted 4 years ago #

    Thanks mitchoyoshitaka.Problem solved.

  16. ajua
    Member
    Posted 4 years ago #

    The problem was solved by moving the templates to the current theme root. Why is this happening? I rebuilt my cache just to make sure.

    Everything is working fine now.

    Maybe you can add and option to move those templates from the options page of the plugin?

    Thanks for this great plugin.

  17. fbreve
    Member
    Posted 4 years ago #

    Upgraded to 3.02 and saved the options as mitchoyoshitaka told us, the problem is now solved. Thanks mitchoyoshitaka.

  18. fbreve
    Member
    Posted 4 years ago #

    Actually, not everything is allright. The version 3.02 still introduces a weird bug where special characters like ã, á, ü, ó, é, etc. are wrongly encoded to ISO-8859-1 instead of UTF-8 when I publish a new article. That doesn't happen when the plugin is disabled.

  19. g33kg0dd3ss
    Member
    Posted 4 years ago #

    I've had the same problem as others have had: the include() error, before saving the options and moving the template files with version 3.0.2. I had to take those steps before 3.0.2 would work for me.

    Additionally, the plugin contains this line in includes.php:
    require_once('services.php');

    I happened to have a file named services.php from the previous (non-WP) version of my site in the site's root directory. *That* file was included rather than the one in the YARPP plugin directory. Renaming my services.php got rid of this particular include problem, but I figured you'd probably want to be alerted to this behavior nonetheless.

    Congratulations on a brilliant plugin, and I look forward to tinkering with the new template feature. :)

  20. slobizman
    Member
    Posted 4 years ago #

    I have installed 3.02 and have a new problem. I got it installed, and the first time I went to a post to see how it is working, it gave what looked like the same error. So I went to the plugin's setting and clicked the button to update the settings. Then at the top of the page it said something was not complete, something about my cache, and asked me to click to continue. I did. It started building my cache, got to 61.4%, stopped building, and a message came up "Try to Continue". When I click on that it just comes right back up again. I cannot get it to finish.

    The posts show related posts, but I fear it's calculating a lot of that on the fly. How can I get it to complete building my cache?

    (I have about 800 posts. It is on a dedicated server, and is fast.)

  21. slobizman
    Member
    Posted 4 years ago #

    Update to post above:

    The cache building seems to run for exactly one minute and then stops. Every time I go back to the cache status link, it comes up at the same percentage completed and is still hung up.

    But then, if I go to the bottom of the options page and click Update Options, I get a message that says "Your cache is 96% complete." with a button to "build the cache now." When I click that it starts at zero again and the whole process continues all over again.

  22. @g33kg0dd3ss thanks for the services weirdness... that's odd, though, but it must have something to do with your PHP include path.

    I wanted to let everyone know that I accidentally did *not* include my 3.0.1 patch in 3.0.2... so the include bug is back. To fix it, go to your YARPP settings and save it once. That should do it. Sorry about that--it'll be for sure included in the next bugfix.

  23. @slobizman - you can't close the cache status window... maybe that's the problem. Alternatively, if you leave the "on the fly" option on, it'll naturally build the cache over time, which may be safer. If you go to 96%, for example, and leave the "on the fly" option on, if a visitor visits that other 4%, it will build it when that happens.

  24. slobizman
    Member
    Posted 4 years ago #

    Thanks for the reply. I didn't close the status window until it was stopped for at least a half hour.

  25. slobizman
    Member
    Posted 4 years ago #

    So, do I just ignore the following message at the top of the Plugin options page for as long as I use it without worry? Will it ever go away?

    "Your Related Post cache is incomplete. Please build your cache..."

  26. @slobizman - if you have the "on the fly" option turned on, you can safely ignore that warning... perhaps I will make that notice less warning-looking in the future.

  27. rainbow_star
    Member
    Posted 4 years ago #

    I have another problem after upgrade to YARPP 3.0.x
    I'm still using WordPress 2.7, after I upgrade to 3.0.x, my "Users" page in the WordPress admin page doesn't display anything. After I deactivate YARPP, the Users page comes back with the list of users.

  28. @rainbow_star - huh, that's completely bizarre... I don't have any idea off the top of my head why that would happen... what other plugins are you using? Anything that updates the Users screen?

    @rainbow_star, could you start another topic in the forum here with this question? Perhaps someone else has the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic