A fatal JavaScript error

jakut333

New member
Joined
Mar 19, 2025
Messages
4
Hi,
just wanted to refresh my memory about databases. I log in to

http://localhost/phpMyAdmin/

and I see messages:

A fatal JavaScript error has occurred. Would you like to send an error report?

I click send error report, but just get more such messages.
Browsers: chrome, ie, safari, firefox
OS: windows, macos.
System:
almalinux-9-x86_64
Mysql 8.4
Mariadb 11.4
PHP 8.4
webserver: openlitespeed trial
WEB MySQL administration tool: phpMyAdmin 5.2.2
Also, to check my database integrity, I opened mysql from the command line, chose a database, selected data from a table, no problem. So I would say this is not a MySQL problem.
 

Attachments

  • error.png
    error.png
    55.8 KB · Views: 4
  • console.png
    console.png
    34.8 KB · Views: 4
Sorry, you have to ask over at stackoverflow or webhostingtalk.com or a similar general site.

This forum is only inteded for support to Directadmin license holders.
 
So you have it running on your LAN? Might be best next time to add that to the info. ;)

Why are you using "localhost" and not server ip then? Or internal ip like http://192.168.0.1 or something like that?
I'm not 100% sure because I don't use DA on a LAN but it could be it gives issues when using http://localhost or have you already tried using server ip instead?
 
Hello,
I click send error report, but just get more such messages.

See, you've got an error "Failed to load resource" and a HTTP/406 error. That's the reason on why the sprintf is not defined.

The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation. (c) From Internet)

It might be ModSecurity that blocked the access to the files. If this is the case, you might need to identify the ID of a modsecurity rule and disable it.
 
Back
Top