Support

Admin Tools

#43520 When I try to save config options I get error: "500 - Whoops, looks like something went wrong."

Posted in ‘Admin Tools for Joomla!’
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
6.2.0
PHP version
8.3.6
Admin Tools version
7.9.4

Latest post by nicholas on Tuesday, 17 November 2026 10:46 CST

molthagen

Hello,

since some days I get an error "Es ist ein Problem aufgetreten. Der Server lieferte ein "500 - Whoops, looks like something went wrong." (A problem occured. The server sent a '500 - Whoops...') whenever I try to save a config window (no matter which component I tried to configure). If i reload the page, I get back to the config window. Nothing will be saved.

If I deactivate Admin Tools component, everything is working as expected. So it seems to be a problem with Admin Tools. 

If I run the quick start assistant to reset Admin Tools settings, nothing changes. 

This is my nginx.conf:

server {
   listen 443 ssl default_server;
   listen [::]:443 ssl default_server;
   http2 on;

   server_name molthagen.de www.molthagen.de;
   ssl_certificate /etc/letsencrypt/live/www.molthagen.de/fullchain.pem; 
   ssl_certificate_key /etc/letsencrypt/live/www.molthagen.de/privkey.pem;
   include /etc/letsencrypt/options-ssl-nginx.conf;
   ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

   access_log /var/log/nginx/access_molthagen.de.log;
   error_log /var/log/nginx/error_molthagen.de.log info

   root /var/www/homepage;
   index index.php index.html index.htm default.html default.htm;

   # Block AI bots
   if ($http_user_agent ~* (GPTBot|ChatGPT-User|OAI-SearchBot)) {
       return 403;
   }

   # Web Key Directory
   location ^~ /.well-known/openpgpkey {
          default_type application/octet-stream;    
          add_header Access-Control-Allow-Origin * always;
   }

   # human.json Protocol
   location ^~ /human.json {
          default_type application/json;
          add_header Access-Control-Allow-Origin * always;
   }


   location /michaela { 

       # Support Clean (aka Search Engine Friendly) URLs
       try_files $uri $uri/ /michaela/index.php?$args;

       location ~ \.php$ {
           fastcgi_pass  unix:/run/php/php8.3-fpm-homepage.sock;
           fastcgi_index index.php;
           include fastcgi_params;
           fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
           include /etc/nginx/fastcgi.conf;
       }

       # Support API
       location /michaela/api/ {
           try_files $uri $uri/ /michaela/api/index.php?$args;

      # add global x-content-type-options header
       add_header X-Content-Type-Options nosniff;

       # deny running scripts inside writable directories
       location ~* /michaela/(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|>
           return 403;
           error_page 403 /michaela/403_error.html;
       }

       # caching of files  
       location ~* \.(ico|pdf|flv)$ {
           expires 1y;
       }

       location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
           expires 14d;
       }

       # human.json Protocol
       location ^~ /michaela/human.json {
           default_type application/json;
           add_header Access-Control-Allow-Origin * always;
       }

   }

}

nginx records this log entry:

2a02:8070:b81:1860:5830:f780:38fc:b0a7 - - [17/Nov/2026:16:03:18 +0100] "POST /m
ichaela/administrator/index.php?option=com_config HTTP/2.0" 500 21455 "https://w
ww.molthagen.de/michaela/administrator/index.php?option=com_config" "Mozilla/5.0
(X11; Linux x86_64; rv:160.0) Gecko/20100101 Firefox/160.0"

Any idea what's causing this error? 

Thanks in advance,

Michaela

nicholas
Akeeba Staff
Manager

Your site's mail settings are wrong. Since Admin Tools tries to send you an email whenever you save your Global Configuration or a component's configuration, Joomla hangs trying to send the email and misleads you to the source of the problem.

Disable Admin Tools, go to Joomla's Global Configuration page, and try to send a test email. You will see the same kind of hang. Then, fix your mail settings. Once you can send a test email, re-enable Admin Tools.

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!

molthagen

Thanks, You're correct. My sendmail/Postfix seems to have a problem, so I switched mail settings to SMTP. Now everything works as expected. 

Kind regards,

Michaela

nicholas
Akeeba Staff
Manager

You're welcome! This kind of issue is easy for us who have seen it so many times to diagnose, but really hard for you as you don't even know yet that Admin Tools is supposed to send you an email. I wish Joomla had a default connection timeout for its mailer. This is such a common problem. It's a shame that so many sites can't send email and don't even know it!

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!

molthagen

Joomla 6.2.0 seems to have a problem sending mails via sendmail. If I use 

echo "Test" | sendmail -v [email protected]

sendmail works fine. 

Thanks again! 

nicholas
Akeeba Staff
Manager

I do not think it is a Joomla 6.2 problem, as I have seen it across all Joomla versions. Using sendmail depends on which system user is calling it. Web servers do not, typically, run PHP under the same system user you use to log in via SSH. What you can do over SSH as your system user is not representative on what can be done through PHP.

This is further complicated when you consider that Joomla can also run as a CLI application (cli/joomla.php) which is likely to run as your system user. In this case, what you can do with Joomla CLI is not indicative of what Joomla the web application can do.

Generally speaking, neither sendmail nor PHP mail() are good options for most servers and use cases. In my humble opinion, the only reliable mail configuration is SMTP.

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!