• Resolved ete

    (@ete)


    After migrating hosting, AIOS is exhibiting Apache errors related to wrong paths not being found.

    In other words, AIOS still tries to look on paths of old hosting which are different than on new hosting; like /home or /public_html

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

    (@hjogiupdraftplus)

    Hi @ete,

    Can you please downgrade the firewall using AIOS > Firewall > Advanced settings? It may be related to firewall settings using an old path in the aios-bootstrap.php file at the root of the WordPress install.

    If it’s still an issue, can you please provide details of the error here or on https://pastebin.com/, so I can cross-check in detail.

    Regards

    Thread Starter ete

    (@ete)

    Hi,

    Thank you very much for the quick reply.

    Here is a detail of the errors (for privacy here the pasted paths errors have been edited with YOURDOMAIN.COM and XXXXXX):

    AH01071: Got error ‘PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/XXXXXX/public_html/wp-config.php) is not within the allowed path(s): (/var/www/vhosts/YOURDOMAIN.COM/:/tmp/) in /var/www/vhosts/YOURDOMAIN.COM/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-utility.php on line 80; PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/XXXXXX/wp-config.php) is not within the allowed path(s): (/var/www/vhosts/YOURDOMAIN.COM/:/tmp/) in /var/www/vhosts/YOURDOMAIN.COM/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-utility.php on line 82; PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/XXXXXX/public_html/wp-config.php) is not within the allowed path(s): (/var/www/vhosts/YOURDOMAIN.COM/:/tmp/) in /var/www/vhosts/YOURDOMAIN.COM/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/libs/wp-security-firewall-constants.php on line 66’, referer: https://www.YOURDOMAIN.COM

    • This reply was modified 2 months ago by ete.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @ete

    As you have migrated from another site please cross check the aios-bootstrap.php file in root of the WordPress install

    It will have the ABSPATH, which might be of the old server /home/XXXXXX/public_html/ instead var/www/vhosts/YOURDOMAIN.COM/httpdocs/

    downgrade then activate the firewall using AIOS > Firewall > Advanced settings, tried? It should rewrite that ABSPATH and solve this issue.

    Thread Starter ete

    (@ete)

    Hi,

    Impressive! That seems to have completely solved the errors. So far so good not a single further Apache error.

    Thank you!

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

You must be logged in to reply to this topic.