Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: paulgr on May 11, 2023, 05:27:35 PM

Title: Icons not showing
Post by: paulgr on May 11, 2023, 05:27:35 PM
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 !!!
Title: Re: Icons not showing
Post by: Sir Osis of Liver on May 11, 2023, 06:15:41 PM
Check file permissions.  Dirs/files should be 755/644.
Title: Re: Icons not showing
Post by: paulgr on May 11, 2023, 07:34:59 PM
File permissions are set to Dirs/Files 755/666.

Thank you, Paul
Title: Re: Icons not showing
Post by: Steve on May 12, 2023, 05:28:52 AM
Did that solve your problem?
Title: Re: Icons not showing
Post by: paulgr on May 12, 2023, 06:00:19 AM
I'm afraid problem persists.

Title: Re: Icons not showing
Post by: Sir Osis of Liver on May 12, 2023, 12:47:42 PM
403 is a server error, do you have any errors in error_log (or something similar) in forum root?
Title: Re: Icons not showing
Post by: Kindred on May 13, 2023, 09:08:33 AM
I would bet that you have a problem with your javascript
Title: Re: Icons not showing
Post by: JayH1119 on May 13, 2023, 11:54:43 AM
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.
Title: Re: Icons not showing
Post by: Aleksi "Lex" Kilpinen on May 13, 2023, 03:26:51 PM
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?
Title: Re: Icons not showing
Post by: MrPython on May 14, 2023, 03:18:13 AM
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.
Title: Re: Icons not showing
Post by: paulgr on May 14, 2023, 04:41:08 AM
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.