Announcement

#1 2021-12-12 14:57:00

xuo
Member
2021-08-14
10

Error on file.index.tpl.php on line 294

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

 

#2 2021-12-12 15:05:34

xuo
Member
2021-08-14
10

Re: Error on file.index.tpl.php on line 294

Hi,

I've forgotten some informations. I'm using :
php8
piwigo 12.1
Linux Mageia8

Regards.

Xuo.

Offline

 

#3 2021-12-12 15:53:48

xuo
Member
2021-08-14
10

Re: Error on file.index.tpl.php on line 294

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

 

#4 2021-12-12 17:28:55

erAck
Only trying to help
2015-09-06
1395

Re: Error on file.index.tpl.php on line 294

Does it help if you purge compiled templates, under Admin -> Tools -> Maintenance, Purge Cache?


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2021-12-12 17:56:19

xuo
Member
2021-08-14
10

Re: Error on file.index.tpl.php on line 294

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

 

#6 2021-12-12 18:02:23

erAck
Only trying to help
2015-09-06
1395

Re: Error on file.index.tpl.php on line 294

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.


Running Piwigo at https://erack.net/gallery/

Offline

 

#7 2021-12-12 19:15:24

xuo
Member
2021-08-14
10

Re: Error on file.index.tpl.php on line 294

Hi,

I've made the changes in local/config/config.inc.php.

Regards.

Xuo.

Offline

 

#8 2022-06-04 19:08:40

krishen
Member
2022-06-04
1

Re: Error on file.index.tpl.php on line 294

> 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

 

Board footer

Powered by FluxBB

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