Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Those are referred to CAPTCHA image, just disable Search Engine accesses to those images. Create a robots.txt file
    The robots.txt file needs to be at the root of your site. If your domain is example.com it should be found:
    On your website: https://example.com/robots.txt

    Put this text in robots.txt file:

    User-agent: *
    Disallow: /wp-content/plugins/wpdiscuz/utils/temp/

    Thread Starter massimod

    (@massimod)

    I will try that.

    Many thanks.

    Thread Starter massimod

    (@massimod)

    btw: is it normal to have in the temp 3-4000+ files ?

    Plugin Author gVectors Team

    (@gvectors-team)

    Those are being removed per 24 hours. There should not be so many files now. Is this just a Google number or you see those in file system? If so just remove all those. wpDiscuz keep clearing this folder every 24 hours.

    Thread Starter massimod

    (@massimod)

    So it is not working right, since i see files in the filesystem, dated 13 of December until today.

    Plugin Author gVectors Team

    (@gvectors-team)

    Try to set permissions 777 for /temp/ folder in /wp-content/plugins/wpdiscuz/utils/ directory.

    This issue comes from servers. Your server PHP is running in the webserver context and not in your user context. This is usually caused by PHP running as the Apache user (mod_php or CGI) rather than the user that owns your WordPress files. We see those cases is about 1%-5% of WordPress users. We’re currently searching for a best solution for this, this is not wpDiscuz issue but we do our best to find some solution.

    Thread Starter massimod

    (@massimod)

    The permissions are perfectly right, 755 for folders and 644 for files. Please do not suggest 777, since it is not right. I won’t mess with permissions.

    I run LiteSpeed webserver with CloudLinux and never had any such problem with WP or plugins.

    Seems strange that the files are only for 13/14/15/16/17 and not before. So the cleanup IS running. But not running right.

    Thanks

    Thread Starter massimod

    (@massimod)

    For example the cleanup of my caching plugin, runs every hour (i think) and everything is deleted without a single problem.

    This is not a permissions problem.

    Plugin Author gVectors Team

    (@gvectors-team)

    Ok, you simply can make sure this is permission or not permission problem by setting 777 for one day. Just let us know the result in 36 hours.

    Thread Starter massimod

    (@massimod)

    Thanks, i will do that.

    Thread Starter massimod

    (@massimod)

    As promised.

    The files are there from 17 of this month and now we are on 21.

    777 or whatever doesn’t work. It is not a permission problem, i’m telling you as an experienced webmaster.

    Plugin Author gVectors Team

    (@gvectors-team)

    Thank you MassimoD
    Sometimes some Secure plugins (e.g. Sucuri) Hardens /wp-content/ and affects wpDiscuz captcha clearing. Something is wrong on your end, could you please remove all captcha files (make sure you don’t delete .htaccess file) in /tmp/ folder. And check it within a day. Maybe the old files fo some reason can’t be removed.

    If it doesn’t work, please do some small change in /wpdiscuz/utils/class.WpdiscuzHelper.php file. Find this line:

    $expired = $fData['mtime'] + (60 * 60 + 1000);

    and change it to this:

    $expired = 0;

    On some servers PHP can’t get the date of file modification, we need to see that.

    Thread Starter massimod

    (@massimod)

    I’m using LiteSpeed webserver and Cloudlinux if it is of any help.

    I have no security plugins.

    I will try your suggestions and let you know.

    Thanks !

    Thread Starter massimod

    (@massimod)

    btw: the strange is that i run your plugin for some months. If the delete doesn’t work, i should have million of files in there.

    But i only have for 3-4 days back.

    Plugin Author gVectors Team

    (@gvectors-team)

    I think wpDiscuz file clearer works fine. Just delete all images and we’ll see the result. if you have 1000 page view per day, you can see 50-100 file in this folder. If you see 4000, than you should have about 40,000 page view or so. It would be more clear to understand if all files are deleted and it starts from zero.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Huge ammounts of 404 errors’ is closed to new replies.