v16.1 issues #2163

Closed
opened 2026-10-05 01:08:21 +02:00 by adam · 4 comments
Owner

Hello,

Menu "photos" -> batch
Fatal error: Uncaught --> Smarty: Unable to load 'file:themes/default/template/help/quick_search.tpl' in 'file:include/batch_manager_filter.inc.tpl' <-- thrown in /app/www/public/include/smarty/src/Template.php on line 159

that's normal : no directory named help, and so no file named quick_search.tpl'
create help subdirectory
copy file quick_search.tpl from a piwigo 16.1 (same version)
That's better

new issues:
_Warning: filemtime(): stat failed for ./themes/default/css/help/quick_search.css in /app/www/public/include/template.class.php on line 1925

Warning: file_get_contents(./themes/default/css/help/quick_search.css): Failed to open stream: No such file or directory in /app/www/public/include/template.class.php on line 2021_

same for config/www/themes/default/css
no subdirectory help and so no file quick_search.css
create help subdirectory
copy file quick_search.css from a piwigo 16.1 (same version)
That's better

Env:
-docker image v16, update to 16.1 (container Ok et Piwigo update Ok)
-rasperry pi: Raspberry Pi 5 Model B Rev 1.0
-OS: Debian GNU/Linux 12 (bookworm) aarch64

Phil

Hello, Menu "photos" -> batch _Fatal error: Uncaught --> Smarty: Unable to load 'file:themes/default/template/help/quick_search.tpl' in 'file:include/batch_manager_filter.inc.tpl' <-- thrown in /app/www/public/include/smarty/src/Template.php on line 159_ that's normal : no directory named help, and so no file named quick_search.tpl' create help subdirectory copy file quick_search.tpl from a piwigo 16.1 (same version) That's better new issues: _Warning: filemtime(): stat failed for ./themes/default/css/help/quick_search.css in /app/www/public/include/template.class.php on line 1925 Warning: file_get_contents(./themes/default/css/help/quick_search.css): Failed to open stream: No such file or directory in /app/www/public/include/template.class.php on line 2021_ same for config/www/themes/default/css no subdirectory help and so no file quick_search.css create help subdirectory copy file quick_search.css from a piwigo 16.1 (same version) That's better Env: -docker image v16, update to 16.1 (container Ok et Piwigo update Ok) -rasperry pi: Raspberry Pi 5 Model B Rev 1.0 -OS: Debian GNU/Linux 12 (bookworm) aarch64 Phil <!-- github-sync-id:3754449400 -->
adam closed this issue 2026-10-05 01:08:21 +02:00
Author
Owner

@Renarde-dev @LintyDev in a standard Piwigo 16.1.0, these 2 files are not missing :

unzip /Users/plg/www/piwigo.org/download/piwigo/release/16/16.0.0/piwigo-16.0.0.zip && mv piwigo 1600
unzip /Users/plg/www/piwigo.org/download/piwigo/release/16/16.1.0/piwigo-16.1.0.zip && mv piwigo 1610

/tmp % find . -name quick_search.tpl
./1600/themes/default/template/help/quick_search.tpl
./1610/themes/default/template/help/quick_search.tpl

/tmp % find . -name quick_search.css
./1600/themes/default/css/help/quick_search.css
./1610/themes/default/css/help/quick_search.css

So why does it miss for @Phil353556 ?

@Renarde-dev @LintyDev in a standard Piwigo 16.1.0, these 2 files are not missing : ``` unzip /Users/plg/www/piwigo.org/download/piwigo/release/16/16.0.0/piwigo-16.0.0.zip && mv piwigo 1600 unzip /Users/plg/www/piwigo.org/download/piwigo/release/16/16.1.0/piwigo-16.1.0.zip && mv piwigo 1610 /tmp % find . -name quick_search.tpl ./1600/themes/default/template/help/quick_search.tpl ./1610/themes/default/template/help/quick_search.tpl /tmp % find . -name quick_search.css ./1600/themes/default/css/help/quick_search.css ./1610/themes/default/css/help/quick_search.css ``` So why does it miss for @Phil353556 ? <!-- github-comment-id:3687495204 -->
Author
Owner

Hi, I tried to reproduce your issue by using piwigo docker 16.0.0 then upgrading to 16.1.0 and I couldn't reproduce it.

I tried to see if any file was missing but that doesn't seems to be the case :

~/PiwigoDocker/piwigo-data/piwigo % find . \( -name quick_search.css -o -name quick_search.tpl \)
./themes/default/css/help/quick_search.css
./themes/default/template/help/quick_search.tpl

If you are using the linuxserver image I recommend that you switch to the official docker image.
You can follow this install guide https://piwigo.org/guides/install/docker

Hi, I tried to reproduce your issue by using piwigo docker 16.0.0 then upgrading to 16.1.0 and I couldn't reproduce it. I tried to see if any file was missing but that doesn't seems to be the case : ``` ~/PiwigoDocker/piwigo-data/piwigo % find . \( -name quick_search.css -o -name quick_search.tpl \) ./themes/default/css/help/quick_search.css ./themes/default/template/help/quick_search.tpl ``` If you are using the linuxserver image I recommend that you switch to the official docker image. You can follow this install guide https://piwigo.org/guides/install/docker <!-- github-comment-id:3692583560 -->
Author
Owner

Thanks
Phil

Thanks Phil <!-- github-comment-id:3694733391 -->
Author
Owner

Hello,
Ok / thank you
will re-install the official docker piwigo image and will see
regards
Phil

Hello, Ok / thank you will re-install the official docker piwigo image and will see regards Phil <!-- github-comment-id:3694885253 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2163