Support

Admin Tools

#36637 Unable to Save and create nginx.conf

Posted in ‘Admin Tools for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 24 March 2022 20:17 CDT

q12321

Unable to Save and create nginx.conf

NginX Configuration Maker shows Could not write the nginx.conf file.

The Preview button shows:
"Admin Tools detected an unauthorised security settings modification

WARNING! A third party extension is trying to silently modify your site's security settings.

Admin Tools has detected that a third party software is trying to modify its settings. This may lead to degradation of your site's security and your site getting hacked. Admin Tools has prevented this action to protect you. You can find some technical information below.

File :
Line :
Class : Akeeba\Component\AdminTools\Administrator\View\Htaccessmaker\HtmlView
Function : onBeforePreview

This tells you which extension triggered this error message. Please contact its developer and ask them to fix this issue by REMOVING the code which automatically modifies Admin Tools' settings."

Web Server nginx/1.18.0. All plugins are for Joomla4 and they are current. One suspicious plugin was disabled.No solution.

How to correct this issue?

tampe125
Akeeba Staff

Hello,

thank you for the report. After inspecting the code, I found out that the problem only happens when you try to preview the code. You can still create the conf file; if you need to copy its contents into a file that is not reachable from the your website, you'll have to copy the contents from the nginx.conf file in the root of your site to the desired location.

This is just a temporary workaround until we provide a fix.

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!

q12321

Hi,

 

The problem starts when I want to save the Nginx.conf file.

The "Nginx Configuration Maker" shows "Could not write the Nginx.conf file. Please use the Preview button to get its contents and include it manually in your site's configuration file".

Clicking the "Preview" button shows "Could not write the Nginx.conf file", etc as in my post above.

So, Nginx.conf file is not created and saved making "Nginx Configuration Maker" useless.

tampe125
Akeeba Staff

Ok, I got it. Can you please try to install the latest dev release? https://www.akeeba.com/download/developer-releases/admin-tools-professional.html

It includes a fix for your issue, let me know if it does the trick.

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!

q12321

That works.

Thanks

tampe125
Akeeba Staff

You're welcome!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!