[Pkg-cacti-maint] Bug#1028141: bug 1028141: cacti: new install shows error 500 on browser
Paul Gevers
elbrus at debian.org
Thu Jan 12 14:25:58 GMT 2023
Dear php-phpmyadmin-motranslator maintainers,
I recently received bug report 1028141 against my package cacti, see
below. cacti is depending on php-phpmyadmin-motranslator to enable
translations of the website and the reporter triggers (via his browser
settings) the site to activate it. However, that currently is severely
broken in unstable and testing. (I created a test case, and that passes
on stable, so I think this is a regression). Upstream has been quite
helpful (see https://github.com/Cacti/cacti/issues/5147), but this isn't
their problem, because they vendor a different platform for
translations. The problem is either in php-phpmyadmin-motranslator or in
the way the Debian cacti package uses it. Can you help me figure out how
to fix this?
On Sat, 7 Jan 2023 14:43:08 -0300 Bruno Meirelles <bmeirelles at gmail.com>
wrote:
> I'm trying to install on debian bookworm
> I'm installing using APT
> the browser shows error 500
> my apache is 2.4.54 and my php is 8.1.12
>
> this appears in the apache log:
>
> [Sat Jan 07 14:07:12.322217 2023] [php:error] [pid 55502] [client
> 192.168.254.100:57408] 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(312):
> PhpMyAdmin\MoTranslator\Translator->__construct()\n#1
> /usr/share/cacti/site/include/global_languages.php(254):
> load_gettext_motranslator()\n#2
> /usr/share/cacti/site/include/global.php(527): include_once('...')\n#3
> /usr/share/cacti/site/include/auth.php(27): require_once('...')\n#4
> /usr/share/cacti/site/index.php(25): include('...')\n#5 {main}\n thrown
> in /usr/share/php/PhpMyAdmin/MoTranslator/Translator.php on line 115
> [Sat Jan 07 14:07:12.322446 2023] [php:warn] [pid 55502] [client
> 192.168.254.100:57408] PHP Warning: Trying to access array offset on
> value of type null in /usr/share/cacti/site/lib/functions.php on line 5866
> [Sat Jan 07 14:07:12.326601 2023] [php:warn] [pid 55502] [client
> 192.168.254.100:57408] PHP Warning: Trying to access array offset on
> value of type null in /usr/share/cacti/site/lib/functions.php on line
> 5931I'm trying to install on debian bookworm
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-cacti-maint/attachments/20230112/6b54f513/attachment.sig>
More information about the Pkg-cacti-maint
mailing list