• Resolved amar11s

    (@amar11s)


    Activating the plugin causes error file to be created which keeps filling up with the given below line. I have deactivated the plugin. kindly help

    file_put_contents(/home/***********/public_html/wp-content/uploads/aios/firewall-rules/settings.php): failed to open stream: No such file or directory in /home/***********/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/libs/wp-security-firewall-config.php on line 40

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi

    Can you please cross check you have enough rights for the file to be created at that path.

    Some how the file can not be written that is the issue.

    Do the folders created ?

    wp-content/uploads/aios/firewall-rules/settings.php

    Regards

    Thread Starter amar11s

    (@amar11s)

    yes I can see the folder at path. I have all the privilages. This was working fine. This issue came from nowhere

    • This reply was modified 1 year, 1 month ago by amar11s.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @amar11s

    If the folder path is writable it should write a settings.php file. Do the settings.php file exists and this error is?

    Do you have a new setup of AIOS and website or copied from somewhere else the site ?

    If you have AIOS version older than 5.2.2 also it might be an issue.

    Regards

    Thread Starter amar11s

    (@amar11s)

    Yes settings.php files exist at the path and I installed long time back which I have constantly updated. Current update is of latest version. I installed from add plugin Feature. my version in 5.2.4

    Thread Starter amar11s

    (@amar11s)

    The issue was with upload folder somehow it was not being written despite all permission. In setting media path was correct.

    Had to add “define( ‘UPLOADS’, ‘wp-content/uploads’ );” in wp config to make it work.. Any idea what might have happened?

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @amar11s

    It is not the general case that you need to define UPLOADS constant.

    Please cross check your WordPress version is it latest ? Or any other setting which requires it.

    We use wp_get_upload_dir to get the wp-content/uploads.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Constant entry in error log’ is closed to new replies.