Hi all !
Could someone help a newbie ? :)
I have a forum that is not displaying any icons (not in toolbar while typing a message, nor icons near "Like" etc). Put it simply no icons at all.
Forum is using the Default Theme and the files are in the correct path (Theme and apricons paths exist in Cpanel), but when in the forum's webpage and attempting to right click to the point where the icon should be displayed and select "open image in new window" i get a new window with the below response :
"Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
Any idea about the cause ?
Thanks !!!
Check file permissions. Dirs/files should be 755/644.
File permissions are set to Dirs/Files 755/666.
Thank you, Paul
Did that solve your problem?
I'm afraid problem persists.
403 is a server error, do you have any errors in error_log (or something similar) in forum root?
I would bet that you have a problem with your javascript
Quote from: paulgr on May 11, 2023, 07:34:59 PMFile permissions are set to Dirs/Files 755/666.
Thank you, Paul
666 allows read/write to everyone - probably not a good idea.
If your files/folder are owned by a user different from the user running your apache2(?) server, you may want to try 775/664.
Some server setups literally require them to be 755/644 or lower. So I would try this first.
Quote from: Sir Osis of Liver on May 11, 2023, 06:15:41 PMCheck file permissions. Dirs/files should be 755/644.
If lowering the permissions doesn't help, look at your server error log - what is logged along with that 403?
Quote from: paulgr on May 12, 2023, 06:00:19 AMI'm afraid problem persists.
If you are interested, I can help you with the settings of your server.
Thank you all for the suggestions. We managed to resolve this. Issue was a hotlink protection feature introduced by our host.
Files were there but could not be reached.