title: How to fix error "Fatal error: Uncaught --> Smarty: unable to write file"?
body: <p>I migrated Prestashop from localhost to website domain using digitalocean, but when I open this website I get this error </p>
  
  <blockquote>
    <p>Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/prestashop/cache/smarty/compile/a4/36/f1/wrt549a35e49b3b44_77591243 &lt;-- thrown in /var/www/html/prestashop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46.</p>
  </blockquote>
  
  <p>I tried to change permissions on the smarty folder to 755, but it didn't work. I don't know how to fix it.</p>