Hi,
I've set the theme Boostrap/darkroom and I get the following error message on my site page :
/usr/share/piwigo-12.1.0/_data/templates_c/atf152^b43f1b6513c3ae30d7fb0e0d5deb7011e2912dae_0.file.index.tpl.php on line 294
content-grid pt-3">
Does anybody have an idea to solve this issue ?
Regards.
Xuo.
Offline
Hi,
I've forgotten some informations. I'm using :
php8
piwigo 12.1
Linux Mageia8
Regards.
Xuo.
Offline
Hi,
And when I go into my albims, I can get such a warning :
Warning: Undefined array key "IS_IN_CADDIE" in /usr/share/piwigo-12.1.0/_data/templates_c/ljbwkp^28aac0674dfc0f5b21ad66524ec72b92618d149b_0.file.public_controller.tpl.php on line 174
My pictures are not displayed. I need to reload the Firefox page to see them. And the warning is still there.
Regards.
Xuo.
Offline
Does it help if you purge compiled templates, under Admin -> Tools -> Maintenance, Purge Cache?
Offline
Hello,
No, it didn't.
I don't see the error message on the screen of my PC because I've modified the common.inc.php file according to this post (https://piwigo.org/forum/viewtopic.php? … 78#p180778).
The error is now displayed in the log file.
The log files displays :
PHP Warning: Undefined array key "view" in /usr/share/piwigo-12.1.0/_data/templates_c/atf152^b43f1b6513c3ae30d7fb0e0d5deb7011e2912dae_0.file.index.tpl.php on line 294
Regards.
Xuo.
Last edited by xuo (2021-12-12 17:57:50)
Offline
You shouldn't modify the common.inc.php file though, that post does not indicate that, it would get overwritten with any update. It should be in the local config file, use [extension by Piwigo Team] LocalFiles Editor if you're not familiar with that.
Offline
Hi,
I've made the changes in local/config/config.inc.php.
Regards.
Xuo.
Offline
> Does it help if you purge compiled templates, under Admin -> Tools -> Maintenance, Purge Cache?
Just registered in order to say, purging the cache helped me with the second problem xuo mentioned:
"Warning: Undefined array key "IS_IN_CADDIE" in /usr/share/piwigo-12.1.0/_data/templates_c/ljbwkp^28aac0674dfc0f5b21ad66524ec72b92618d149b_0.file.public_controller.tpl.php on line 174"
Offline