XF 2.3 Forum Icons missing plus post box icons missing after upgrade to 2.3

trman

Active member
Upgraded to 2.3 over the weekend from 2.2. I had to do a manual FTP upgrade due to the one click upgrade not completing. I followed Xenforo's instructions.

After upgrading the forum (node) icons on the main page don't show, and also the icons in the posting box for text style, size, color, smiles, etc. don't show. I don't use any themes, just made some color changes. All worked good before the upgrade.

I have tried:
1. Disabling add ons.
2. Switching to default style.
3. Rebuilding Icons in the ACP.
4. Turning off Ezoic, an ad server that I use.

Still no joy. Any ideas?
 
Make sure the user PHP runs as can read from and write to the data/local/ directory and that the user the web server runs as can read from there.
 
I think this is already correct since I have another Xenforo forum on the same server and it is working correctly. Also upgraded to 2.3 over the weekend.
 
It’s worth double checking as that was the cause the only other time we’ve seen this issue.

You might want to examine the contents of the data/local/ directory as well to see if the sprites are being written to the icons/ subdirectory.
 
I am unable to view them in the browser. It is like the image isn't there. When right clicked where the image should be, there is no option to view in a browser.
 
When I substituted my forum address in the link you sent me it returned 404 not found for regular.svg. However I can look and see that there is a regular.svg file in the icons folder.
 
That usually means your web server does not have the proper permissions to access that file on the file system.

The files themselves look world readable in your screenshot but you may wish to double check the directory permissions for both data/local/ and data/local/icons/.

Otherwise your web server error log may have more clues.
 
I found this in the apache error log with regards to regular.svg file:

[Mon Aug 26 17:34:40.248442 2024] [core:error] [pid 398332:tid 398354] [remote 209.177.138.77:65351] Caught race condition abuser. attacker: 1065, victim: 0 open file owner: 0, open file: /home/mydomain/public_html/forums/data/local/icons/regular.svg, referer: https://mydomain.com/forums/
 
That error again points to a permissions issue: https://stackoverflow.com/a/38481759/22177419

I'm afraid I cannot offer further advice beyond ensuring the directories and files are owned by the correct user and that the data/local/icons/ directory is readable by the web server user. The appropriate setup can vary by server configuration but it should match the ownership and permissions of other directories and files in the data/ directory.
 
That was the problem. Somehow the upgrade changed the permissions for the /icons folder and it's contents to root. I changed it back to the user name and it worked. Don't know what happened, all was working well before the upgrade.

Anyway, a big thank you for your help, you solved it!!!
 
Back
Top Bottom