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
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
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
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.
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