Coluccini Posted September 3, 2012 Share Posted September 3, 2012 Hi, A few days ago I upload a prestashop site to my server and today I received a email warning from the server about my /tmp folder being full (it's a tiny mounted disk partition). The folder it's full with files that start with "wrt" (wrtIpkYpI, wrtc45LiG, etc) and they are all cached files from the "block categories" module: <?php /*%%SmartyHeaderCode:21008978595037c44d61e901-87680624%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'de47f200780566e0d6b1a3ff6cce5bcfd678257c' => array ( 0 => '/home/algo/public_html/themes/theme327/modules/blockcategories/blockcategories.tpl', 1 => 1334693154, 2 => 'file', ), '883f45502eba8ff54c7d9a01ba128d504aae1012' => array ( 0 => '/home/algo/public_html/themes/theme327/modules/blockcategories/category-tree-branch.tpl', 1 => 1334693155, 2 => 'file', ), ) ... This behavior it isn't happening on my local machine. Do you know what are this files? Why are they on the /tmp folder? can I delete them? Can I change some config to avoid this files been save on the /tmp folder? Thanks! Link to comment Share on other sites More sharing options...
Coluccini Posted September 6, 2012 Author Share Posted September 6, 2012 Hi, I've deleted the files. Everything is still working normally, but they were generated again! I don't understand why this module is using the /tmp folder to save this kind of files. Is this the regular behavior? Link to comment Share on other sites More sharing options...
kittypaw Posted May 21, 2013 Share Posted May 21, 2013 Hi, Have you found a solution ? Link to comment Share on other sites More sharing options...
IllicoPresta Posted May 30, 2013 Share Posted May 30, 2013 Hi, I have exactly the same probleme. Any solutions ? Link to comment Share on other sites More sharing options...
IllicoPresta Posted June 17, 2013 Share Posted June 17, 2013 Hi, The problem is not resolved yet. This is the module blockcategorie (Prestashop original module) which create the troubles by generating files in the server tmp folder. We have tried to uninstall, install, reinitialize the module, but nothing fixed it. The only solution we have found at this time is to comment the line: Tools::enableCache(); in hookLeftColumn (line 168) and hookFooter (line 240). We don't know, for the moment, if there is any border effects on doing this. But we did not have file created since we have done this. Hope this help. Link to comment Share on other sites More sharing options...
IllicoPresta Posted June 17, 2013 Share Posted June 17, 2013 Problem solved by giving 777 rights on tools/smarty/cache folder. Link to comment Share on other sites More sharing options...
Publisher Posted October 30, 2013 Share Posted October 30, 2013 Had this problem tool, my problem was the server ftp limit was reached, Link to comment Share on other sites More sharing options...
Recommended Posts