Support » Plugin: WP Hide & Security Enhancer » Unable to create environemnt static file

  • Resolved mludwick

    (@mludwick)


    Any rewrite I attempt is met with the following error:

    Unable to create environemnt static file. Is /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-hide-security-enhancer/router/ writable? Remove description header from Style file and Child – Remove description header from Style file will not work correctly, so where turned off.

    It also removes all style and theme info from the site.

    The installation is on aws ec2. I have modified the permissions of the theme folder to Bitnami:Daemon so I can have FTP access, though changing it to daemon:daemon makes no difference I need to retain this access. The plugins folder has remained unchanged.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author tdgu

    (@tdgu)

    Actually the plugin need to write to /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-hide-security-enhancer/router/environment.php but there can be the following issue:

    • The file is not writable
    • The file does not exists and can’t be created.

    Try the following:

    • Change permission for /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-hide-security-enhancer/router/
    • Create that file if missing environment.php
    • If environment.php exists, ensure it have proper permission
    mludwick

    (@mludwick)

    /router is 775 for permissions, and I set environment.php to 774. Does that seem correct? I tested it, and still got the same error.

    Plugin Author tdgu

    (@tdgu)

    I’am not sure upon the required permission as this can be different from a server to another. Check with your hosting admin for such information.

    mludwick

    (@mludwick)

    It’s AWS EC2, and I’m the admin more or less. I have access to all the files and the permissions information, and have SSH and FTP access. I simply don’t know what file permissions need to be applied to /router and environment.php

    Plugin Author tdgu

    (@tdgu)

    Try this solution at https://stackoverflow.com/questions/19648712/amazon-aws-filezilla-transfer-permission-denied make sure you actually chown the location too. Also appropriate owner name.

    If still can’t figure out, please ask for further help at https://www.wp-hide.com/

    I am having exactly the same issue. I have already tried below and restarted apache.

    sudo chown -R bitnami /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-hide-security-enhancer/

    sudo chown -R 755 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-hide-security-enhancer/

    Same Problem with GCP Bitmani Server! plz Help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unable to create environemnt static file’ is closed to new replies.