所以我的问题如下。最近,我发现了很多警告和弃用通知,然后运行以下内容,其中删除了消息:
sudo add-apt-repository ppa:phpmyadmin/ppa
sudo apt-get update
sudo apt-get upgrade phpmyadmin
但是,当我现在登录数据库列表时,在删除之前,在左侧栏中短暂闪烁。我可以更改页面顶部的选项卡,但内容区域中没有显示内容,请参见屏幕截图:
我在日志中查看,并在井水文件的权限上收到了一条消息,所以我修改了使用www-data,但这没有区别。日志档案。
我连接到此数据库的所有开发站点都在起作用,但我无法查看或修改PhpMyAdmin中的任何表。我重新启动了Apache( sudo Service Apache2 restart
)有什么想法吗?
So my issue as follows. Recently I found lots of warnings and deprecation notices I then ran the following which has removed the messages:
sudo add-apt-repository ppa:phpmyadmin/ppa
sudo apt-get update
sudo apt-get upgrade phpmyadmin
However when i now login the database list briefly flashes up in the left sidebar before being removed. I'm able to change the tabs in the top of the page but no content is shown in the content region, see screenshot:

I looked in the logs and had a message about the permissions of the blowfish file so I amended this to use www-data but this made no difference except now i get no new error at all in the error.log file.
All my dev sites connected to this database are working but i can't view or amend any tables from phpmyadmin. I have restarted Apache (sudo service apache2 restart
) Any ideas?
发布评论
评论(1)
当我从php7.4切换到php8时,出现了
/var/log/apache2/error.log
的大错误,显示/usr/usr/share/share/php/symfony/component/ dependencyInjection/ContainerBuilder.php:1140
是一个错误。更改
$ service = null === $ r-> getConstructor()? $ r-> newInstance():$ r-> newinstanceargs($ grainments);
to$ service = null = null ======= $ r-> getConstructor()? $ r-> newinstance():$ r-> newinstanceargs(array_values($ gragments));
做技巧。httpps://bugs.launchpad.net/bugs.net/bunbuntu/symfone/symfone/symfone/symfony /+bug/1932552
When I switched from php7.4 to php8 a big error in
/var/log/apache2/error.log
showed up, that the in/usr/share/php/Symfony/Component/DependencyInjection/ContainerBuilder.php:1140
was an error.change
$service = null === $r->getConstructor() ? $r->newInstance() : $r->newInstanceArgs($arguments);
to$service = null === $r->getConstructor() ? $r->newInstance() : $r->newInstanceArgs(array_values($arguments));
do the trick.https://bugs.launchpad.net/ubuntu/+source/symfony/+bug/1932552
https://github.com/symfony/symfony/commit/8e34978e4e2c4bf7dac97e44e904368c4cfb54f8