I'm sure the cause of the problem is within KeyHelp
I run keyhelp-toolbox will got error message.
Server operating system + version
Debian 11
Server virtualization technology used
Vmware
KeyHelp version + build number
22.1.1 (Build 2691)
Problem description / error messages
Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct(/home/keyhelp/www/keyhelp/locale/zh/LC_MESSAGES): failed to open dir: No such a file or directory in /home/keyhelp/www/keyhelp/functions/functions.gettext.php:47
Stack trace:
#0 /home/keyhelp/www/keyhelp/functions/functions.gettext.php(47): DirectoryIterator->__construct()
#1 /home/keyhelp/www/keyhelp/bin/toolbox.php(50): bindAllTextDomains()
#2 {main}
thrown in /home/keyhelp/www/keyhelp/functions/functions.gettext.php on line 47
Expected result
Actual result
Steps to reproduce
Additional information
This directory should /home/keyhelp/www/keyhelp/locale/zh_TW/LC_MESSAGES
keyhelp-toolbox can't run. [SOLVED]
Re: keyhelp-toolbox can't run. [SOLVED]
Thanks for reporting!
Your system locale is set to zh, KeyHelp expect it to be set to zh_tw (in your case).
The bug in KeyHelp is, the keyhelp-toolbox does not fall back to the default language in this case.
I have fixed it now. You can replace the KeyHelp file with this command and you are good:
Your system locale is set to zh, KeyHelp expect it to be set to zh_tw (in your case).
The bug in KeyHelp is, the keyhelp-toolbox does not fall back to the default language in this case.
I have fixed it now. You can replace the KeyHelp file with this command and you are good:
Code: Select all
cp /home/keyhelp/www/keyhelp/bin/toolbox.php /home/keyhelp/www/keyhelp/bin/toolbox.php ; wget https://install.keyhelp.de/misc/toolbox -O /home/keyhelp/www/keyhelp/bin/toolbox.php ; chown keyhelp:keyhelp /home/keyhelp/www/keyhelp/bin/toolbox.php ; chmod +x /home/keyhelp/www/keyhelp/bin/toolbox.php
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: keyhelp-toolbox can't run.
Hallo,Alexander wrote: ↑Wed 17. Aug 2022, 10:59 Thanks for reporting!
Your system locale is set to zh, KeyHelp expect it to be set to zh_tw (in your case).
The bug in KeyHelp is, the keyhelp-toolbox does not fall back to the default language in this case.
I have fixed it now. You can replace the KeyHelp file with this command and you are good:
Code: Select all
cp /home/keyhelp/www/keyhelp/bin/toolbox.php /home/keyhelp/www/keyhelp/bin/toolbox.php ; wget https://install.keyhelp.de/misc/toolbox -O /home/keyhelp/www/keyhelp/bin/toolbox.php ; chown keyhelp:keyhelp /home/keyhelp/www/keyhelp/bin/toolbox.php ; chmod +x /home/keyhelp/www/keyhelp/bin/toolbox.php
Ist das script noch up to date?
PHP Fatal error: The file /home/keyhelp/www/keyhelp/bin/toolbox.php encoded as type [1/71] cannot be decoded by this version of the ionCube Loader.
Re: keyhelp-toolbox can't run.
Hallo,
läuft auf der CLI die vom System mitgebrachte PHP Version oder wurde da was verändert?
läuft auf der CLI die vom System mitgebrachte PHP Version oder wurde da was verändert?
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: keyhelp-toolbox can't run.
Das klappt nicht.
Deine Cron-Jobs laufen jetzt wahrscheinlich nicht mehr.
Default CLI muss für Bullseye 7.4 sein.
Wenn Du ein anderes brauchst, dass unter php erreichbar ist, siehe hier: viewtopic.php?t=11705
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: keyhelp-toolbox can't run.
Danke. Der Link war hilfreich.24unix wrote: ↑Wed 28. Sep 2022, 20:05Das klappt nicht.
Deine Cron-Jobs laufen jetzt wahrscheinlich nicht mehr.
Default CLI muss für Bullseye 7.4 sein.
Wenn Du ein anderes brauchst, dass unter php erreichbar ist, siehe hier: viewtopic.php?t=11705