shacker 1,055 Posted February 21, 2010 Posted February 21, 2010 (edited) Delete the files created by smarty compiled. Useful when you change a template and do not reflect the updates.<br/><br/>Download:v1.4-now delete js/css cache filesv1.5 - compatible PS 1.5.4 - You can select which files to delete v1.6 - update clear codeVisit our site for the latest version of the module and free modules overwww.catalogo-onlinersi.net clearsmarty.zip 123.83K 384 downloads v1.2 Edited October 26, 2014 by shacker (see edit history) Share this post Link to post Share on other sites
shacker 1,055 Posted March 5, 2010 Posted March 5, 2010 Delete the files created by smarty compiled. Useful when you change a template and do not reflect the updates.Download:http://www.catalogo-onlinersi.com.ar/back-office/93-clear-smarty.html UPDATE:If you give this error:*Warning*: mkdir() [function.mkdir /function.mkdir>]: No such file or directory in *modules/clearsmarty/clearsmarty.php* on line *44*Check te permissons of smarty folder (must write access) or create a tmp folder in tools/smarty Share this post Link to post Share on other sites
jolvil 79 Posted January 10, 2011 Posted January 10, 2011 This module cleans all files in smarty/compile folder with index.php.index.php is there to protect the folder, don't forget to upload it again.The module cannot be installed correctlychange function install() { if (!parent::install()) return true; } to function install() { if (!parent::install()) return false; return true; } Share this post Link to post Share on other sites
shacker 1,055 Posted January 31, 2011 Posted January 31, 2011 Thanks.Updated with this fix and no more index.php deleted Share this post Link to post Share on other sites
ysco 77 Posted January 31, 2011 Posted January 31, 2011 Thanks shacker for the new update Question,Is the module also working and tested for 1.4.X already ?Best regards,ysco.. Share this post Link to post Share on other sites
shacker 1,055 Posted January 31, 2011 Posted January 31, 2011 for the new version of smarty nop, for the old yes. But i write and update soon Share this post Link to post Share on other sites
nobynator 2 Posted January 31, 2011 Posted January 31, 2011 Can you explain what effect this module do by cleaning the smarty? Share this post Link to post Share on other sites
shacker 1,055 Posted January 31, 2011 Posted January 31, 2011 if you site is cachong the files, and you modify any tpl of the site, you dont see these changes bacouse the cache. Clearing the cache you see the changes Share this post Link to post Share on other sites
shacker 1,055 Posted February 21, 2011 Posted February 21, 2011 Now PS 1.4 compatible Share this post Link to post Share on other sites
ysco 77 Posted February 21, 2011 Posted February 21, 2011 Thanks for the update shacker Best regards,ysco.. Share this post Link to post Share on other sites
shacker 1,055 Posted February 21, 2011 Posted February 21, 2011 Your welcome. Remember to use the smarty 3 in PS 1.4 Share this post Link to post Share on other sites
shacker 1,055 Posted February 22, 2011 Posted February 22, 2011 mkdir is not used anymore in the module Share this post Link to post Share on other sites
De Angel Net 6 Posted August 24, 2011 Posted August 24, 2011 I had edit several tpl and i used clearsmarty to clear cache. I have backup the index.php on tools/smarty/compile But i had a problem. After i used the module, i can't see any page. In mozilla no error report. Only Blank tab. In IE it show http 500. In opera no error report. I tried to restore the index.php but nothing happen. i still can't open any page, but i can go into admin. I have already change the permission for folder to 755 and for files 644 Please help me ASAP Thank you Share this post Link to post Share on other sites
De Angel Net 6 Posted August 24, 2011 Posted August 24, 2011 I had change all folders and files permission to 755 and 644 I had reset .htaccess file and robot.txt I had restore the index.php on ../tool/smarty/compile But i still can't see any page. Share this post Link to post Share on other sites
De Angel Net 6 Posted August 24, 2011 Posted August 24, 2011 (edited) [Wed Aug 24 22:41:17 2011] [error] [client 118.96.XXX.XXX] File does not exist: /home/delovisc/public_html/404.shtml [Wed Aug 24 22:41:17 2011] [error] [client 118.96.XXX.XXX] File does not exist: /home/delovisc/public_html/404 [Wed Aug 24 22:41:17 2011] [error] [client 8.21.XXX.XXX] File does not exist: /home/delovisc/public_html/404.shtml 3 last error log from my cpanel. It 404.shtml and 404 file can make error http 500 happen? Edited August 24, 2011 by De Angel Net (see edit history) Share this post Link to post Share on other sites
De Angel Net 6 Posted August 24, 2011 Posted August 24, 2011 (edited) [solved] by searching error log in public_html. error at one css can make error http 500 Usefull module after using the stable mod theme. Thanks Edited August 25, 2011 by De Angel Net (see edit history) Share this post Link to post Share on other sites
shacker 1,055 Posted January 22, 2012 Posted January 22, 2012 v 1.3 - updated to PS 1.5 Share this post Link to post Share on other sites
shacker 1,055 Posted May 29, 2012 Posted May 29, 2012 v1.4 - delete css/js cache files. Share this post Link to post Share on other sites
shacker 1,055 Posted June 1, 2012 Posted June 1, 2012 tested on PS 1.4.8.2 and works fine Share this post Link to post Share on other sites
subulica 0 Posted August 12, 2012 Posted August 12, 2012 This module cleans all files in smarty/compile folder with index.php. index.php is there to protect the folder, don't forget to upload it again. The module cannot be installed correctly change function install() { if (!parent::install()) return true; } to function install() { if (!parent::install()) return false; return true; } Now i have no blocks on the right side ... please help me ... i save index.php from smarty and smarty v2 .. i uploaded back again but with no success. PLease help me Share this post Link to post Share on other sites
subulica 0 Posted August 12, 2012 Posted August 12, 2012 HELP ME . After used Clear Smarty my right block has disappeared. Share this post Link to post Share on other sites
shacker 1,055 Posted August 12, 2012 Posted August 12, 2012 im sure you have a error on a tpl enable display errors on config/config.inc.php put display_errors to on to check what is the error Share this post Link to post Share on other sites
subulica 0 Posted August 12, 2012 Posted August 12, 2012 im sure you have a error on a tpl enable display errors on config/config.inc.php put display_errors to on to check what is the error done ... Warning: include() [function.include]: Unable to access /home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include(/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php) [function.include]: failed to open stream: No such file or directory in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include() [function.include]: Unable to access /home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include(/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php) [function.include]: failed to open stream: No such file or directory in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include() [function.include]: Failed opening '/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Fatal error: Class 'Smarty_Internal_Data' not found in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 86 and what should I do ?! Share this post Link to post Share on other sites
subulica 0 Posted August 12, 2012 Posted August 12, 2012 done ... Warning: include() [function.include]: Unable to access /home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include(/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php) [function.include]: failed to open stream: No such file or directory in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include() [function.include]: Unable to access /home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include(/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php) [function.include]: failed to open stream: No such file or directory in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Warning: include() [function.include]: Failed opening '/home1/subulica/public_html/tools/smarty/sysplugins/smarty_internal_data.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 803 Fatal error: Class 'Smarty_Internal_Data' not found in /home1/subulica/public_html/tools/smarty/Smarty.class.php on line 86 and what should I do ?! FIxed tnx God ... before few days tried to update my prestashop and i make a full backup ... i copied smarty folder and smartyv2 folder to my server and worked Share this post Link to post Share on other sites
shacker 1,055 Posted August 12, 2012 Posted August 12, 2012 ok, great Share this post Link to post Share on other sites
shacker 1,055 Posted April 13, 2013 Posted April 13, 2013 v1.5 - compatible PS 1.5.4 - You can select which files to delete Share this post Link to post Share on other sites
lordbdp 24 Posted May 11, 2013 Posted May 11, 2013 v1.5 - compatible PS 1.5.4 - You can select which files to delete Ok but where download it ? It'sn't on your website Share this post Link to post Share on other sites
shacker 1,055 Posted May 11, 2013 Posted May 11, 2013 http://catalogo-onlinersi.net/en/back-office-prestashop-modules/93-clear-smarty-prestashop-module.html Share this post Link to post Share on other sites
lordbdp 24 Posted May 16, 2013 Posted May 16, 2013 It's the v1.4 on the website. Not the v1.5. Share this post Link to post Share on other sites
shacker 1,055 Posted May 16, 2013 Posted May 16, 2013 just download fro mmy website, and its 1.5 version Share this post Link to post Share on other sites
lordbdp 24 Posted May 18, 2013 Posted May 18, 2013 After install it : Warning: array_map() [function.array-map]: Argument #2 should be an array in /my_website.com/modules/clearsmarty/clearsmarty.php on line 66 Warning: array_map() [function.array-map]: Argument #2 should be an array in /my_website.com/modules/clearsmarty/clearsmarty.php on line 69 Share this post Link to post Share on other sites
shacker 1,055 Posted May 18, 2013 Posted May 18, 2013 redownload. we solve this issue Share this post Link to post Share on other sites
guest* 1,020 Posted May 26, 2013 Posted May 26, 2013 v1.5 - compatible PS 1.5.4 - You can select which files to delete Just downloaded latest version from your own homepage. I cannot select any file... Modul-Version is 1.5. used on PS 1.5.4.1. Modul is working, because all cache files were deleted and have today's date. Share this post Link to post Share on other sites
shacker 1,055 Posted May 27, 2013 Posted May 27, 2013 Just downloaded latest version from your own homepage. I cannot select any file... Modul-Version is 1.5. used on PS 1.5.4.1. Modul is working, because all cache files were deleted and have today's date. you cant select files, only type of clean (js, tpl, etc) Share this post Link to post Share on other sites
shacker 1,055 Posted October 26, 2014 Posted October 26, 2014 v1.6-update clean code Share this post Link to post Share on other sites
studionet 10 Posted September 7, 2015 Posted September 7, 2015 v1.6-update clean code After clicking "Clear Smarty Cache" on PS 1.5.4.1: [PrestaShop] Fatal error in module clearsmarty: Call to undefined method Tools::clearSmartyCache() Forgot to include config headers ... ?? Share this post Link to post Share on other sites
shacker 1,055 Posted September 12, 2015 Posted September 12, 2015 thanks for report, is a function not included in 1.5.4, i must recode for that version. regards Share this post Link to post Share on other sites
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