-
-
Notifications
You must be signed in to change notification settings - Fork 437
Translations on debian 'bookworm' systems may cause server errors #5160
Copy link
Copy link
Closed
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamcore/configA core feature either system level or configA core feature either system level or configtranslationTranslation issueTranslation issue
Milestone
Description
Describe the bug
This is a follow up of issue #5147. With the patch train provided by @netniV on top of the #5147 commits, the error message is still the same. I verified that /usr/share/php is in the include_path according to the cacti viewtech phpinfo page (although I couldn't find where it set).
[Thu Jan 12 15:27:31.996663 2023] [php:error] [pid 1005126] [client 127.0.0.1:38190] PHP Fatal error: Uncaught Error: Class "PhpMyAdmin\\MoTranslator\\Cache\\InMemoryCache" not found in /usr/share/php/PhpMyAdmin/MoTranslator/Translator.php:115\nStack trace:\n#0 /usr/share/cacti/site/include/global_languages.php(379): PhpMyAdmin\\MoTranslator\\Translator->__construct()\n#1 /usr/share/cacti/site/include/global_languages.php(190): load_gettext_motranslator()\n#2 /usr/share/cacti/site/include/global.php(539): include_once('...')\n#3 /usr/share/cacti/site/include/auth.php(27): require_once('...')\n#4 /usr/share/cacti/site/settings.php(25): include('...')\n#5 {main}\n thrown in /usr/share/php/PhpMyAdmin/MoTranslator/Translator.php on line 115
In Debian, the version in stable (bullseye) seems to work as expected. The php-phpmyadmin-motranslator package has changed since bullseye, the caching is new.
Although I believe this is a problem that mostly lies with Debian, I'm glad with the help offered by @netniV. I hope we can improve the code to help debugging, even if I need to fix the issue in the end in Debian.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamcore/configA core feature either system level or configA core feature either system level or configtranslationTranslation issueTranslation issue