News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

"The path to all smiley sets is wrong"

Started by grega, March 07, 2024, 03:08:24 AM

Previous topic - Next topic

grega

In the smileys settings I get this message:

"The path to all smiley sets is wrong. This will prevent smileys from working."

The path entered is https://www.gobe.si/forum/Smileys
and the smileys are there, tin the subfolders, for instance the forum/Smileys/default/angel.gif
 

What is wrong?

Arantor

That's a URL not a path. The path is the server folder path to the Smileys folder - SMF needs both where it is in the server and the equivalent URL to it.

grega

Ah, right, there was an error in the path, I corrected all the paths with repair_settings now.
Still, my admin area for Smileys is missing entries....

Arantor

Was it upgraded from 2.0? (And was it upgraded with an invalid path? If so it might not add anything out of not being able to locate them...)

You should be able to add the fugue set if you want it because you should have the folder for it.

grega

>Was it upgraded from 2.0?
Yes.

>(And was it upgraded with an invalid path?
Seems so.

>You should be able to add the fugue set if you want it because you should have the folder for it.
Ok, I did so no, still I see no smileys when I post and I am misng the edit options in the admin area(which I do have on a different forum which I also upgraded from 2.0....)

Arantor

Missing the edit options sounds like you haven't turned on customised smileys.

grega

Quote from: Arantor on March 07, 2024, 05:17:58 AMMissing the edit options sounds like you haven't turned on customised smileys.

Right, thanks, that was the reason.
Still no smileys though when I make a new post, or on the Set smiley order page


Arantor

And if you right click on any of those images and see what source URL its trying to use, what does it tell you?

grega

Just the path, without the image name itself....

<a href="https://www.gobe.si/forum/index.php?action=admin;area=smileys;sa=setorder;move=1"><img src="https://www.gobe.si/forum/Smileys/fugue/" alt="Smiley"></a>
<a href="https://www.gobe.si/forum/index.php?action=admin;area=smileys;sa=setorder;move=2"><img src="https://www.gobe.si/forum/Smileys/fugue/" alt="Wink"></a>
<a href="https://www.gobe.si/forum/index.php?action=admin;area=smileys;sa=setorder;move=3"><img src="https://www.gobe.si/forum/Smileys/fugue/" alt="Cheesy"></a>
<a href="https://www.gobe.si/forum/index.php?action=admin;area=smileys;sa=setorder;move=4"><img src="https://www.gobe.si/forum/Smileys/fugue/" alt="Grin"></a>

Arantor

That seems like the entries in your smileys table are wrong, somehow missing filenames?

What's in the smileys table?

grega


Arantor


grega

Well, yes and no. The new smileys with 2.1 are .png, the old ones are .gif.

In the database the entries were .gif.

So what I did is to remove the new ,png smileys, and add all old folders as sets, and then in the Edit smileys I got additional smileys at the bottom, I removed the old ones with no images at the top and now I have smileys, also in the make post form.

Thank you for guiding me in the right direction!

Kindred

Right -- because your conversion to 2.1 failed at some point,  and the smileys were not updated....
Сл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."

Advertisement: