WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Admin Log] Unable to Login (3 posts)

  1. indiq
    Member
    Posted 4 years ago #

    Hello David, Pls. Chk http://meetsaulmarques.com/

    You could see the following error

    ///Warning: fopen(../wp-content/plugins/admin-log/admin_log.txt) [function.fopen]: failed to open stream: No such file or directory in /home/content/s/a/u/saulm/html/wp-content/plugins/admin-log/admin-log.php on line 83

    Warning: filesize() [function.filesize]: stat failed for ../wp-content/plugins/admin-log/admin_log.txt in /home/content/s/a/u/saulm/html/wp-content/plugins/admin-log/admin-log.php on line 84

    Warning: fread(): supplied argument is not a valid stream resource in /home/content/s/a/u/saulm/html/wp-content/plugins/admin-log/admin-log.php on line 84

    Warning: fclose(): supplied argument is not a valid stream resource in /home/content/s/a/u/saulm/html/wp-content/plugins/admin-log/admin-log.php on line 85
    /////

    Now I am unable to login to the site at all, let me know if I remove the plug-in using FTP will help me solving the issue or is there any other way

    Thanks

    http://wordpress.org/extend/plugins/admin-log/

  2. SFGolfer
    Member
    Posted 4 years ago #

    I'm having the same issue on 2.9.2.

    I had to delete the entire plugin folder at /plugins/admin-log to be able to login.

  3. B Hays
    Member
    Posted 4 years ago #

    I believe the problem is from a relative path when trying to open the admin_log.txt file.

    To correct this, open admin-log.php in an editor and change the following (line 73 & 82):
    $file = '../'.PLUGINDIR.'/admin-log/'.$file;
    to:
    $file = ABSPATH.PLUGINDIR.'/admin-log/'.$file;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags