Closed aqos156 closed 2 years ago
Solved, thank you.
@f3l1x tested the fix and another thing seems broken. From container log:
[10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 Accepted
[10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "script" in /srv/adminer.php on line 169
[10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "QUERY_STRING" in /srv/adminer.php on line 169
[10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "HTTP_X_FORWARDED_PREFIX" in /srv/adminer.php on line 169
[10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "HTTPS" in /srv/adminer.php on line 169
[10] [Thu Aug 12 11:31:01 2021] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /srv/adminer.php:20
Stack trace:
#0 /srv/adminer.php(169): remove_slashes()
#1 /srv/index.php(77): include('...')
}
thrown in /srv/adminer.php on line 20
[10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 [500]: GET / - Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /srv/adminer.php:20
Stack trace:
#0 /srv/adminer.php(169): remove_slashes()
#1 /srv/index.php(77): include('...')
}
thrown in /srv/adminer.php on line 20
[10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 Closing
@f3l1x tested the fix and another thing seems broken. From container log:
[10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 Accepted [10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "script" in /srv/adminer.php on line 169 [10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "QUERY_STRING" in /srv/adminer.php on line 169 [10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "HTTP_X_FORWARDED_PREFIX" in /srv/adminer.php on line 169 [10] [Thu Aug 12 11:31:01 2021] PHP Warning: Undefined array key "HTTPS" in /srv/adminer.php on line 169 [10] [Thu Aug 12 11:31:01 2021] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /srv/adminer.php:20 � Stack trace: #0 /srv/adminer.php(169): remove_slashes() #1 /srv/index.php(77): include('...') � } thrown in /srv/adminer.php on line 20 [10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 [500]: GET / - Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /srv/adminer.php:20 � Stack trace: #0 /srv/adminer.php(169): remove_slashes() #1 /srv/index.php(77): include('...') � } thrown in /srv/adminer.php on line 20 [10] [Thu Aug 12 11:31:01 2021] 10.0.17.21:49742 Closing
This is the
dg
version. Others not tested.
Should be fixed in https://github.com/dockette/adminer/pull/40.
Can you verify it @aqos156?
@f3l1x I have tested the fix and everything seems to be working again, thank you.
After deploying latest docker image of
dg
variant an error occured in our environment.After further testing it is not limited to the
dg
variant but alsofull
is not working. Maybe something to do with the absolute path of/tini
?https://github.com/dockette/adminer/blob/c5b6182b090ae038b611d7f3bafd1089162690fa/adminer-dg/Dockerfile#L34
It seems like the binary
tini
is not even present in the container.