When i select all the cache items and select enable t says at the top
"8 cache type(s) enabled."
BUT all the status are still disabled and red
It use to be fine, I have no idea if its the update thats done this
Please help!!!
Thanks guys
That is odd.
Although the var/cache folder does need to be writable i do not believe it checks that when saving the options.
I would check in two places. Firstly in the database in core_cache_option to see what values are actually in there in case the admin is just out of date (which doesn't normally happen btw) and secondly in your log files var/log to see if there are any errors in there. It might be worth looking in your apache error log as well to see if something is being thrown.
Regards,
Andy
core_cache_option
code
block_html
collections
config
config_api
config_api2
eav
layout
translate
All values are set to 1
There are a whole bunch of files in the var/cache folder, i have no idea where to start
can you tell me what i should be looking for?
For each row where the value is 1 cache is enabled so it doesn't make sense that they are showing as disabled in the admin.
If you have access to the server, although i do not think it will make any difference, you can try running the following command from the root magento directory
rm -rf var/cache/*
Also, if you run n98-magerun you can run n98-magerun cache:list and that will tell you for each cache type if it is enabled or not.
Regards,
Andy
hijab@serv01 [~]# cd public_html/ hijab@serv01 [~/public_html]# rm -rf var/cache/* rm: cannot remove `var/cache/mage--4/mage---internal-metadatas---c03_CORE_CACHE_ OPTIONS': Permission denied rm: cannot remove `var/cache/mage--4/mage---c03_CORE_CACHE_OPTIONS': Permission denied
Help meeeeee
chmod: changing permissions of `./var/cache/mage--4': Operation not permitted > find . -type f -exec chmod 644 {} \; > hijabgem@serv01 [~/public_html]# find . -type f -exec chmod 644 {} \; chmod: changing permissions of `./var/cache/mage--4/mage---internal-metadatas---c03_CORE_CACHE_OPTIONS': Operation not permitted chmod: changing permissions of `./var/cache/mage--4/mage---c03_CORE_CACHE_OPTIONS': Operation not permitted hijabgem@serv01 [~/public_html]# find . -type d -exec chmod 755 {} \; chmod: changing permissions of `./var/cache/mage--4': Operation not permitted hijabgem@serv01 [~/public_html]# chmod +x mage hijabgem@serv01 [~/public_html]# find . -type d -exec chmod 755 {} \; chmod: changing permissions of `./var/cache/mage--4': Operation not permitted hijabgem@serv01 [~/public_html]# chmod: changing permissions of `./var/cache/mage--4': Operation not permitted
Try it again using sudo
sudo rm -rf var/cache/*
Regards,
Andy
hey andy i just tried it
hijabgem@serv01 [~/public_html]# sudo rm -rf var/cache/* -bash: sudo: command not found
I cant change the permissions of those two files using ftp either
Are you able to delete the cache directory entirely?
In the log files im getting this
[error] [client 109.188.123.43] client denied by server configuration: public_html/app/etc/local.xml