• Resolved margmacd

    (@margmacd)


    Hello

    I would be grateful to receive advice on the best approach to addressing by the following warning, which appears specifically under the plugin header ‘File Manager’:

    Your uploads folder is not writable. Please make wp-content/uploads folder writable to create trash folder.

    Many thanks

    • This topic was modified 2 years, 7 months ago by margmacd.
    • This topic was modified 2 years, 7 months ago by margmacd.
    • This topic was modified 2 years, 7 months ago by margmacd.
    • This topic was modified 2 years, 7 months ago by margmacd.
    • This topic was modified 2 years, 7 months ago by margmacd.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support File Manager Support

    (@filemanagersupport)

    Hey @margmacd,

    Apologies for the inconvenience.

    We urge you to please send us a support ticket with the screenshots of the issue you are facing by using this link https://filemanagerpro.io/contact by attaching the screenshot.

    We will be able to better assist you with your issue by setting up a call.

    Rgds,

    Thread Starter margmacd

    (@margmacd)

    Hello

    Thank you for your message. Unfortunately, there are two problems with the form that you have directed me to. Firstly, it does not provide an option to include a screenshot as an attachment. Secondly, it requests an order number, which I do not have.

    SVN revision: 2649873 (edited from: 2669537, but this was a tabbing issue fix) added some code, where there’s a typo, which could be the cause of the issue:

    74	            // security fix
    75	            $myfile = $backup_dirname."/.htaccess";
    76	            if(!file_exists($myfile)){
    77	                $myfileHandle = @fopen($myfile, 'w+');
    78	                if(!is_bool($myfileHandle)){
    79	                    $txt = '<FilesMatch "\.(zip|gz)$">';
    80	                    $txt .= "\nOrder allow,deny\n";
    81	                    $txt .= "Deny from all\n";
    82	                    $txt .= "</Files>";
    83	                    @fwrite($myfileHandle, $txt);
    84	                    @fclose($myfileHandle);
    85	                }
    86	            }

    Line 82 has the fault. It should be closing FilesMatch instead.

    To fix it for the future, this line should be updated.
    Haven’t checked more about the code, so can’t really say anything about it in general.
    Just stumbled upon this one and thought it was worth reporting, if no one else had.

    If trying to fix it yourself, you should probably check the .htaccess file in the folder as well.

    • This reply was modified 2 years, 6 months ago by tempuserkdkz.
    Thread Starter margmacd

    (@margmacd)

    @tempuserkdkz Are you offering a suggestion specifically about how to address the error message I have reported? I am sorry that I am having difficulty implementing what you are suggesting, as I do not follow you. For example, your reference to line 82 appears to apply to line 84. Also, you have not indicated what file you have taken the code you have shared from. Additionally, I do not know what you have in mind in your comment about checking the .htaccess file. Perhaps you are assuming that I should know automatically. That is not the case, however. I am not a software developer.

    Thread Starter margmacd

    (@margmacd)

    Hello

    This is an update to clarify that it turns out that the issue I had reported in this thread originates with the plugin Library File Manager (https://en-gb.www.ads-software.com/plugins/file-manager/), which I have now uninstalled. Thank you to Rajeev from WP File Manager Plugin Support for his assistance in identifying the source of the issue.

    • This reply was modified 2 years, 5 months ago by margmacd.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uploads folder is not writable’ is closed to new replies.