netamis Posted July 31, 2014 Share Posted July 31, 2014 Hello , I need advice regarding following error: In error_log file I have :PHP Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file .../cache/smarty/cache/socialsharing/ I checked all folders from smarty / cache have permissions 771 Stack trace: #0 .../tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/rockuro/p...', '<?php /*%%Smart...', Object(Smarty)) #1 .../tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #2.../tools/smarty/sysplugins/smarty_internal_template.php(230): Smarty_Template_Cached->write(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #3 .../tools/smarty/sysplugins/smarty_internal_templatebase.php(259): Smarty_Internal_Template->writeCachedContent('<p class="socia...') #4...public in /..../tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 Thank you Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 31, 2014 Share Posted July 31, 2014 Hi, Please change permission to 777. Link to comment Share on other sites More sharing options...
El Patron Posted July 31, 2014 Share Posted July 31, 2014 most typical and safe permissions are 755 folder 644 file 664 .htacess this can of course vary, but don't use 777 that just opens you up to hackers. 1 Link to comment Share on other sites More sharing options...
Recommended Posts