Broken web upload form #1022

Closed
opened 2026-10-05 00:28:48 +02:00 by adam · 2 comments
Owner

I tried to upload photos from "Photos -> Add", but got the following error.

http://localhost/admin.php?page=photos_add

1vqtv4r.js:21 Uncaught TypeError: Cannot read property 'selectize' of undefined
    at m.fn.init.jQuery.fn.pwgAddAlbum (1vqtv4r.js:21)
    at admin.php?page=photos_add:256
jQuery.fn.pwgAddAlbum @ 1vqtv4r.js:21
(anonymous) @ admin.php?page=photos_add:256

  • Google Chrome 81.0.4044.129 (Official Build) (64-bit)
  • Piwigo 2.10.2
Environment
Piwigo 2.10.2
Operating system: Linux
PHP: 7.4.5 (Show info) [2020-05-03 12:52:13]
MySQL: 8.0.20 [2020-05-03 12:52:13]
Graphics Library: External ImageMagick 6.9.10-23
I tried to upload photos from "Photos -> Add", but got the following error. http://localhost/admin.php?page=photos_add ``` 1vqtv4r.js:21 Uncaught TypeError: Cannot read property 'selectize' of undefined at m.fn.init.jQuery.fn.pwgAddAlbum (1vqtv4r.js:21) at admin.php?page=photos_add:256 jQuery.fn.pwgAddAlbum @ 1vqtv4r.js:21 (anonymous) @ admin.php?page=photos_add:256 ``` ------ * Google Chrome 81.0.4044.129 (Official Build) (64-bit) * Piwigo 2.10.2 ``` Environment Piwigo 2.10.2 Operating system: Linux PHP: 7.4.5 (Show info) [2020-05-03 12:52:13] MySQL: 8.0.20 [2020-05-03 12:52:13] Graphics Library: External ImageMagick 6.9.10-23 ``` <!-- github-sync-id:611408041 -->
adam closed this issue 2026-10-05 00:28:48 +02:00
Author
Owner

I had exactly the same error today.
I fixed this issue by assign 777 permission to the "upload" folder.

This was the error rendered on the page. For some reason, it was hidden from the UI.

"Give write access (chmod 777) to "upload" directory at the root of your Piwigo installation"

I had exactly the same error today. I fixed this issue by assign 777 permission to the "upload" folder. This was the error rendered on the page. For some reason, it was hidden from the UI. "Give write access (chmod 777) to "upload" directory at the root of your Piwigo installation" <!-- github-comment-id:664129771 -->
Author
Owner

php-gd may not enabled (php.ini extendation gd, and archlinux : pacman -S php-gd)

php-gd may not enabled (php.ini extendation gd, and archlinux : pacman -S php-gd) <!-- github-comment-id:667683454 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1022