cancel
Showing results for 
Search instead for 
Did you mean: 

[URGENT] Clear cache

[URGENT] Clear cache

Hi, I have Magento 1.9.4.1 C.E.

I disabled all my modules at once and that caused my backed to crash. I reactivated all the modules but am unable to flush my cache now. How can I do it?

 

- deleting var/cache doesn't work. That folder is ALWAYS empty, I've never seen it with a single file inside.

- I have no var/session folder either.

5 REPLIES 5

Re: [URGENT] Clear cache

Hi @simone_romeo,

Check once var/page_cache folder.

Re: [URGENT] Clear cache

Hi, @Vimal Kumar 
folder page_cache doesn't exist. In var I have backups, cache, connect, export, locks, log, package, report, and tmp folders.

Re: [URGENT] Clear cache

Hi @simone_romeo 

 

If you have ssh credentials then you can also run this command from your magento root.

 

php -r 'require "app/Mage.php"; Mage::app()->getCacheInstance()->flush();'

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".

 

Re: [URGENT] Clear cache

Hi @Rahul Gupta 

I do not have SSH access, sadly.

Re: [URGENT] Clear cache

Hi @simone_romeo 

 

Can you please provide write permission to var folder and after that trying to refresh the page and check if the cache is generated again in the var/cache folder.

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".