XF 1.5 Smilies and changing their path / SSL and mixed content

ehd

Well-known member
Hi,

I have a strange problem with mixed content after switching to SSL. I saw that all the smilies were served with http. Then I discovered that in the database in xf_smilie the image_url all had a direct link to "http". I think I did this several years ago when I was switching from vbulletin (don't ask me why, I think it was when importing my custom smilies).

The urls were changed in the database and point to https now. But still the smilies are being served with http.

I waited 6 hours now, but nothing happened. Is there any caching mechanism, which shows the old smilies?

Thanks alot :)
 
Never change things in the database directly. You should change the smilie URLs in the control panel which will trigger the necessary rebuilds.

You should be able to edit a smilie to get your changes to be applied. You may need to change a URL and then change it back to what it's supposed to be.
 
Never change things in the database directly. You should change the smilie URLs in the control panel which will trigger the necessary rebuilds.

You should be able to edit a smilie to get your changes to be applied. You may need to change a URL and then change it back to what it's supposed to be.
Where can I change the smilie URL in the admin panel?
 
You can't edit anny https/ssl settings in the smilie settings.
You can by changing HTTP to HTTPS, if you have smilies defined with URLs like that.

What are the URLs currently for the smilies you have defined?

Are they relative or absolute to your own domain?

Are they other domains?
 
You can't edit anny https/ssl settings in the smilie settings.
As Brogan said, yes you can - if you used a full path to them including the protocol.
If you did it as a direct path to the images on the server then it uses the URL info you configured in your ACP.
If you are leeching the smiles from another site that is not HTTPS then you will get insecure content (I had that issue with some people using some of mine until I replaced all smilies with another image that were hot linked from elsewhere).
 
If you have any caching active, you will probably need to flush it (on the server).
If you are using CloudFlare (or similar) you will need to clear that cache.
If you are using one of the caching add-ons (like BD-cache or similar) then you need to flush it also.
 
Back
Top Bottom