Forums

Feed Statistics (./../../wp-config.php) error (5 posts)

  1. gregjsmith
    Member
    Posted 8 months ago #

    This plugin is supposed to be able to track clicks on feeds. However when clicking a link it generates these errors.

    Warning: require(./../../wp-config.php) [function.require]: failed to open stream: No such file or directory in /home/dir_name/public_html/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php on line 32

    Warning: require(./../../wp-config.php) [function.require]: failed to open stream: No such file or directory in /home/dir_name/public_html/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php on line 32

    Fatal error: require() [function.require]: Failed opening required './../../wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dir_name/public_html/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php on line 32

    http://wordpress.org/extend/plugins/wordpress-feed-statistics/

  2. rmsylte
    Member
    Posted 2 months ago #

    This error has still not been corrected. Anyone know what is happening?

  3. jtimar
    Member
    Posted 1 month ago #

    I emailed the author, but he didn't seem to care, just claimed everything was working fine for him.

  4. mattyza
    Member
    Posted 1 month ago #

    Hi gregjsmith, rmsylte and jtimar,
    I've installed this plugin and have an idea as to where the error is coming in.

    It seems like the call to the Wordpress config file isn't working, as it is looking for the file in the incorrect directory.

    If you could please try the following:

    Replace require("./../../wp-config.php"); on line 32 of feed-statistics.php with require("../../../wp-config.php");

    (Note the extra dot (.) after require(".)

    Please advise if this resolves the issue.

    I hope this helps. :)

    Cheers,
    Matty.

  5. curiouschaos
    Member
    Posted 3 weeks ago #

    That still doesn't fix the error. I've also tried a few combinations of dots and slashes and nothing seems to work. Could it be a permissions error? I doubt it, but I can't see any other reason why it won't work.

Reply

You must log in to post.

About this Topic