[resolved] localisation issue
I cannot replicate the same issues. Are you guys seeing any errors via Apache Error Logs, PHP Error Logs, MySQL Error Logs, Browser Console Logs, or osTicket System Logs?
Cheers.
Everyone,
I tested by downloading German, Russian, and Italian right before writing this, uploaded to my v1.14.2 install (very basic), set the Primary Language to each, and all work just fine.
German
Italian
Russian
Cheers.
Hi @KevinTheJedi,
yes, i find some errors, but only for few minutes, not everytime.
Console:
Server Log:
Data Log
08/05/2020 13:03:35 [error] [client 87.0.175.x] - www.mysiteurl.it - AH01215: PHP Fatal error: Uncaught UnexpectedValueException: Cannot create phar '/web/htdocs/www.mysiteurl.it/home/support/include/i18n/it.phar', file extension (or combination) not recognised or the directory does not exist in /web/htdocs/www.mysiteurl.it/home/support/include/class.plugin.php:567: /web/htdocs/www.mysiteurl.it/home/support/scp/system.php, referer https://www.mysiteurl.it/support/scp/login.php
08/05/2020 13:03:35 [error] [client 87.0.175.x] - www.mysiteurl.it - AH01215: Stack trace:: /web/htdocs/www.mysiteurl.it/home/support/scp/system.php, referer https://www.mysiteurl.it/support/scp/login.php
08/05/2020 13:03:35 [error] [client 87.0.175.x] - www.mysiteurl.it - AH01215: #0 /web/htdocs/www.mysiteurl.it/home/support/include/class.plugin.php(567): Phar->__construct('/web/htdocs/www...'): /web/htdocs/www.mysiteurl.it/home/support/scp/system.php, referer https://www.mysiteurl.it/support/scp/login.php
08/05/2020 13:03:35 [error] [client 87.0.175.x] - www.mysiteurl.it - AH01215: #1 /web/htdocs/www.mysiteurl.it/home/support/include/class.plugin.php(606): Plugin::isVerified('/web/htdocs/www...'): /web/htdocs/www.mysiteurl.it/home/support/scp/system.php, referer https://www.mysiteurl.it/support/scp/login.php
No log on osTicket System Log
- Edited
Same problem here (German). Activated as system default but neither usable in agent view now customer view
No entries in osTicket Log, further logs are not accessible for us
(Edit) Adding plugins also doesn't work, they don't show up in the Plugins-Dialog
- Edited
Very strange indeed...I got the Uncaught UnexpectedValueException: Cannot create phar ...
error too and I resolved it by re-downloading the language pack from the website. Try downloading new language packs today and install them to test. COMPLETELY remove (delete) the older language packs you currently have installed and move the new ones in place.
Just a thought, maybe ownership or permissions are messed up somehow? Try chown
and chmod
to restore ownership/permissions.
Cheers.
KevinTheJedi
I think I found the problem. Please download a combined package containing osticket-1.14.2 and german language pack. Then, do another download with ONLY the german language pack. After that, please have a look at the both de.phar files. The one in the combined package is about twice the size of the solo download. The bigger one doesn't work, the smaller one installs fine and german language is usable.
- Edited
alko
Also for me.
The combined package containing an it.phar of 880k (and doesn't work),
the single download of it.phar is a file of 403k (and works).
KevinTheJedi
Now it works, the problem is into the combinated download manager
Thanks
I did it twice but still not successfull
I also extracted all files from ru.phar manually, put them into the folder Ru_ru, RU, RU_RU and many others trying to simulate .phar extraction which should be done by osticket system, but which never is done.... and it doesn't work
it seems to me something wrong in the latest build, not in the settings, because the system even doesn't make a call to the .phar archive, doesn't try to extract files and put them into the folders, but even when you do this extraction manually it still doesn't make a call to the files...
You are confused as to how we utilize the PHAR archives. We don't unpack and place the individual files into respective folders, instead we include the archive (via phar stream wrapper) and use what is needed on page loads. So the .phar
will always be a PHAR, it will never be unpacked and placed into folders unless of course you are making edits to the core files. Here is a good read on how to utilize PHAR Archives:
As mentioned in the comments above, this is definitely an issue with the download manager. We are currently looking into this and should have a resolution sometime this week. For the time being, you can simply download each language pack individually (one at a time). I will update this thread when we have a fix in place.
Cheers.
Guys... it is something wrong maybe with me or my computer or I don't know, BUT I cannot download Russian pack from this link:
https://osticket.com/download/#ostLang
I checked Russian, push Download, then "No thanks" and nothing goes on.... no download
I tried 3 different browsers!
What's going on?
Perhaps you have a firewall or something that is preventing you from downloading. I cannot replicate this, and it works for me.
Guys... it is something wrong maybe with me or my computer or I don't know, BUT I cannot download Russian pack from this link:
You might also just need to try a different browser and/or clear the cache completely.
@SergeyDK @Cm-8 @alko @Richie_DE
We believe we have corrected the issue. Please reattempt downloading the desired language pack in combination with other language packs to confirm if it is now resolved. If you come across a combination that doesn't work please let me know and I'll look into those specific cases.
Cheers.
Oh, yes, I should've mentioned that earlier. When visiting that URL it does not fully select the tab so when you click download it doesn't work correctly. You will have to visit https://osticket.com/donwload directly THEN click the Languages tab.
Cheers.
KevinTheJedi
I tried five minutes ago, but not work.
- going to to https://osticket.com/download/
- select 1.14.2 and click Next Step
- add Italian and click Next Step
- add Filesystem plugin and click Next Step
But on the downloaded zip file the italian phar is again 880k and uploaded to my osticket installation doesn't work.
The combination you were attempting to download has been fixed now so you should be able to retest successfully now.
Cheers.
KevinTheJedi
I confirm, it works!