WordPress.org

Ready to get started?Download WordPress

Forums

Tweet Fader
[resolved] Failed to open stream (12 posts)

  1. bartleriche
    Member
    Posted 1 year ago #

    Hi!

    I can't get the plugin to work, I get an error that's telling me it failed to open the required files:

    Warning: require_once(components\twitteroauth.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/ageeth/wp-content/plugins/tweet-fader/Tweet-Fader.php on line 132
    
    Fatal error: require_once() [function.require]: Failed opening required 'components\twitteroauth.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/ageeth/wp-content/plugins/tweet-fader/Tweet-Fader.php on line 132

    Got any idea how I can fix this?
    Thanks!

    http://wordpress.org/extend/plugins/tweet-fader/

  2. RBijkerk
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Can you verify if the twitteroauth.php is in the components directory?

    Kind regards,
    Ryan

  3. bartleriche
    Member
    Posted 1 year ago #

    Hi Ryan,

    Thanks for your answer but I already got the functionality to work with another plugin: https://github.com/pixel-industry/TweetScroll---jQuery-plugin

    Bart

  4. RBijkerk
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bart,

    Thank you for the reply. I'm glad you have found a the functionality you wanted.
    I will try to reproduce your error and find a way to resolve it.
    Thank you for reporting and I will mark this as resolved.

    Kind regards,
    Ryan

  5. anmolrajdev
    Member
    Posted 9 months ago #

    Warning: require_once(components\twitteroauth.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/ageeth/wp-content/plugins/tweet-fader/Tweet-Fader.php on line 132

    Fatal error: require_once() [function.require]: Failed opening required 'components\twitteroauth.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/ageeth/wp-content/plugins/tweet-fader/Tweet-Fader.php on line 132

    Encountered the same problem. Go to line 132 in plugins/tweet-fader/Tweet-Fader.php and just change the path
    from
    if(!require_once('components\twitteroauth.php')){
    to
    if(!require_once('components/twitteroauth.php')){

    That should solve the problem. :)

  6. RBijkerk
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Anmolrajdev,

    Thank you for the reply! I'll try to update the plugin with your fix asap. I really appreciate this! Again thank you!

    Kind regards,
    Ryan

  7. pressingtheword1
    Member
    Posted 2 months ago #

    Getting this message after removing comment.php from wp-includes upon advice saying to remove it to stop comments. Have repaced comment.php but now getting this error.
    Warning: require_once(/home/vickiyen/public_html/carlpick65new/wp-includes/admin.php): failed to open stream: No such file or directory in /home/vickiyen/public_html/carlpick65new/wp-includes/comment.php on line 10

    cannot log into site - after moving it and after replacing comment.php.
    Have made NO changes to this file at all.

  8. RBijkerk
    Member
    Plugin Author

    Posted 2 months ago #

    Hi pressingtheword1,

    First I want to make clear this has nothing to do with the plugin Tweet Fader.
    The file cannot be found on the right location and because the comment.php is require_once you cannot just remove it.
    You have to make sure the comment.php is not used within your code.
    To resolve this make sure the comment.php is not require_once or make sure the file is on the right location and can be accessed.
    Hope this helps.

    Kind regards,
    Ryan

  9. pressingtheword1
    Member
    Posted 2 months ago #

    site is http://www.vickiyenphoto.com.au/carlpick65new/ but is currently passworded - [ password redacted, if you need support please open up the site ]

  10. pressingtheword1
    Member
    Posted 2 months ago #

    not using that plug-in. I put the comment.php back in the /wp-includes directory and has the correct r/w permissions. I Do not understad why I am getting this error message since I have done nothing but move the file out of the /wp-includes dir and then moved it back in. I also moved the comment-template.php and moved it back to the /wp-includes dir. Just moved - no modifying!

  11. pressingtheword1
    Member
    Posted 2 months ago #

    what does - require_once( dirname( __FILE__ ) . '/admin.php' ); actually mean?

  12. pressingtheword1
    Member
    Posted 2 months ago #

    Managed to get the site working again by copying a new comment.php from my local machine. This file looked nothing like the non working one on the site.
    Which leads me to the crux of what I was trying to do - Turn all comments off permanently. How do I do this - I am using the Envisioned Theme?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.