Support

Admin Tools for WordPress

#38022 access denied when tying to install new plugin with upload

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
PHP version
8
Admin Tools version
1.5.8

Latest post by tampe125 on Thursday, 10 November 2022 10:03 CST

okkhalid

Hello, when trying to upload a plugin ad install it. I got the error access denied.

 

I installed a new WordPress version and tried in the same server, I was able to install the new plugin with an upload feature.

but once I install Admin tools for WordPress, after that I can not upload and install the new plugins with the upload feature. but I'm able to use the WordPress market to install.

 

Please help.

tampe125
Akeeba Staff

Hello,

can you please try to disable Admin Tools plugin? After that, can you upload plugins again?

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!

okkhalid

yes I have disabled it and I was able to upload the file and install.

 

tampe125
Akeeba Staff

That's a bit strange, let me connect to your site to double check. Can you please point me I have made this ticket private so that only you and me can see the information posted here.

Please provide me with the following information:

  1. The URL to your site's administrator login page
  2. Administrator username and password (Network Administrator for WordPress Multisite installations)
  3. FTP connection information


Please allow up to one business day (GMT+2 timezone) for me to log in to your site and debug this issue. When I'm done I will post back. Once the issue is fixed, you can revoke my access e.g. by changing the Super Administrator and FTP passwords.

IMPORTANT INFORMATION
In order for me to help you fast and accurately, please provide the information by copying the form below, paste it into your reply and fill in the information:

----- Access Information Form -- START -----
WordPress Administrator access

  • URL to site's administrator page (e.g. http://www.example.com/wp-admin?foobar):
  • Administrator username:
  • Administrator password:


FTP connection information

  • FTP methods supported (e.g. FTP, FTPS, SFTP):
  • FTP Hostname:
  • FTP Username:
  • FTP Password:
  • FTP Port (if other than 21 for FTP and 22 for SFTP, ask your host):


----- Access Information Form -- END -----

Please make sure that you have tested the Administrator connection using a different browser or machine than the one you are using daily. Double check that logging in is possible and that the user has Administrator privileges or, if it's a WordPress multisite installation, Network Administrator privileges. Make sure that your site does not block whole countries or IP ranges which would make it impossible for me to log in / connect by FTP. Finally, please do make sure that the FTP connection works and that logging in to it I have access to your site's files.

Kindly note that your site connection information and your site content is handled in strict confidence. Not only we are a reputable development company, we are also bound by law (EU GDPR) to do so. After you file your reply, the connection information to your site will be stored in an encrypted, hidden storage area on our site and will be automatically deleted when this ticket is closed. Finally keep in mind that the people providing support to you are the same developers who wrote the software you're using on your site. to a plugin that I can try to install?

 

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!

okkhalid

----- Access Information Form -- START -----
WordPress Administrator access

 

https://can.connectingcalgary.ca/wp-admin/

Username: admin
Password: Khalid@admin22


FTP connection information

FTP Username: [email protected]
FTP server: ftp.connectingcalgary.ca
FTP & explicit FTPS port: 21
Password: ?aBS$Re(*_LQ

okkhalid

this is the plugin that I'm trying to install.

 

https://www.dropbox.com/s/0dqr32xi94w76no/sitepress-multilingual-cms_4.4.10.zip?dl=0

tampe125
Akeeba Staff

Thank you very much for the report. This is, indeed, a bug. Admin Tools has a feature called UploadShield which will inspect the incoming data and if anything resembles a PHP file, the request will be blocked.

The logic behind that is to block malicious users to upload PHP files, but there are legitimate use cases, like when you want to install a plugin by uploading it.

For the moment, a simple workaround is to disable the Upload Scanner in the WAF Configuration page, in the meantime we will work on the issue.

Thanks again for reporting it!

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!