WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Search Everything] Version 6.4 is broken (6 posts)

  1. toscho
    Member
    Posted 4 years ago #

    Since the upgrade to version 6.4 I get many errors:

    Warning: fopen(logfile.log) [function.fopen]: failed to open stream: Permission denied in /_my_path_/wp-content/plugins/search-everything/search-everything.php on line 250
    unable to write to log file!
    Warning: fwrite(): supplied argument is not a valid stream resource in /_my_path_/wp-content/plugins/search-everything/search-everything.php on line 257

    […]

    http://wordpress.org/extend/plugins/search-everything/

  2. Ralf Weber
    Member
    Posted 4 years ago #

    Hi toscho,

    if you don't need the logfile you can disable logging by editing the source code.
    Change the line 34 of the file search-everthing.php from:
    var $logging = true;
    to
    var $logging = false;
    and save the file.
    You can edit the file by adding the following to your domain:
    /wp-admin/plugin-editor.php?file=search-everything/search-everything.php&plugin=search-everything/search-everything.php

    If you need the logfile you can first change the permission of your wordpress directory - no good idea. Or you can change the location of the logfile by change the line 250 of the file search-everthing.php from:
    $fp = fopen("logfile.log","a+");
    to
    $fp = fopen( SE_ABSPATH . "logfile.log","a+");
    and save the file. Up to now the logfile will be saved in the plugin directory from search-everthing.

    Ralf

  3. Tomcraft1980
    Member
    Posted 4 years ago #

    This should be added by default as there is no need to put the logfile in the wp-root. ;-)

    Would be great to have logging diasabled per default (this is just for debugging) and have the fix: $fp = fopen( SE_ABSPATH . "logfile.log","a+"); included.

    Regards

    Tom

  4. Lionel Chollet
    Member
    Posted 4 years ago #

    Hi d3395, thanks for the quick-fix instructions :-)

  5. icamehere
    Member
    Posted 4 years ago #

    If i install this version my blog gets fu...ed up.Everywhere warnings.

  6. Dan Cameron
    Member
    Posted 4 years ago #

    My mistake guys; thanks for tackling the solution while I was gone. Check for a new version tagging this am.

    Ralf or Tom: I could use your keen eyes on the author search functionality. :) I'm perplexed as to why it doesn't work if comment search is turned on.

Topic Closed

This topic has been closed to new replies.

About this Topic