Announcement

#1 2019-10-11 12:49:11

Fazli
Member
2017-04-26
54

Smarty: unable to write file

Hello/Hi/Greetings,
After upgrading my piwigo from 2.9.x to 2.10.0 I got
Fatal error: Uncaught --> Smarty: unable to write file ../piwigo/_data/templates_c/wrt5d9d9b191ee042_19048259 <-- thrown in ../piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 48

Does it mean a serious error? One more thing is that I can't use smartalbum addition. May this depend on that error?
Sincerelly..

Piwigo version: 2.10.0
PHP version: 7.2.20
MySQL version:  5.6.44-cll-lve [2019-10-11 03:36:56]
Piwigo URL: http://www.medyastok.com

Offline

 

#2 2019-10-11 18:49:40

erAck
Only trying to help
2015-09-06
2036

Re: Smarty: unable to write file

Check that the individual path parts (directories) of piwigo/_data/templates_c/ each have traverse (x) permissions for the web server user, and that in piwigo/_data/templates_c/ it has write (w) permissions. And of course read (r) permissions everywhere ;-)


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

Offline

 

#3 2019-10-16 17:02:45

JTT
Member
2019-08-13
16

Re: Smarty: unable to write file

Hello;

   I'm getting the same error, and I believe the permission for "template_c" are correct, 0755.  I only seem to get it with the Modus theme when I select and individual photo.   

Thanks

John

Piwigo 2.10.1
PHP: 7.3.7
MySQL: 5.7.23

Offline

 

Board footer

Powered by FluxBB

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