0

The other day I was just restoring a backup on my website hosting servivce when I accedintally deleted a magento folder via SSH.

Everything started working after the backup was restored, the store was functioning properly until I noticed a thing.

The Clear CSS/JS Cache button was not there, and neither was the Clear Catalog Images Cache button present. Please help!

Store Backend Image

asked Sep 19, 2014 at 13:47

3 Answers 3

1

They are under Additional Cache Management, which comes from this file app/design/adminhtml/default/default/template/system/cache/additional.phtml

Make sure you have the above file with code intact, and also the layout file app/design/adminhtml//default/default/layout/admin.xml with below fragment of code inside:

<adminhtml_cache_index>
 <reference name="content">
 <block type="adminhtml/cache" name="cache"></block>
 <block type="adminhtml/cache_additional" name="cache.additional" template="system/cache/additional.phtml"></block>
 </reference>
 </adminhtml_cache_index>
answered Sep 19, 2014 at 17:51
2
  • YEAH! additional.phtml wasn't there, I wonder how it could've gotten deleted. Anyway, I found a copy of it online and added it, and its there now! Thanks very much. Do you have any idea why it was deleted? Is there anything else that might have gone missing? Commented Sep 20, 2014 at 3:33
  • You said the backup was restored to bring your site back. Seems that file was not backed up during backup process. Maybe error logs can tell what went wrong? Commented Sep 20, 2014 at 7:09
1

I resolved issue. I have had same issue.

I do not know for what reason this folder cache was empty :

app/design/adminhtml/default/default/template/system/cache/additional.phtml

without three file : addional.phtml - edit.phtml and notifications.phtml.

I have added this files and is all ok now.

Regards Roberto

0

Had the same problem, for some reason all files under app/design/adminhtml/default/default/template/system/cache where deleted. Just copied from another installation and all is fine.

answered Apr 17, 2017 at 17:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.