[Admin] After Upload from Web Form it takes ages to get into Album #1421

Closed
opened 2026-10-05 00:43:14 +02:00 by adam · 1 comment
Owner

I gone add this as bug report as it seems no follow-up from forum and not able to find in bug-list/issue (also not closed).

There seems to be a problem with upload of photos from the Admin, Photos, Add, Web Form;
It's also described on the forum under https://piwigo.org/forum/viewtopic.php?id=31853

It was fixed however for the Bootstrap Darkroom 2.5.2 but I do not use this, just the plain Admin theme from Piwigo 12.2.0.

Description:
After upload photo from the Admin page under Photos, Add, Web Form it does report "1 photos uploaded" and also mention the total photos in the album, like Album "xxx" now contains 295 photos. However if I check the album itself it show: "xxx" [294] (not the 295 as expected). Also the photo is not in the album. If I open the photo itself it is NOT linked to any album. However after some time (I waited 10 minutes but could be less) the photo is in the album and also linked. Seems this process is not on the fly as used to be...

I understand there was a change in behaviour but this is not really desired, when it reports the photo is uploaded it should not take ages to get processed. At least this was not the case with the previous version of Piwigo version 11.5.0.

Current environment:
[Piwigo] 12.2.0
Operating system: Linux
PHP: 7.4.16 [2022-03-08 09:58:11]
MySQL: 8.0.27-0ubuntu0.21.04.1 [2022-03-08 09:58:11]
Graphics Library: External ImageMagick 6.9.11-60

I gone add this as bug report as it seems no follow-up from forum and not able to find in bug-list/issue (also not closed). There seems to be a problem with upload of photos from the Admin, Photos, Add, Web Form; It's also described on the forum under https://piwigo.org/forum/viewtopic.php?id=31853 It was fixed however for the Bootstrap Darkroom 2.5.2 but I do not use this, just the plain Admin theme from Piwigo 12.2.0. Description: After upload photo from the Admin page under Photos, Add, Web Form it does report "1 photos uploaded" and also mention the total photos in the album, like Album "xxx" now contains 295 photos. However if I check the album itself it show: "xxx" [294] (not the 295 as expected). Also the photo is not in the album. If I open the photo itself it is NOT linked to any album. However after some time (I waited 10 minutes but could be less) the photo is in the album and also linked. Seems this process is not on the fly as used to be... I understand there was a change in behaviour but this is not really desired, when it reports the photo is uploaded it should not take ages to get processed. At least this was not the case with the previous version of Piwigo version 11.5.0. Current environment: [Piwigo] 12.2.0 Operating system: Linux PHP: 7.4.16 [2022-03-08 09:58:11] MySQL: 8.0.27-0ubuntu0.21.04.1 [2022-03-08 09:58:11] Graphics Library: External ImageMagick 6.9.11-60 <!-- github-sync-id:1162401718 -->
adam closed this issue 2026-10-05 00:43:14 +02:00
Author
Owner

I feel very embarrassed as it seems the problem is all my fault :-(

As I really didn't understand I did a diff from my Piwigo installation with the source.
And the diff shows that 4 files in the root where not the same, these files are:
admin.php, install.php, upgrade.php and ws.php

After I copied these files from source to my Piwigo installation, all problems where gone.

Now I wonder how did this happen and why didn't I notice before?
Well maybe because I always download the diff files, like the "12.x_to_12.2.0.zip".
But this package does contain the correct admin.php and upgrade.php (the others are not there).
The only other thing is that maybe not all files where copied do to some permission rights...

Anyway above solved these problems for me:
-After upload photo it's instantly in album (no delay)
-The Templates is under Configuration in the Admin (when enabled in the config)

Matthijs

I feel very embarrassed as it seems the problem is all my fault :-( As I really didn't understand I did a diff from my Piwigo installation with the source. And the diff shows that 4 files in the root where not the same, these files are: admin.php, install.php, upgrade.php and ws.php After I copied these files from source to my Piwigo installation, all problems where gone. Now I wonder how did this happen and why didn't I notice before? Well maybe because I always download the diff files, like the "12.x_to_12.2.0.zip". But this package does contain the correct admin.php and upgrade.php (the others are not there). The only other thing is that maybe not all files where copied do to some permission rights... Anyway above solved these problems for me: -After upload photo it's instantly in album (no delay) -The Templates is under Configuration in the Admin (when enabled in the config) Matthijs <!-- github-comment-id:1134307987 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1421