Error in template.class.php with a reverse proxy #1262

Open
opened 2026-10-05 00:38:08 +02:00 by adam · 0 comments
Owner

Hello,

I have an error in the template.class.php when I visit the administration page section Configuration :

Warning: filemtime(): stat failed for ./themes/default/js/plugins/jquery-confirm.min.css in /gallery/include/template.class.php on line 1879

This error message is displayed at the top of the page, but all piwigo features are working well.
In many other administration pages, this error is also displayed.

It is maybe due to my nginx reverse proxy configuration which is the following one:

...
        location / {
                rewrite ^/piwigo/(.*)$ /$1 last;
                proxy_pass http://piwigo/;
        }
...
Hello, I have an error in the `template.class.php` when I visit the administration page section Configuration : ``` Warning: filemtime(): stat failed for ./themes/default/js/plugins/jquery-confirm.min.css in /gallery/include/template.class.php on line 1879 ``` This error message is displayed at the top of the page, but all piwigo features are working well. In many other administration pages, this error is also displayed. It is maybe due to my nginx reverse proxy configuration which is the following one: ``` ... location / { rewrite ^/piwigo/(.*)$ /$1 last; proxy_pass http://piwigo/; } ... ``` <!-- github-sync-id:944232405 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1262