No default smileys on production

Started by Plantje, December 03, 2022, 05:09:02 PM

Previous topic - Next topic

Plantje

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

Steve

DO NOT pm me for support!

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:
You cannot view this attachment.

And then I have to manually navigate to the location of the image:
You cannot view this attachment.   


Plantje

Not sure what is safe to share here when it comes to settings of file locations.

Steve

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?
DO NOT pm me for support!

Plantje

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...
You cannot view this attachment.
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:
You cannot view this attachment.
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:
You cannot view this attachment.
(Doesn't work either if I add all smiley sets to the Production environment)

Edit smileys screen:
You cannot view this attachment.

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. 

Illori

can you try running repair_settings.php? it may help to fix the issue.

Plantje


Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Plantje

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!

Steve

I sure @Kindred meant https vs http ... meaning your paths should be https.
DO NOT pm me for support!

Kindred

Exactly...    if your smilies are using http, but your site is https, the smilies won't show
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Plantje

Ah, like that. Currently everything is running https. So the current setting of https should be ok.

Kindred

If people are getting warnings, then not everything is actually https.

Is vliegvissers.com your production site?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Plantje

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.

Dave J

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.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Advertisement: