phpmyadmin升级后未显示内容(phpmyadmin5,ubuntu20.04,带有php8.1)

发布于 2025-01-24 12:35:05 字数 581 浏览 2 评论 0 原文

所以我的问题如下。最近,我发现了很多警告和弃用通知,然后运行以下内容,其中删除了消息:

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:
enter image description here

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷心人i 2025-01-31 12:35:05

当我从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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文