Dear all,
While using synchonization to add photos to my album I ran into a similar error message as given in
http://piwigo.org/forum/viewtopic.php?id=17284. So my addition of photos failed. In the aforementioned post the reason for this error was given to be the fact that the type used for the category index is smallint(5) unsigned (which can old numbers up to 65535).
Hence I used the proposed solution to upgrade all uses of cat_id to mediumint unsigned. I realised that this fix was given for Piwigo 2.1, not my current version 2.9.2, but I tend to be brave, or stupid (and have a backup of my database 😉. The fix solved my problem of not being able to add new photos to my site. But then the problems occurred elsewhere: the new albums do not show up in the gallery, and setting the permissions to a new value does not persist.
My questions are the following:
* In which other tables should I change the number type of cat_id ?
* Why does the category counter increase to such large values? I have a about 32000 photos and a few hundred albums (one folder per upload per camera). It seems as if the cat_id is increased with each photo, or even worse.
Best regards,
Arnold
PS: I really enjoy piwigo and it is at the heart of the photo management of my family!
Piwigo version: 2.9.2
PHP version: 5.6.30-0+deb8u1
MySQL version: 5.5.57-0+deb8u1