Support

Admin Tools for WordPress

#37303 unable to make changes in admin tools

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
6.0
PHP version
PHP 8.1.7
Admin Tools version
Admin Tools ver

Latest post by hbrown01 on Monday, 20 June 2022 21:15 CDT

hbrown01

Since upgrading to WP 6.0, I have not been able to save any changes to the configuration of Admin tools.  I have checked directory and file permissions, but these are correct as I have run the "fix permissions".  An example is attached.

I have even deleted Admin tools and re-installed.  When I use the the Quick Setup Wizard, I am unable to save the settings.

When I try to create a new .htaccess file using Admin tools, I get "Could not write the .htaccess file. Please use the Preview button to get its contents and upload it manually."

I'm sure there is something simple that I need to check/change.  Please provide some guidance if you can.

Thanks!

PS: the upload of the text file failed.  It's contents are:

ubuntu@evrysbio:/var/www/html$ sudo ls -la
total 768
drwxrwxrwx 7 root root 4096 Jun 17 06:11 .
drwxr-xr-x 4 root root 4096 Dec 18 2020 ..
-rw-r--r-- 1 root root 261 Jun 17 06:09 .htaccess
drwxrwxrwx 2 www-data www-data 4096 Dec 18 2020 .quarantine
-rwxrwxrwx 1 www-data www-data 93 Jun 17 06:06 .user.ini
drwxrwxrwx 3 www-data www-data 4096 Dec 18 2020 .well-known
-rw-r--r-- 1 www-data www-data 16841 Dec 18 2020 android-icon-144x144.png
-rw-r--r-- 1 www-data www-data 29150 Dec 18 2020 android-icon-192x192.png
-rw-r--r-- 1 www-data www-data 1988 Dec 18 2020 android-icon-36x36.png
-rw-r--r-- 1 www-data www-data 2820 Dec 18 2020 android-icon-48x48.png
-rw-r--r-- 1 www-data www-data 5128 Dec 18 2020 android-icon-72x72.png
-rw-r--r-- 1 www-data www-data 8155 Dec 18 2020 android-icon-96x96.png
-rw-r--r-- 1 www-data www-data 11065 Dec 18 2020 apple-icon-114x114.png
-rw-r--r-- 1 www-data www-data 12094 Dec 18 2020 apple-icon-120x120.png
-rw-r--r-- 1 www-data www-data 16841 Dec 18 2020 apple-icon-144x144.png
-rw-r--r-- 1 www-data www-data 18590 Dec 18 2020 apple-icon-152x152.png
-rw-r--r-- 1 www-data www-data 25252 Dec 18 2020 apple-icon-180x180.png
-rw-r--r-- 1 www-data www-data 3564 Dec 18 2020 apple-icon-57x57.png
-rw-r--r-- 1 www-data www-data 3848 Dec 18 2020 apple-icon-60x60.png
-rw-r--r-- 1 www-data www-data 5128 Dec 18 2020 apple-icon-72x72.png
-rw-r--r-- 1 www-data www-data 5575 Dec 18 2020 apple-icon-76x76.png
-rw-r--r-- 1 www-data www-data 29639 Dec 18 2020 apple-icon-precomposed.png
-rw-r--r-- 1 www-data www-data 29639 Dec 18 2020 apple-icon.png
-rw-r--r-- 1 www-data www-data 281 Dec 18 2020 browserconfig.xml
-rw-r--r-- 1 www-data www-data 1068 Dec 18 2020 favicon-16x16.png
-rw-r--r-- 1 www-data www-data 1752 Dec 18 2020 favicon-32x32.png
-rw-r--r-- 1 www-data www-data 8155 Dec 18 2020 favicon-96x96.png
-rw-r--r-- 1 www-data www-data 1150 Dec 18 2020 favicon.ico
-rw-r--r-- 1 www-data www-data 6545 Dec 18 2020 index.html
-rw-r--r-- 1 www-data www-data 405 Dec 18 2020 index.php
-rw-r--r-- 1 www-data www-data 19915 May 28 00:27 license.txt
-rw-r--r-- 1 www-data www-data 15820 Nov 3 2021 main.php
-rw-r--r-- 1 www-data www-data 720 Dec 18 2020 manifest.json
-rw-r--r-- 1 www-data www-data 16841 Dec 18 2020 ms-icon-144x144.png
-rw-r--r-- 1 www-data www-data 18150 Dec 18 2020 ms-icon-150x150.png
-rw-r--r-- 1 www-data www-data 63387 Dec 18 2020 ms-icon-310x310.png
-rw-r--r-- 1 www-data www-data 4892 Dec 18 2020 ms-icon-70x70.png
-rw-r--r-- 1 www-data www-data 7401 May 28 00:27 readme.html
-rwxrwxrwx 1 ubuntu ubuntu 35504 Apr 30 01:44 ror.xml
-rwxrwxrwx 1 ubuntu ubuntu 16601 Apr 30 01:43 sitemap.backup.xml
-rwxrwxrwx 1 ubuntu ubuntu 2607 Apr 30 01:43 sitemap.backup.xml.gz
-rwxrwxrwx 1 ubuntu ubuntu 37319 Apr 30 01:44 sitemap.html
-rw-r--r-- 1 www-data www-data 343 Dec 18 2020 wordfence-waf.phpOLD
-rw-r--r-- 1 www-data www-data 7165 Mar 10 2021 wp-activate.php
drwxr-xr-x 9 www-data www-data 4096 Feb 18 13:28 wp-admin
-rw-r--r-- 1 www-data www-data 351 Dec 18 2020 wp-blog-header.php
-rw-r--r-- 1 www-data www-data 2338 Feb 18 10:38 wp-comments-post.php
-rw-r--r-- 1 www-data www-data 3001 Feb 18 10:38 wp-config-sample.php
-rw-r--r-- 1 www-data www-data 3769 Jun 8 2021 wp-config.admintools.php
-rw-r--r-- 1 www-data www-data 3872 Jun 17 05:38 wp-config.php
drwxr-xr-x 12 www-data www-data 4096 Jun 17 06:26 wp-content
-rw-r--r-- 1 www-data www-data 3943 May 28 00:27 wp-cron.php
drwxr-xr-x 26 www-data www-data 12288 Feb 18 10:38 wp-includes
-rw-r--r-- 1 www-data www-data 2494 May 28 00:27 wp-links-opml.php
-rw-r--r-- 1 www-data www-data 3973 May 28 00:27 wp-load.php
-rw-r--r-- 1 www-data www-data 48498 May 28 00:27 wp-login.php
-rw-r--r-- 1 www-data www-data 8577 May 28 00:27 wp-mail.php
-rw-r--r-- 1 www-data www-data 23706 May 28 00:27 wp-settings.php
-rw-r--r-- 1 www-data www-data 32051 May 28 00:27 wp-signup.php
-rw-r--r-- 1 www-data www-data 4748 May 28 00:27 wp-trackback.php
-rw-r--r-- 1 www-data www-data 3236 Dec 18 2020 xmlrpc.php

tampe125
Akeeba Staff

Hello,

most likely the problem is not the permissions, but the ownership.

I can see that some of your files/folders are owned by www-data, while others by the user ubuntu.

You should fix your ownership rules, otherwise you will have a lot of issues (not only with Admin Tools)

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

hbrown01

Thanks for the feedback Davide,

I have cleaned up the ownership and have all directories at 775 and files at 644 and wp-config set to 660.

The curious thing is that when I try to save a change in Admin Tools, it eventually times-out; however, about half the time the change is there when I return.  I can live with this, but is is not optimal.

Thanks,

Hal

tampe125
Akeeba Staff

I suspect there's a problem with email sending: when you touch specific parts of Admin Tools, the plugin sends out troubleshooting emails in case you lose access to your website due to a fatal error.

My suspicion is that you're having troubles sending emails, so the connection hangs until you get a timeout and it keeps working. 

Can you please get inside the WAF Configuration page, Customization tab and set the option "Send troubleshooting email on administrative functions" to No? Is the situation improving?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

hbrown01

Thanks Davide,

That suggestion fixed everything.  We have deactivated all email service from the host for security reasons.

Best wishes,

Hal