On my production environment the default smileys are not available. I have loaded a few sets of smileys and the default ones are not found. All others in sub directories of the same directory as where the default smileys reside they are working. This is for vliegvissers.com
On my test environment (https://www.vliegvissers.nl/SMForum/index.php) everything is working fine. Including the default ones. I have checked the settings and everything seems the same.
Running 2.1.3 on both environments
Is this still a problem
@Plantje?
And again... unfortunately no notification E-mail. :(
Well.... I've found my way here... :)
Yes, it's still a problem. I have removed the default smiley set and added it again. By default now, if I go to the page to change the smileys it looks like this:
Schermafbeelding 2022-12-29 172601.png
And then I have to manually navigate to the location of the image:
Schermafbeelding 2022-12-29 172242.png
Not sure what is safe to share here when it comes to settings of file locations.
As long as no password information is posted you should be safe in most cases. When in doubt, ask.
Have you run https://wiki.simplemachines.org/smf/Repair_settings.php at any point?
I have not run https://wiki.simplemachines.org/smf/Repair_settings.php
Let me see, if I can show why I believe the default smileys should be working...
Let's focus on the wink smiley...
Files on server.png
These are the files on the server. For every picture: the left one is my Test environment that IS working and on the right side is my Production environment that is NOT working.
The settings:
Settings.png
Test environment: /customers/4/2/c/vliegvissers.nl/httpd.www/SMForum/Smileys
Production environment: /customers/3/2/5/vliegvissers.com/httpd.www/SMForum/Smileys
Smiley sets:
Smiley sets.png
(Doesn't work either if I add all smiley sets to the Production environment)
Edit smileys screen:
Wink smiley.png
For some reason it doesn't search for the file "wink.gif" which is really there! As a matter of fact: on my Production environment all folders hold the entire set of files.
can you try running repair_settings.php? it may help to fix the issue.
Ran it, didn't fix the issue...
I almost guarantee that the issue is your url and/or database.
I assume that you set up in staging and then copied to production. Right?
You need to copy the database to a production database AND then change Settings.php in production to the NEW database.
Then, after that, you need to set the paths using repair_settings
ALL the paths and URLs.
Also http vs https
Quote from: Kindred on December 31, 2022, 12:58:11 PMI almost guarantee that the issue is your url and/or database.
Where should I check in the database?
Quote from: Kindred on December 31, 2022, 12:58:11 PMI assume that you set up in staging and then copied to production. Right?
Nope. These are two independent environments. If I do something, I first do it on the Test environment, I make notes of the steps. And after testing for a while, I perform the same steps on Production. No copy/pasting from one environment to another.
Quote from: Kindred on December 31, 2022, 12:58:11 PMYou need to copy the database to a production database AND then change Settings.php in production to the NEW database.
Then, after that, you need to set the paths using repair_settings
ALL the paths and URLs.
Also http vs https
Why http vs https? I got some complaints of people getting the message that the site was not secure. And if for example I open the wink smiley on this (community) site it opens in https as well: https://static.simplemachinesweb.com/smf/smileys/default/wink.gif Or am I on a wrong track?
Enjoy new year's eve!
I sure
@Kindred meant https vs http ... meaning your paths should be https.
Exactly... if your smilies are using http, but your site is https, the smilies won't show
Ah, like that. Currently everything is running https. So the current setting of https should be ok.
If people are getting warnings, then not everything is actually https.
Is vliegvissers.com your production site?
No fortunately that is fixed. English is not my native language, so I can make some mistakes here and there.
I got some complaints of people that got the notification my forum was not secure. I fixed that and with the migration to SMF 2.1.3 (from 2.0.18) now the last bits and pieces are also on HTTPS. So, I'm good there.
Yes, vliegvissers.com is the Production one.
Yesterday I was comparing the databases. But the thing is: as soon as I login on my control panel on One.com and open the database for vliegvissers.nl, if I then open another Edge screen and navigate to One.com and open the database for vliegvissers.com it is stuck in the same session. And I cannot control the vliegvissers.nl DB anymore. Makes it harder to compare.
Quote from: Plantje on January 02, 2023, 03:16:41 AMNo fortunately that is fixed. English is not my native language, so I can make some mistakes here and there.
I got some complaints of people that got the notification my forum was not secure. I fixed that and with the migration to SMF 2.1.3 (from 2.0.18) now the last bits and pieces are also on HTTPS. So, I'm good there.
Yes, vliegvissers.com is the Production one.
Yesterday I was comparing the databases. But the thing is: as soon as I login on my control panel on One.com and open the database for vliegvissers.nl, if I then open another Edge screen and navigate to One.com and open the database for vliegvissers.com it is stuck in the same session. And I cannot control the vliegvissers.nl DB anymore. Makes it harder to compare.
Use a different browser for each site location.