Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5659 Widoki

Hi,

I have a app icon placed under module_name/static/description/icon.png, it displays the app logo in apps screen fine when accessed in localhost but when i pushed the code to the server then the module won't display app icon instead it displays base module's icon.png. Maybe i'm missing the correct file permissions for the image file or maybe i'm missing something else, kindly point out what did i miss?

P.S: So far I've tried upgrading the module, restarting the server and refreshing the page with debug assets on.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

I got this issue cleared, it was a stupid mistake though.

The issue was i was using windows for developing and the png file extension in windows was in caps like PNG, now in windows it didn't matter but when i deployed it in Linux that's when issue arise as Linux didn't accept it, so changing it lowercase solved it.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 25
773
0
lip 25
512
1
lip 25
736
0
cze 25
652
1
maj 25
1293