Announcement


Notice: Undefined variable: post_infos_of in /var/www/piwigo.org/forum/include/functions_parser.php on line 138

#1 2024-01-31 22:36:51

jemostrom
Member
2015-04-29
32

What does this message suggest is wrong?

Warning: filemtime(): stat failed for /bla bla bla/_data/templates_c/p6jhns^a7a42fae2460e6338e276faa1dc5e659dd9e28d2_0.file.admin.tpl.php in /bla bla bla/include/smarty/libs/sysplugins/smarty_template_resource_base.php on line 148

I sometimes get these messages when I do something in the admin part of Piwigo, any obvious things I should be looking for?

It doesn't seem to affect how Piwigo works, refreshing the page makes the messages and everything works as normal.

Offline

 

#2 2024-02-20 00:01:18

gomi
Member
2024-01-11
12

Re: What does this message suggest is wrong?

The file you refer to second in your post, 'smarty_template_resource_base.php' has a request on line 148 to call the first one, which should be in the directory '/bla bla bla/_data/templates_c/' but it is not in there. 'stat failed for' tells us the path is wrongly quoted in the request.

I have a very similar problem, which is that when you go to line 148 in 'smarty_template_resource_base.php' the request is more likely to be a line of PHP from Smarty and it is virtually impossible, without adequate knowledge of Smarty which in turn requires good knowledge of PHP, to work out where the hell that request is pointing to to get that file. It will be another file on the way to the one you want and even that won't necessarily be the one you have to amend.

<edit: You can see my Tux-only workaround post:33471 />

Last edited by gomi (2024-02-20 16:35:52)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact