XF 2.3 Problem with helper_js_global? No __VARIANT__.svg icon?

ekool

Well-known member
I see this error in my error_log and found the relevant code in the helper_js_global -- Unsure how to fix though?

Code:
2025/01/19 15:02:28 [error] 13660#13660: *157522 open() "/home/nginx/domains/sitename.com/public/data/local/icons/__VARIANT__.svg" failed (2: No such file or directory), client: 162.158.42.110, server: sitename.com, request: "GET /data/local/icons/__VARIANT__.svg?v=1737320447 HTTP/2.0", host: "www.sitename.com"
 

There is no file by that filename in that directory though. So even if nginx were configured correctly, it wouldn't serve that file?

Code:
# pwd
/public/data/local/icons
# ls -lh
total 352K
-rw-r--r-- 1 nginx nginx 9.0K Jan 20 12:37 brands.svg
-rw-r--r-- 1 nginx nginx  44K Jan 20 12:37 duotone.svg
-rw-rw-rw- 1 nginx nginx    1 Jan 19 12:05 index.html
-rw-r--r-- 1 nginx nginx 129K Jan 20 12:37 light.svg
-rw-r--r-- 1 nginx nginx 145K Jan 20 12:37 regular.svg
-rw-r--r-- 1 nginx nginx 9.4K Jan 20 12:37 solid.svg
 
Back
Top Bottom