• Resolved sysadmineu

    (@sysadmineu)


    I have a Centos 7.3 – 1611.
    it has both php (apache 2.4.6) and the real mysql installed on the same server.
    It was a move from Centos 6.8 (apache 2.2.15)

    Everything is placed in /var/www/html
    Apache has 0777 all and every right to alter folders/files etc.

    Yet, I cannot delete, nor update .htaccess or anything in regards to this app and I dont understand the error.

    I get the error when I try to restore, from copy paste, from the export function.

    I get the error
    Could not write to the .htaccess file. Please check the file permissions.
    But it allready has 0777.

    How do I resovle this issue?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter sysadmineu

    (@sysadmineu)

    It is in multisite configuration

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, have you tried to uninstall and reinstall the plugin? If this does not help you, you might like to try some of the troubleshooting links. Try this and report back.

    Thank you

    • This reply was modified 8 years, 7 months ago by mbrsolution.
    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi @sysadmineu,
    You should not be setting any of your folders/files as 0777 permissions because this is very insecure.
    I think your issue is with how your hosting environment is set up. In other words probably something to do with the permissions of the user account and which group it is part of, ie, is it part of the web service group (i.e. the one Apache uses), such as group www-data or something else?

    You should talk to your host support people and explain the issue and they should be able to help you.

    Thread Starter sysadmineu

    (@sysadmineu)

    I can only ask here in the forum, I have no other that I can talk with about this.

    I successfully deleted the app, saw the files removed, and I had to manually remove the entries from wp-config.php

    Now I have reinstalled the app.
    Despite wp-config.php have 0777 rights, the app requests to
    Would you like All In One WP Security & Firewall to re-insert the security rules in your .htaccess file which were cleared when you deactivated the plugin?

    I answer yes

    and the page responds
    AIOWPS encountered an error when trying to write to your .htaccess file. Please check the logs.

    But the logs are empty
    Can you help me get the app working?

    Thread Starter sysadmineu

    (@sysadmineu)

    wp-security-log.txt: Log file is empty!
    wp-security-log-cron-job.txt: Log file is empty!

    Thread Starter sysadmineu

    (@sysadmineu)

    I did a F12 and used my internet explorer 11.
    This happens every time I use
    Would you like All In One WP Security & Firewall to re-insert the security rules in your .htaccess file which were cleared when you deactivated the plugin?

    HTML1300: Navigation opstod.
    admin.php
    HTML1527: DOCTYPE forventes. Overvej at tilføje en gyldig HTML5 doctype: “<!DOCTYPE html>”.
    admin.php (1,1)
    HTML1502: Uventet DOCTYPE. Kun en DOCTYPE er tilladt, og den skal stå før eventuelle elementer.
    admin.php (1,128)
    HTML1513: Der blev fundet en ekstra kode af typen “<html>”. Der må kun være én kode af typen “<html>” i hvert dokument.
    admin.php (6,1)
    HTML1503: Uventet startkode.
    admin.php (8,1)
    JQMIGRATE: Migrate is installed, version 1.4.1
    HTML1512: Slutkode, der ikke matcher.
    admin.php (95,1)

    The HTML numbers referers to this site
    https://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=DA-DK&k=k(VS.WebClient.Help.HTML1512)

    I am using the latest version.

    Thread Starter sysadmineu

    (@sysadmineu)

    I did a complete reinstall of my wordpress installation, and only choose to install this plugin.

    Everything runs in apache as it should, other plugins are working well and can be deleted/restored/migrated without any issue.

    I am annoyed that your error messages, does not include “expected user” and file path that it needs to save. I cannot fix this, I need your plugin to migrate.

    On a new Centos 7 1611 and the update to Centos 7.4, everything runs on same server.

    I cannot even add the debug, it wont save the file, and I dont know where to set it manually???????????????

    Thread Starter sysadmineu

    (@sysadmineu)

    I am running PHP 5.4
    When I use the following plugin php-compatibility-checker – checking with 5.4

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.de.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.lib.php
    —————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————–

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.mobi.php
    —————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nl.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nz.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.org.php
    ————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————–

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.parser.php
    —————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————–

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.servers.php
    ——————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ——————————————————————————————————

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.si.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.utils.php
    —————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————-

    FILE: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/other-includes/wp-security-rename-login-feature.php
    ——————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————
    605 | ERROR | The function hash_equals() is not present in PHP version 5.5 or earlier
    ——————————————————————————————————————————

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @sysadmineu, have you thought about upgrading your PHP version? Your current version is no longer supported and this represents a vulnerability in your site. You might like to check the following URL supported-versions.

    Thank you

    Thread Starter sysadmineu

    (@sysadmineu)

    I have thought about it, and my reason for not upgrading is not my own, but it is a requirement from Centos that I keep the versions they provide, so they can support the OS.
    Upgrading the software, breaks the support from Centos.

    Thread Starter sysadmineu

    (@sysadmineu)

    I am not getting this app to work on my installation, I might change to wordfence instead 🙁

    I did a fresh reinstall on a new system, and it is still the same issue.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, I think that would be a great idea. I am sorry you could not get this plugin to work in your website.

    If you don’t need any more help, can you mark this support thread as resolved.

    Thank you

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Cannot reset nor delete this app’ is closed to new replies.