Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty: unable to write file

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
fahrezi
Smarty n00b


Joined: 16 May 2017
Posts: 1

PostPosted: Tue May 16, 2017 3:44 am    Post subject: Smarty: unable to write file Reply with quote

Hai,

I'm trying to migrate my cs-cart multivendor 4.3.8 site to the new server.
I have to import database and update the config.local.php file.

But, when i access my site in new server, i got this error

Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/var/cache/templates/responsive/wrt591a6df1c1b492_68829712
<-- thrown in /var/www/html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_write_file.php on line 46

Can anyone telling me, how to fix this?

Thanks..
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1633

PostPosted: Tue May 16, 2017 11:14 am    Post subject: Reply with quote

Why on earth your cache is located inside a webroot?
Back to top
View user's profile Send private message
elpmis
Smarty Elite


Joined: 07 Jun 2007
Posts: 321

PostPosted: Fri Jul 07, 2017 7:50 pm    Post subject: Reply with quote

Have you tried to set writing permission for folder /responsive?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP