I’ve designed our Wiki to look the way I envisioned, but when I click on any link in the left menu, the content opens, but the appearance of the left menu is different from the homepage. I checked here in UNA, and it looks consistent. How and where can I set this up? Thank you @Alex T⚜️
- 602
After creating a course, I get this error. On the timeline and courses-home, the created course is visible, but when I click on it, the error appears again. What could be the problem?
Fatal error: Uncaught TypeError: mb_substr(): Argument #1 ($string) must be of type string, array given in /home/domains/XXXXX.cz/web/public/inc/utils.inc.php:867 Stack trace: #0 /home/domains/XXXXX.cz/web/public/inc/utils.inc.php(867): mb_substr() #1 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(916): get_mb_substr() #2 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralFormEntry.php(816): BxBaseFormView->genViewRowValue() #3 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(787): BxBaseModGeneralFormEntry->genViewRowValue() #4 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(775): BxBaseFormView->_genViewRowWrapped() #5 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralFormEntry.php(826): BxBaseFormView->genViewRowWrapped() #6 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(761): BxBaseModGeneralFormEntry->genViewRowWrapped() #7 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(620): BxBaseFormView->genViewRow() #8 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(488): BxBaseFormView->genRows() #9 /home/domains/XXXXX.cz/web/public/template/scripts/BxBaseFormView.php(349): BxBaseFormView->genForm() #10 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralFormEntry.php(128): BxBaseFormView->getCode() #11 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralFormsEntryHelper.php(611): BxBaseModGeneralFormEntry->getCode() #12 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralModule.php(3934): BxBaseModGeneralFormsEntryHelper->viewDataForm() #13 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralModule.php(1737): BxBaseModGeneralModule->_serviceEntityForm() #14 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolRequest.php(129): BxBaseModGeneralModule->serviceEntityInfo() #15 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolRequest.php(57): BxDolRequest::_perform() #16 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolService.php(52): BxDolRequest::processAsService() #17 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolService.php(82): BxDolService::call() #18 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(1215): BxDolService::callSerialized() #19 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(838): BxBasePage->_getBlockService() #20 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(772): BxBasePage->_getBlockCode() #21 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(710): BxBasePage->_getBlockCodeWithCache() #22 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(753): BxBasePage->_getPageCodeVars() #23 /home/domains/XXXXX.cz/web/public/template/scripts/BxBasePage.php(273): BxBasePage->_getPageCode() #24 /home/domains/XXXXX.cz/web/public/modules/base/general/classes/BxBaseModGeneralPageEntry.php(100): BxBasePage->getCode() #25 /home/domains/XXXXX.cz/web/public/modules/base/profile/classes/BxBaseModProfilePageEntry.php(144): BxBaseModGeneralPageEntry->getCode() #26 /home/domains/XXXXX.cz/web/public/modules/base/groups/classes/BxBaseModGroupsPageEntry.php(108): BxBaseModProfilePageEntry->getCode() #27 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolPage.php(747): BxBaseModGroupsPageEntry->getCode() #28 /home/domains/XXXXX.cz/web/public/inc/classes/BxDolPage.php(429): BxDolPage->displayPage() #29 /home/domains/XXXXX.cz/web/public/r.php(30): BxDolPage::processSeoLink() #30 {main} thrown in /home/domains/XXXXX.cz/web/public/inc/utils.inc.php on line 867
- 2157
It would be great if it were possible to set different currencies for users to purchase credits. When a user switches the website's language, they should see the corresponding currency — for example, euros for German and dollars for English, etc.
Because when I have a multilingual platform, I only have the option to set the currency for one country, and that is very disadvantageous for users in most cases.
Each currency has a different monetary value
- 1100
I have a problem with processing videos, I will try to describe it. Version 14RC1 and 13.1 stable, same problem
I first uploaded a 1 MB video, which went through relatively smoothly. Only the page with the video took a while to load, but the rest of the website responded normally. Then I uploaded a 30 MB video, and while the website was still responsive, things started to get interesting. On the server, tasks for converting (ffmpeg) the same video kept piling up, which heavily burdened it. There are only two video quality options, yet these tasks are being triggered from the website. I absolutely don’t understand this, given that there is a cron job. The cron job could trigger them directly as a process. I see no reason why the video conversion application should block the PHP process dedicated to the web server.
web9004 13691 30587 0 15:53 ? 00:00:06 php-fpm: pool example.comweb9004 15340 13691 0 16:05 ? 00:00:00 sh -c /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i 'https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4web9004 15341 15340 9 16:05 ? 00:00:00 /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4web9004 13270 30587 0 15:52 ? 00:00:04 php-fpm: pool example.comweb9004 15281 13270 0 16:04 ? 00:00:00 sh -c /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i 'https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4'web9004 15282 15281 11 16:04 ? 00:00:08 /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4web9004 15050 7402 0 15:59 ? 00:00:00 sh -c /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i 'https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4'web9004 15051 15050 11 15:59 ? 00:00:46 /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4web9004 15074 7766 0 16:00 ? 00:00:00 sh -c /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i 'https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4'web9004 15075 15074 11 16:00 ? 00:00:41 /home/domains/example.com/web/public/plugins/ffmpeg/ffmpeg.exe -i https://example.com/s/bx_videos_media_resized/gbqvg3vjzdpvfnhyzwqawcpmu4eqgz2m.mp4web9004 7402 30587 0 15:35 ? 00:00:05 php-fpm: pool example.comweb9004 7766 30587 0 15:37 ? 00:00:04 php-fpm: pool example.com
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14130 web9004 20 0 242216 35616 24160 S 18,8 0,3 0:04.28 php-fpm
14187 web9004 20 0 242540 37564 25856 S 18,8 0,3 0:04.35 php-fpm
14188 web9004 20 0 242672 38964 27200 S 18,8 0,3 0:03.70 php-fpm
14267 web9004 20 0 242024 30368 19116 S 18,8 0,2 0:01.76 php-fpm
14271 web9004 20 0 242220 36352 24884 R 18,8 0,3 0:02.10 php-fpm
14272 web9004 20 0 242544 38436 26676 S 18,8 0,3 0:01.65 php-fpm
2013 mysql 20 0 2163672 248260 19660 S 12,5 2,0 1:53.19 mysqld
11984 web9004 20 0 96488 21828 12156 R 12,5 0,2 0:54.34 ffmpeg.exe
12173 web9004 20 0 96488 21852 12180 S 12,5 0,2 0:49.34 ffmpeg.exe
12343 web9004 20 0 96488 21940 12268 S 12,5 0,2 0:46.48 ffmpeg.exe
13577 web9004 20 0 96488 21844 12268 R 12,5 0,2 0:16.91 ffmpeg.exe
13953 web9004 20 0 96488 21844 12268 R 12,5 0,2 0:07.42 ffmpeg.exe
14012 web9004 20 0 96488 21848 12268 R 12,5 0,2 0:07.04 ffmpeg.exe
14269 web9004 20 0 96488 21848 12272 R 12,5 0,2 0:01.60 ffmpeg.exe
14270 web9004 20 0 242024 31032 19776 S 12,5 0,3 0:02.19 php-fpm
14325 web9004 20 0 96488 21784 12208 S 12,5 0,2 0:00.90 ffmpeg.exe
14329 web9004 20 0 242024 30176 18928 R 12,5 0,2 0:01.15 php-fpm
30698 www-data 20 0 1970344 33044 7188 S 12,5 0,3 1:58.96 apache2
12176 web9004 20 0 96488 21968 12296 S 6,2 0,2 0:48.07 ffmpeg.exe
14186 web9004 20 0 96488 21804 12228 S 6,2 0,2 0:02.89 ffmpeg.exe
In addition, these ffmpeg tasks download the video again through the webserver. The file should be loaded directly from the disk correctly?
What is causing this behavior?
- 811