Support

Admin Tools

#39535 500 error when trying to save in Joomla's Global Configuration and in Admin Tool's auto configuation utility

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
4.3.4
PHP version
8.0.3.0
Admin Tools version
7.4.2

Latest post by nicholas on Thursday, 28 September 2023 14:22 CDT

Pomond

Hi Nicholas!

I've encountered a funky error that I wanted to share with you and the Akeeba crew: One that seems to be related to Admin tools.

I had been working through a Joomla 3-to-Joomla 4 upgrade, which included both Admin Tools and Akeeba Backup (pro versions). I successfully went through the Joomla upgrade process, then started working on the site.

One of the first problems I encountered was a 500 Error any time I tried to save Joomla 4's Global Configuration from within the administrator interface. After going through SiteGround's support department, and escalating to a senior tech, they tracked down the issue to a malformed email address seemingly being implemented by admin tools. This is their response:

 

I checked the dev subdomain and the following is logged when trying to save the SMTP server log:

2023-09-28 14:30:52.372 [53594] SMTP syntax error in "RCPT TO:  [email protected]<[email protected]>" H=(c115704.sgvps.net) [127.0.0.1]:59002 I=[127.0.0.1]:25 malformed address: <[email protected]> may not follow [email protected]



The problem is in this particular section [email protected]<[email protected]>

This is the recipient of the message in the format display name recipient address

However, as you can see the two elements are not separated. Furthermore, since the display name contains a special character (the @ symbol) it should be enclosed in double quotes. Ultimately, it should appear like this:

"[email protected]" <[email protected]>

From what I see, the address is present within two extensions on your site:

RSEvent!Pro - Simplified Chinese Language Pack
AdminTools

Thus, I recommend reviewing their settings and configuration and correcting how the Recipient header is submitted.

 

I tried to fix this issue with the current installation of Admin Tools by editing the WAF configuration to change the email addresses, remove the email address values, etc. But when I tried to save Joomla's Global Configuration, I still got the 500 error.

Once I uninstalled Admin Tools, I was able to then save Joomla's Global Configuration. I reinstalled Admin Tools, and went to the quick setup wizard as prompted. However any time I input an email address in the quick setup wizard and tried to save it, I received the same 500 error. I was able to successfully save the Admin Tools setup wizard without inputting in any email address information.

One last note: Joomla's Global Configuration mail settings were set to use PHPmail, and this tested successfully. (I'm now changing to an SMTP account as recommended by SiteGround.)

Things are working OK for me now, but I would like to receive email on select back-end events, and right now I'm leaving all those fields blank to get everything to work as it should.

 "Be seeing you,"

-- Justin Kerr
[email protected]
312-848-7228

nicholas
Akeeba Staff
Manager

The email address which is added to your WAF configuration is the one used in the Super User account you are using when you use Admin Tools' Quick Setup Wizard. You can review this configuration in Components, Admin Tools for Joomla!, Web Application Firewall, Configure WAF. You can of course edit or remove these addresses.

Admin Tools does not send emails directly. It uses Joomla's Mail Templates extension to send emails, which in turn uses Joomla's Mail API, which in turn uses phpMailer.

My best guess on what is going on is that you have either set up the Name of your user account to be the same as its Email, or you've configured an email address in Admin Tools which does not correspond to a Super User. In both cases the name and email part of the recipient would be identical which this server seems to reject. Make sure there is a Super User account corresponding to the email address you are using, and that the Name configured for that user account does not look like an email address itself.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!