On some smartphones based on Android, Xiaomi Mi 8 for example, the browser does not display photos in the mobile version.
You choose the version for the computer - It's all right. With all this on other smartphones, such as Samsung Galaxy A - all right.
Does anyone know why and how to overcome it?
Sorry for my bad English
OS: WINNT
Piwigo version: 2.9.5
PHP version: 7.0.21
MySQL version: MySQL: 5.5.60
Piwigo URL: http://fm.aurabi.ru
Offline
Hello,
Try to apply this fix : [Github] Piwigo commit ad6e96b8
2 files to replace in Smartpocket theme.
It was a success for my Piwigo sites.
Offline
Thanks a lot! Amazing! It worked
Offline
Fwiw, one can apply the patch by going into the piwigo directory and then issuing the command
curl 'https://github.com/Piwigo/Piwigo/commit/ad6e96b82c0f934b33e5f59de6fa7d2b9de2f061.patch' | patch -p1
Offline
OK, thanks, fixed!
There's another problem. Maybe you know how to solve? When in the administration panel select "Tools" - "Maintenance"- "Fix and optimize the database" climbs error:
Warning: [mysql error 1105] ORDER BY ignored as there is a user-defined clustered index in the table 'piwigo_gpc_request'
ALTER TABLE piwigo_gpc_request ORDER BY id; in G:\domains\fm\include\dblayer\functions_mysqli.inc.php on line 845
Warning: Cannot modify header information - headers already sent by (output started at G:\domains\fm\include\dblayer\functions_mysqli.inc.php:844) in G:\domains\fm\include\page_header.php on line 101
Offline
Have you found a fix for that?
Offline
I've just found a possible fix -> https://piwigo.org/forum/viewtopic.php?id=29022
Offline
Thank you very much! It worked! - "You might try removing your plugins. Then repair the database. Then put your plugins back."
Offline