Support

Admin Tools

#36009 Change administrator login URL missing in 7.X version

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 Saturday, 20 November 2021 20:17 CST

Roderic

Hi,

I already updated quite a few websites to Joomla 4 and they all run fine with Admin Tools. I have changed the Admin URL for every site I run and this kept working after the update. Now today I for the first time changed a setting in the WAF, saved it and then found out a bit later that the admin URL change stopped working. So I opened the WAF and noticed this option has disappeared. So after saving the WAF it broke this functionality.

Could you please put it back or was there a good reason this was removed? I could not find anything in the change logs and I checked on a J3 website with Admin Tools v6 and saw it was still there.

ย 

Cheers!

tampe125
Akeeba Staff

Hello,

I just checked it and the code for such feature is still there, only the field from the form has been removed. I suspect that during refactoring the code, somehow it went lost.

I'll start working on adding it again, thank you for the report.

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!

Roderic

Hello Davide,

Thanks, it worked again for a bit because the automatic settings import happened overnight and the setting was turned on again. Then I had to disable Critical files monitoring once more because that causes AcyMailing to stop working. That obviously also removed the Admin URL again when I hit save.

Then another setting that is conflicting with AcyMailing (v5): When I want to view an online version of the e-mail, it gives me a blank page. I turned off "Block template=foo site template switch" and that helped. Then I noticed that this option is in there twice (See attachment). So that's another thing to look at I guess.

Cheers!

tampe125
Akeeba Staff

I just made the change, so it will included in the next update.

Regarding the double option, they're actually different. One refers to the tmpl= param and the other to the template= param.

In your case, you can enable the option Allow site template to allow the switch to templates that are actually used.

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!

Roderic

You are right, there has always been a double option, my mistake. I've enabled the first one again and the problem is back. Component is (and always has been) in the whitelist but still it gives an error. So I checked the error log:

ย 

  • mod_fcgid: stderr: PHP Warning: explode() expects parameter 2 to be string, array given in /plugins/system/admintools/src/Feature/TmplSwitch.php on line 47
  • mod_fcgid: stderr: PHP Warning: array_map(): Expected parameter 2 to be an array, null given in /plugins/system/admintools/src/Feature/TmplSwitch.php on line 47

So there seems to be a bug on line 47.

ย 

Cheers!

tampe125
Akeeba Staff

We aware of those bugs, we just fixed it and the new code will be included in the next version; thanks for the report anyway

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!