Hi,
I upgraded a revo 2.0.8-pl install to 2.1-rc4, which went fine (see my other thread about installer warnings:
http://modxcms.com/forums/index.php/topic,64268.0.html, although I’m sure it’s completely unrelated to this).
I then tried moving the site to a new server, and ran into this error in the manager:
Could not find action file at: /path/to/manager/controllers/default/welcome.php
as described here (
http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server, under the ’On the New Server’ section). The path in the error is the path on the old, local server, not the new, remote one.
I’d followed the instructions on that page for doing the move, as I have many times before for 2.0. This time I forgot to clear the cache on the local server, before backing up and copying the files and database over. This has never caused a problem on 2.0 - you get that message on login, then click clear cache and flush permissions and refresh and it’s sorted.
However this time, I just get this (
http://modxcms.com/forums/index.php/topic,64330.0.html) and no improvement - still got the error message. Couldn’t get rid of it whatever I did. I eventually had a poke about in the /core/cache folder, to see how complex it might be to clear the cache manually. Making an educated guess, I opened up /core/cache/action_map/mgr/actions.cache.php - and sure enough, it was full of the old path names. I tried setting the /core/cache/ folder to 0777 and clearing, but no luck.
Deleting that file seemed to fix the issue, though.
Is there a way to manually clear the cache on revo? Can I just delete /core/cache, or will that break stuff? I tried renaming it from /core/cache to /core/_cache, and it seemed to get re-created and everything seems to work fine - is it? It’s fixed my problem, but is it ok to do this?
Cheers,
Dunc