Hello/Hi/Greetings,
I use the FTP service to manage my photos and albums and perform a local sync when I upload new photos. After upgrading to the recent version this no longer works. The synchronize page used to display the updates in a green box and add to the basket. Now nothing happens an it says that no images are updated.
Environment
Piwigo 11.1.0 Check for upgrade
Operating system: Linux
PHP: 7.3.26-1+ubuntu18.04.1+deb.sury.org+1 (Show info) [2021-01-28 20:45:36]
MySQL: 5.7.32-0ubuntu0.18.04.1 [2021-01-28 20:45:36]
Graphics Library: External ImageMagick 6.9.7-4
Piwigo URL: https://piwigo.theminor.family
Any help in troubleshooting would be appreciated.
Alec
Last edited by owlick (2021-01-29 16:06:09)
Offline
OK while this sounded complicated, it was not. File extensions are important. JPEG is not JPG.
This is not an issue but a huge oversite on my part.
Alec
Offline
The default config contains both jpg and jpeg, see $conf['picture_ext'] and $conf['file_ext'] in include/config_default.inc.php
Offline
Alas mine did not... I may have edited this at one point back in the day to remove (?) but not sure why that would be.
I added both UC and LC extensions to the array and this fixed the issue.
Thanks for the pointer.
Alec
ps. how do we marked this solved?
Offline
There's "Set this topic as resolved" in the gear menu of the first post in a topic.
P.S.: note that include/config_default.inc.php should never be changed but modifications be made in local/config/config.inc.php instead.
Offline