Unable to upload multiple files (V15.0.0) #1998

Closed
opened 2026-10-05 01:03:31 +02:00 by adam · 8 comments
Owner

If select more than one file to upload then only one file will be uploaded.
Remainig will not trigger to upload.

If select more than one file to upload then only one file will be uploaded. Remainig will not trigger to upload. <!-- github-sync-id:2757489487 -->
adam closed this issue 2026-10-05 01:03:31 +02:00
Author
Owner

Hello,

I have a few questions to help me understand your problem. When you want to upload a file, is the extension in the authorised list?
Have you activated any plugins?

Hello, I have a few questions to help me understand your problem. When you want to upload a file, is the extension in the authorised list? Have you activated any plugins? <!-- github-comment-id:2560956628 -->
Author
Owner

Thank you for your reply. I activated two plugins. I attached screenshot for your reference.
image

In this image you able to see that second file is not start to upload after first one uploaded.

image

Thank you for your reply. I activated two plugins. I attached screenshot for your reference. ![image](https://github.com/user-attachments/assets/735a7737-08d3-4a21-81d1-02db22dacfa4) In this image you able to see that second file is not start to upload after first one uploaded. ![image](https://github.com/user-attachments/assets/b4010483-b5dc-407e-8913-1ccb480e3ba1) <!-- github-comment-id:2576880968 -->
Author
Owner

Can you please reply for this issue.

Can you please reply for this issue. <!-- github-comment-id:2639243926 -->
Author
Owner

I can't reproduce the problem. Can you try uploading images again but showing the browser console to see if you have any errors?

I can't reproduce the problem. Can you try uploading images again but showing the browser console to see if you have any errors? <!-- github-comment-id:2639257846 -->
Author
Owner

Image

![Image](https://github.com/user-attachments/assets/17cfce0f-1703-4ab3-97ef-24e5c636389f) <!-- github-comment-id:2639440326 -->
Author
Owner

This is the error we got during upload.

This is the error we got during upload. <!-- github-comment-id:2639441353 -->
Author
Owner

Can you please reply for this issue.

Can you please reply for this issue. <!-- github-comment-id:2647014819 -->
Author
Owner

Can you edit your piwigo files? I've found the source of your problem but there's nothing I can do about it until I can reproduce it on our side.

But what you can try to do in the meantime is to modify the function directly in your piwigo. File themes/default/js/plugins/piecon.js from line 58. Try adding && head.contains(links[i]) to the condition.

if ((links[i].getAttribute('rel') === 'icon' || links[i].getAttribute('rel') === 'shortcut icon') && head.contains(links[i])) {
   head.removeChild(links[i]);
}
Can you edit your piwigo files? I've found the source of your problem but there's nothing I can do about it until I can reproduce it on our side. But what you can try to do in the meantime is to modify the function directly in your piwigo. File `themes/default/js/plugins/piecon.js` from line 58. Try adding `&& head.contains(links[i])` to the condition. ``` if ((links[i].getAttribute('rel') === 'icon' || links[i].getAttribute('rel') === 'shortcut icon') && head.contains(links[i])) { head.removeChild(links[i]); } ``` <!-- github-comment-id:2647461417 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1998