mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #1174] Cypht menus, buttons, etc., showing codes instead of characters. #597
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#597
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PaulTGG on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1174
Originally assigned to: @Shadow243 on GitHub.
🐛 Bugreport
The latest code as of this moment is showing those weird entity code squares instead of characters in a bunch of places. Here's an example.
Version & Environment
Rev:
8b0ed3aSteps to reproduce
@marclaporte commented on GitHub (Aug 15, 2024):
Thank you @PaulTGG !
@nptrainor commented on GitHub (Aug 15, 2024):
Plus 1 - I have the same issue. Followed install instructions and get codes rather than icons.
@marclaporte commented on GitHub (Aug 15, 2024):
@nptrainor @PaulTGG Can you try https://github.com/cypht-org/cypht/releases/tag/v2.2.0 ?
@PaulTGG commented on GitHub (Aug 15, 2024):
I thought rev
8b0ed3a= 2.2.0? Would there be any differences?@Shadow243 commented on GitHub (Aug 15, 2024):
We had the same issue with @kambereBr, We had to run the command: composer install
@Shadow243 commented on GitHub (Aug 15, 2024):
I'm trying to reproduce to see if I can find an other scenario
@PaulTGG commented on GitHub (Aug 15, 2024):
Just confirming that I ran
composer installwhen I upgraded Cypht. (My use-case is that I keep my settings in a database, but I delete and replace the entire front-end when I update my version. I don't "update in place.")@Shadow243 commented on GitHub (Aug 15, 2024):
Copy that @PaulTGG , We are looking for the solution, thanks for the feedback.
@nptrainor commented on GitHub (Aug 17, 2024):
After further investigation, it seems that
did not make their way to the Cypht top level 'fonts' directory on the web server
From my point of view, this problem is solved, but it may continue to affect others too who have not read this report.
Thank you for all your hard work.
@PaulTGG commented on GitHub (Aug 17, 2024):
At what point during installation should those files be copied into that directory? I just tried again with
652e144, and those files were not moved from their subfolders deep in the "vendors" folder. It seems to me as though there's either some sort of glitch, or the installation instructions need to be updated.@europacafe commented on GitHub (Aug 28, 2024):
Could you share where can I find those fonts files? I want to manually copy it to my docker image while I'm waiting for the new version release.
From the master source, I only found two Behdad font files in the folder modules/core/assets/fonts/Behdad. Then I copied those two files into folder /usr/local/share/cypht/site/fonts, and renamed them to bootstrap-icons.woff and woff2. It still doesn't work.
I also downloaded bootstrap-icons.woff and bootstrap-icons.woff2 from another website, https://unpkg.com/browse/bootstrap-icons@1.2.1/font/fonts/ , and put them in the same folder. Still not working (permission is 744)
@indridieinarsson commented on GitHub (Aug 28, 2024):
I encountered this as well, using the docker image (build with the Dockerfile in the source tree).
There seems to be a glitch in the config_gen.php file. Not sure if this perhaps only affects install via the docker image.
In any case, this diff seems to fix the issue for me:
@europacafe commented on GitHub (Aug 29, 2024):
@indridieinarsson @PaulTGG Thanks for finding out the cause of issue.
I don't know how to rebuild a docker image, but I have tried copying those two woff/woff2 files from the


vendor/twbs/bootstrap-icons/font/fontsfolder to the existingsite/fontsfolder; change my docker-compose to make thefontsfolder persistent, then docker-compose down and up my cypht. The webpage still doesn't display icons.It produced these errors:

Any additional things I need to do to make this workaround solution work?