Announcement

#1 2016-10-04 05:52:24

FabZ
Guest

Smarty error

Hi there,

I have just installed the latest version of Piwigo on mywebsite/photos

I am having a peculiar issue: it works fine on my computer (used for the install) but not on any other device. When I open the page, I get:

Fatal Error: Uncaught --> Smarty: unable to write file
/nas/content/live/xxxxx/xxxxx/_data/templates_c/awholebunchofnumbers.file.menubar.tpl.php
<-- thrown in
/nas/content/xxxxxxxx/photos/include/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php
on line 79.

Any thoughts?

Kind regards

 

#2 2016-10-04 14:59:58

jnashpiwigo
Member
2014-10-21
186

Re: Smarty error

FabZ wrote:

Hi there,

I have just installed the latest version of Piwigo on mywebsite/photos

I am having a peculiar issue: it works fine on my computer (used for the install) but not on any other device. When I open the page, I get:

Fatal Error: Uncaught --> Smarty: unable to write file
/nas/content/live/xxxxx/xxxxx/_data/templates_c/awholebunchofnumbers.file.menubar.tpl.php
<-- thrown in
/nas/content/xxxxxxxx/photos/include/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php
on line 79.

Any thoughts?

Kind regards

Check your permissions on the _data directory.

Offline

 

#3 2016-10-05 00:52:55

FabZ
Guest

Re: Smarty error

I have changed all directories to 755 (some were 775 others were 777) and all files in the root to 644 (all files were 664 by default).

Still cannot access the gallery with any other computer than the one that created it...

zealong.com/photos

phpinfo: http://phpinfo55.wpengine.com/info.php

 

#4 2016-10-05 02:18:37

FabZ
Guest

Re: Smarty error

Alright, I got the host to change all directories permissions to 755 and all files to 644. (they were 775 and 664, would this make any difference?).

With my own computer, I can still login as any user on Chrome, but it won't work on any other browser, it throws:
Fatal error: Uncaught --> Smarty: unable to write file /mywebsitefolder/piwigo/_data/templates_c/ljbwkp^dacc5d4656874716fd986161fbd7500deb4b3909_0.file.identification.tpl.php <-- thrown in /mywebsitefolder/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 79

On certain devices, I can see the home/login page, but it won't let me login with any of the three users I just created. Upon entering credentials, it just reloads the login page.

On other devices, it throws this error before I even reach the login page.

 

#5 2016-10-05 02:25:47

FabZ
Guest

Re: Smarty error

Just wondering whether my being allowed is linked to having this in my hosts file?

127.0.0.1    localhost
255.255.255.255     broadcasthost
::1             localhost    
fe80::1%lo0 localhost

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact