Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5372 Tampilan

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.

Avatar
Buang
Penulis Jawaban Terbai

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 25
597
1
Mei 25
1423
5
Mei 25
9011
0
Apr 25
2
2
Mar 25
923