#1 2019-12-06 16:36:57

solas
Member
2017-12-18
8

[resolved] SOLVED: Smarty error

Hello/Hi/Greetings,

(Here your message)

Piwigo version: 2.10
PHP version: 7.2
MySQL version:
Piwigo URL: http://www.malexhembygd.se/fotogalleri


Fatal error: Uncaught --> Smarty: unable to write file /home/malexhe3/public_html/fotogalleri/_data/templates_c/ljbwkp^e105268fbfade1eeac7b261c35f9bb282959dbb7_0.file.index.tpl.php <-- thrown in /home/malexhe3/public_html/fotogalleri/include/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 79

I read similar Smarty error posts on the forum (FabZ had an identical fatal error 2016-10-05 named Smarty error, but with no solution provided !)
and changed permission on folder _data and folder _data/templates_c to 777 but folder ljbwkp^e105268fbfade1eeac7b261c35f9bb282959dbb7_0.file.index.tpl.php which is empty does not allow me to change permissions and I tried to delete it which was not allowed. What action should I take ?
Please help me to get back on track with PIWIGO.

I have now renamed my problem from Internal server error 500 as symptoms have changed.

Last edited by solas (2019-12-07 10:51:53)

Offline

 

#2 2019-12-06 19:07:15

flop25
Piwigo Team
2006-07-06
7038

Re: [resolved] SOLVED: Smarty error

Hello
you certainly have permission issues on the /templates_c folder, probably a Linux group/user issue
check that, ask to your sys admin, or your hosting provider


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2019-12-06 22:22:51

solas
Member
2017-12-18
8

Re: [resolved] SOLVED: Smarty error

Thank you flop25 for your response. I appreciate it. I do not have deep technical knowledge and I know that I needed to be very precise in communicating with the support of my webhotel to get any action done, so far I was able to change permission on folder _data and folder _data/templates_c to 777 but folder ljbwkp^e105268fbfade1eeac7b261c35f9bb282959dbb7_0.file.index.tpl.php which  appears to be empty does not allow me to change permissions.
I understand from cpanel that root is owner of this specific folder.
What is the preferred action by support regarding this folder ?
What would be the next steps to get PIWIGO on track again ?

Offline

 

#4 2019-12-06 22:31:12

flop25
Piwigo Team
2006-07-06
7038

Re: [resolved] SOLVED: Smarty error

ljbwkp^e105268fbfade1eeac7b261c35f9bb282959dbb7_0.file.index.tpl.php is a file not a folder
All files in template_c are temporary files and can be deleted


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2019-12-06 23:18:29

erAck
Only trying to help
2015-09-06
2237

Re: [resolved] SOLVED: Smarty error

I don't know and have no idea how that "webhotel" sets up its webhosting, but user root being the owner of _data/templates_c/ or anything thereunder sounds very odd to me.


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

Offline

 

#6 2019-12-06 23:30:07

flop25
Piwigo Team
2006-07-06
7038

Re: [resolved] SOLVED: Smarty error

+1


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2019-12-07 08:26:26

solas
Member
2017-12-18
8

Re: [resolved] SOLVED: Smarty error

flop25 and erAck, thank you so much for your help.
ljbwkp^e105268fbfade1eeac7b261c35f9bb282959dbb7_0.file.index.tpl.php was indeed a name of a folder but after your valuable help as I was unable to change permissions or delete it I managed to change it's name to "a" using FileZilla and thereafter my photogallery is working again.

Offline

 

Board footer

Powered by FluxBB