tosal Posted April 19, 2019 Share Posted April 19, 2019 hi there after migration in live server i've got this error and i'm not able to solve it, the site crash, in test server everything works (well tested for about 2 weeks) SmartyException unable to write file ........../var/cache/dev/smarty/compile/45/8c/f2/wrt5cb97b075e6550_03711264 in smarty_internal_runtime_writefile.php line 60 folder permission is compile and subfolder is 0771 and files 0644 how can i solve it? have you got any suggestion Link to comment Share on other sites More sharing options...
MigrationPro Posted April 19, 2019 Share Posted April 19, 2019 Hello, There is a server-side permission problem. Using below 2 ways, you can solve it. 1) give 755 or 777 folder permission to "/var/cache/dev/smarty/compile/" 2) if the result will be the same, contact host providers, they will do best all of them 1 Link to comment Share on other sites More sharing options...
tosal Posted April 19, 2019 Author Share Posted April 19, 2019 ok i will check with hosting provider, thank you by the way is it normal that when i delete all folders under /var/cache they will appear again even without cache running? Link to comment Share on other sites More sharing options...
MigrationPro Posted April 19, 2019 Share Posted April 19, 2019 if you have enabled cache of the PS it automatically collected. Also, you can't keep this folder clear. Eventually, PS will collect a cache of the system module or theme. 1 Link to comment Share on other sites More sharing options...
tosal Posted April 19, 2019 Author Share Posted April 19, 2019 cache is not enabled but a lot of folders and files are created by ps by itself is it ok? (i mean about 3-400Mb for day in /var/cache/ Link to comment Share on other sites More sharing options...
MigrationPro Posted April 19, 2019 Share Posted April 19, 2019 Here is the same problem you have faced and you will find all the necessary information: 1 Link to comment Share on other sites More sharing options...
tosal Posted April 19, 2019 Author Share Posted April 19, 2019 cache is not enabled so i should not have any problem but i've got it i will take care of deleting every day created files and folders till a definitive solution thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now