You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the dev branch (18b0c5df6636442e9c41c62e5087453aa853759dc0a2a6438e5170d097b84eaa) through docker and switched to Chinese language
When the album name contains the _ symbol, no search results are found. For example, test__album cannot be searched through test__album, but can be searched through album
When using Chinese search, the browser console will display the following error
@vue-qHdrsPl8.js:13 InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
at Object.search (app-BSUPEGJz.js:6:110009)
at E (Search-DHDEJ6_Q.js:1:2901)
at Rs (@vue-qHdrsPl8.js:13:1385)
at st (@vue-qHdrsPl8.js:13:1455)
at nd (@vue-qHdrsPl8.js:14:32511)
at Search-DHDEJ6_Q.js:1:1821
at Promise.resolve.e.fn (@vueuse-rZGlsJ67.js:1:476)
at @vueuse-rZGlsJ67.js:1:863
3. In addition, I changed the language drop-down box in the settings, but no save button popped up, while it was normal in the advanced settings
Steps to reproduce the issue
Create an album test_album, search test_album
Observe no results
Use Chinese characters 这是测试相册 to create an album, search 测试相册 or the full name.
Observe the browser console error
Diagnostics [REQUIRED]
Errors:
--------------------
info : Latest version of PHP is 8.3
warning: Default timezone not properly set; you might experience strange results when importing photos without explicit EXIF timezone
info : git (software) is not available.
info : Have you considered supporting Lychee? :)
Info:
--------------------
Lychee Version (git): master (82909d7) -- 1 commits behind 842aec9 (0 seconds ago)
DB Version: 6.2.0
composer install: --no-dev
APP_ENV: production
APP_DEBUG: false
APP_URL: set
APP_DIR: default
LOG_VIEWER_ENABLED: true
VUEJS_ENABLED: true
PHOTO_PIPES: true
System: Linux
PHP Version: 8.2.26
PHP User agent: Lychee/4 (https://lycheeorg.github.io/)
Timezone: UTC
Max uploaded file size: 100M
Max post size: 100M
Chunk size: 25.60 MB
Max execution time: 3600
SQLite Version: 3.40.1
exec() Available: yes
Imagick Available: 1
Imagick Enabled: 1
Imagick Version: 1691
GD Version: 2.3.3
Number of foreign key: 11 found.
Config:
--------------------
version: 060200
check_for_updates: 0
sorting_photos_col: taken_at
sorting_photos_order: ASC
sorting_albums_col: max_taken_at
sorting_albums_order: ASC
imagick: 1
skip_duplicates: 0
small_max_width: 0
small_max_height: 360
medium_max_width: 1920
medium_max_height: 1080
lang: zh_CN
image_overlay_type: desc
default_license: none
compression_quality: 90
grants_full_photo_access: 1
delete_imported: 0
mod_frame_enabled: 1
mod_frame_refresh: 30
thumb_2x: 1
small_2x: 1
medium_2x: 1
landing_page_enable: 0
force_migration_in_production: 0
search_public: 0
hide_version_number: 0
SL_enable: 0
SL_for_admin: 0
recent_age: 1
grants_download: 0
photos_wraparound: 1
map_display: 0
zip64: 1
map_display_public: 0
map_provider: Wikimedia
force_32bit_ids: 0
map_include_subalbums: 0
update_check_every_days: 3
has_exiftool: 1
share_button_visible: 0
import_via_symlink: 0
has_ffmpeg: 1
location_decoding: 0
location_decoding_timeout: 30
location_show: 1
location_show_public: 0
rss_enable: 0
rss_recent_days: 7
rss_max_items: 100
prefer_available_xmp_metadata: 0
editor_enabled: 1
lossless_optimization: 0
swipe_tolerance_x: 150
swipe_tolerance_y: 250
local_takestamp_video_formats: .avi|.mov
log_max_num_line: 1000
unlock_password_photos_with_url_param: 0
nsfw_visible: 1
nsfw_blur: 0
nsfw_warning: 0
nsfw_warning_admin: 0
nsfw_banner_override:
map_display_direction: 1
album_subtitle_type: oldstyle
upload_processing_limit: 4
new_photos_notification: 0
legacy_id_redirection: 1
zip_deflate_level: 6
default_album_protection: 1
album_decoration: layers
album_decoration_orientation: row
allow_username_change: 1
auto_fix_orientation: 1
use_job_queues: 0
random_album_id: starred
use_last_modified_date_when_no_exif_date: 0
layout: justified
date_format_photo_thumb: M j, Y, g:i:s A e
date_format_photo_overlay: M j, Y, g:i:s A e
date_format_sidebar_uploaded: M j, Y, g:i:s A e
date_format_sidebar_taken_at: M j, Y, g:i:s A e
date_format_hero_min_max: F Y
date_format_hero_created_at: M j, Y, g:i:s A T
date_format_album_thumb: M Y
upload_chunk_size: 0
nsfw_banner_blur_backdrop: 0
search_pagination_limit: 1000
search_minimum_length_required: 4
photo_layout_justified_row_height: 320
photo_layout_masonry_column_width: 300
photo_layout_grid_column_width: 250
photo_layout_square_column_width: 200
photo_layout_gap: 12
display_thumb_album_overlay: always
display_thumb_photo_overlay: hover
default_album_thumb_aspect_ratio: 1/1
use_album_compact_header: 0
login_button_position: left
back_button_enabled: 0
back_button_text: Return to Home
current_job_processing_visible: 1
SA_random_thumbs: 0
job_processing_queue_visible: 1
login_required: 0
enable_unsorted: 1
enable_starred: 1
enable_recent: 1
enable_on_this_day: 1
login_required_root_only: 1
dark_mode_enabled: 1
low_quality_image_placeholder: 1
show_keybinding_help_popup: 0
show_keybinding_help_button: 1
disable_se_call_for_actions: 0
enable_se_preview: 0
slideshow_timeout: 5
keep_original_untouched: 1
timeline_photos_enabled: 1
timeline_photos_public: 0
timeline_photos_granularity: day
timeline_photos_order: taken_at
timeline_photos_layout: square
timeline_photos_pagination_limit: 200
timeline_albums_enabled: 1
timeline_albums_public: 0
timeline_albums_granularity: year
timeline_left_border_enabled: 1
timeline_photo_date_format_year: Y
timeline_photo_date_format_month: M Y
timeline_photo_date_format_day: j M Y
timeline_photo_date_format_hour: g:i
timeline_album_date_format_year: Y
timeline_album_date_format_month: M Y
timeline_album_date_format_day: j M
hide_nsfw_in_smart_albums: 1
hide_nsfw_in_frame: 1
hide_nsfw_in_map: 1
hide_nsfw_in_search: 1
search_photos_layout: square
hide_nsfw_in_rss: 1
hide_nsfw_in_timeline: 1
number_albums_per_row_mobile: 3
Browser & System [REQUIRED]
wsl2 ubuntu22 docker
Microsoft Edge 131.0.2903.99
win11 23h2
Please confirm (incomplete submissions will not be addressed)
I have provided easy and step-by-step instructions to reproduce the bug.
I understand my bug report will be removed if I haven't met the criteria above.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Lychee version
v6.2.0 dev
Which PHP version are you using?
PHP 8.2
Detailed description of the problem
I installed the dev branch (18b0c5df6636442e9c41c62e5087453aa853759dc0a2a6438e5170d097b84eaa) through docker and switched to Chinese language
_
symbol, no search results are found. For example,test__album
cannot be searched throughtest__album
, but can be searched throughalbum
3. In addition, I changed the language drop-down box in the settings, but no save button popped up, while it was normal in the advanced settings
Steps to reproduce the issue
Create an album
test_album
, searchtest_album
Observe no results
Use Chinese characters
这是测试相册
to create an album, search测试相册
or the full name.Observe the browser console error
Diagnostics [REQUIRED]
Browser & System [REQUIRED]
wsl2 ubuntu22 docker
Microsoft Edge 131.0.2903.99
win11 23h2
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions