Correct.
Remove error_handler and fix bugs
These don't cause any problems so they are not really bugs. PHP just decided to report something that might be a problem (but it is not in the case of Adminer).
Link to latest is broken
messageQuery gets this info as a parameter. sqlCommandQuery does not because it's called before the query is executed. Also, it's more complicated there because it supports multi-queries.
What is the driver and what is the table structure?
I don't know. There's also https://github.com/vrana/adminer/pull/420 which changes something Elasticsearch related.
I'd suggest to just use the plugin.
First, update Adminer. Second, someone might modified the Adminer binary.
Database servers are often inaccessible from outside. If this is not your case then use the DB hostname or IP address. If it is then copy Adminer to the target server.
Adminer for SQLite can open any readable file, it's not realistic to create a dropdown for all of them.
The error doesn't look familiar and it seems more like an Elasticsearch problem. Also, Adminer doesn't support password-less databases by default.
It seems that the Adminer binary is corrupted. Maybe someone edited it and saved in a different encoding or some such.
In MySQL, you can create a datetime(6) column. Specify 6 as length of the column.
Check if the effective HTTP server user has read privileges to the file.
Adminer blank GUI elements running on mySQL 8
PHP8: Undefined variable $Zf
Please try 4.8.1 and reopen if this persists.
Missing semicolon at the end foreign key query
Setting the adminer_lang cookie is the correct way. Note, that calling setcookie only sets it in the client side, you might also need to set it in $_COOKIE["adminer_lang"].
Please provide precise reproduction steps.
Sent https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc to GitHub for review.
XSS via the table parameter
Adminer 4.8.1 released
Link instructions
Update readme
Fix designs after 7db10e95
MySQL: Allow moving views to other DB and renaming DB with views (bug #783)
Fix more PHP 8 warnings (bug #781)
Use common code
Oracle: Fix the bugs for indexes.
Remove version
SQLite: Fix displayed types (bug #784)
Update TODO
Save bytes
Fixes greek language typos and translated strings
Update ca.inc.php
PostgreSQL < 10 PDO: Avoid displaying GENERATED ALWAYS BY IDENTITY everywhere (bug #785)
Update bug numbers
Unsubstite constants (PHP 5 is now required)
Avoid PHP warnings with PDO drivers (bug #786)
Oracle: Fix column name in index (thanks to Shirai Takashi)
PostgreSQL: Support UPDATE OF triggers (bug #789) and triggers with more events (OR)
Prevent adminer to consider MariaDB sequences being views
Escape link in doc_link (bug #797)
PostgreSQL: Fix parsing of foreign keys with non-ASCII column names (thanks to Tomas Pecina)
Release 4.8.1
Fix editRowPrint for plugin
I see, thanks for the additional information. This requires PDO and Adminer 4.7.8-4.8.0 (which has broken error reporting in PDO), that's why I wasn't able to reproduce it.
XSS via the table parameter
Thanks, I was able to trigger an error and fix the bug but XSS was prevented by CSP. Which browser do you use?
Hosting in subdirectory only works with // at the end of the URL
I'm not aware of any change that could have caused this. I'd suggest changing the location to /dbmgr/.
An even better option would be to parse relacl in fields() in pgsql.inc.php and store it to $row["privileges"]. I'll accept a pull-request doing that.
An ad-hoc solution would be to click the checkbox in the row and use the Edit button (instead of the edit link). Then use the original function. This is obviously not very convenient. A better solution is to implement processInput in a plugin and return false or null for fields that shouldn't be set.
PHP 8 warnings
Please try the source code version from Git.
This is already fixed in Git.
[PostgreSQL] Column triggers not implemented
SQLSTATE[42S02]: Base table or view not found
Thanks, fixed.
http Error 466
Zkuste to bez pluginu, ale nejsem si jist, že s tím nějak souvisí. HTTP chyba 466 znamená Too many requests, ale nevím, proč by k ní mělo docházet.
This is not related to Adminer. If you want to restrict some column then I'd suggest restricting database user privileges.
SSRF patch bypass in latest version (4.7.7)
Which database system are you using?
Already fixed by bug #784.
Feature "Support GENERATED ALWAYS BY IDENTITY" in PostgreSQL 9.4
I assume that you are using the PDO_PgSQL driver with PHP 8, is that right? Anyway, I've fixed it in Git, can you please verify?
[SQLite] chyba ve verzi Admineru 4.8.0 pro sqlite3
Díky, opravil jsem.
Fixed, thanks.
Renaming database can't rename views
Trying to access array offset on value of type bool
Thanks, this is really useful, fixed. Please comment here if you find more.
Please download the source codes and paste here a stack trace from the error line. There's no array operation at line 1467 of adminer-4.8.0.php.
I don't version the designs, I'll remove the version instead.
Fixed, thanks for reporting. Re-download the design.
https://www.adminer.org/plugins/otp/
https://www.adminer.org/plugins/otp/
Hello everyone! I am trying to use adminer (the official docker image from https://hub.docker.com/_/adminer) behind a reverse proxy (also a container, running caddy). When trying to connect to https://adminer.my.domain, I am redirected to https://adminer.my.domain/manage and the page ends with ERR_TOO_MANY_REDIRECTS I believe that adminer expects its URL to be something like http://adminer:8080 (which is how it presents itself to the docker network). Is there a way to configure the actual URL the...
I don't maintain the Docker image, it's contributed by a user. Try contacting them instead (linked from the Docker page).
There's “Process list” linked at the server overview. Maybe you can use that.
Adminer 4.8.0 released
Add callback before edit form (bug #759)
Skip date columns for non-date values in search anywhere (thanks to PR #408)
PostgreSQL PDO: Do not select NULL function for false values in edit (thanks to PR #380)
MySQL 8: Fix EXPLAIN in SQL command
PostgreSQL: Create PRIMARY KEY for auto increment columns
Fix PHP 8 warning
Update tests
PostgreSQL: Avoid exporting empty sequence last value
Add DB version to comment in export
Avoid errors about 'view_trigger'
Remove newline before error message