(Solved) Editing icons are missing...

Started by Skybuck, February 23, 2023, 12:56:27 PM

Previous topic - Next topic

Skybuck

Browser affected:
Firefox
Opera

Operating system:
Windows 7 Home Edition

Browser mode:
Both with hardware acceleration disabled.

Themes tried/affected:
Default
Fusion

Cause of problem:

Unknown, maybe missing files ? maybe conflict with old HAVVO theme on server ? maybe failure to upload certain files ? Maybe icon file missing from Large Upgrade from SMF.

Possible diagnosis method/tests:
1. Re-Install SMF fully for a different forum and see if the issue occurs again with full clean install. This would then at least rule out: 1.1 Upgrade issue hypothesis and 1.2 Havvo theme conflict hypothesis.

2. Wrong folder permissions ?

3. Wrong upload ?

4. Deleted by upgrade ?


Skybuck

#2
Thank you very much for your feedback ! and especially the screenshot and the hyperlink ! OH MY GOD you are a HERO ! =D

The strange thing is the file IS on the server, where it is supposed to be... hmmm....

The culprit:

/var/www/vhosts/skybuck.org/httpdocs/PascalCoin/Forum/Themes/default/images/icons/editor_sprite.png

^ Not being loaded ???, perhaps it's too big ? It's size is 13.134 bytes ?! :S

Maybe bug in PNG file, maybe buggy PNG loader/code ?

Any idea if folder/file permissions are set correctly, so far the forum seems to be working OK, except mail... but that could be a seperate issue with webhost e-mail transition to new e-mail system...

Skybuck

I do notice something else though.

The HAVVO theme has different folder permissions than the FUSION theme.

Perhaps this is the cause of it.

I am not yet sure what the correct permissions should be for SMF themes, I will dive into this tomorrow.

It's been a long day.

THANKS EVERBODY FOR HELP and shining some light on this ! ;) =D

TOGETHER WE CAN DO IT ! =D

HUMANITY POWER ! =D

dbg

The resolved path looks quite wrong to me

You cannot view this attachment.

This might need a code fix. In ./Themes/default/css/jquery.sceditor.css, find

.sceditor-button div {
background-image: url("../images/icons/editor_sprite.png");

Remove quotes

.sceditor-button div {
background-image: url(../images/icons/editor_sprite.png);

I have not faced this problem, so I hope it works.

Skybuck

1. Code fix does not help.

2. Permissions 777 does not help.

The mystery continues... ;)

dbg


Skybuck

#7
Quote from: dbg on February 25, 2023, 01:25:30 AMCan you disable CSS minification?

Yes, thanks a lot ! This solved the problem ! LOL.

How long did it take you to figure this out ? And how did you figure this out ? ! =D WIEEE.

One step closer to correct functioning board ! ;) =D Just one more step to go ! ;)

dbg

#8
After you said the code edit didn't work, I thought of checking the actual CSS file. After unminifying it, I saw the rewritten URL there. And so I knew that  the problem was with the minifier and that it had to be turned off.