on a site that has been live for a while I now keep getting a 404 page whenever I try to access /admin. All cache clearing doesn't help.
Curiously, I can still log in and out by going to /Security/login and Security/logout
Also checked the .htaccess file, it's the same as it always was and as is recommended here in a previous post.
I have no clue why this happened all of a sudden. Any help is much appreciated!
Ahh, that is a good thing I suppose. Have you confirmed that the _config.php file is still in the /cms/ director, and intact? The director rules in there would reserve /admin for the CMS. Also have you tried doing a dev/build/flush=all too?
Thanks! The config seems okay, but when I do flush=all, I get an error message:
[Warning] fopen(/tmp/silverstripe-cache-home-henning-public_html/manifestClassParse-_home_henning_public_html_mysite_code_BookHolder.php) [function.fopen]: failed to open stream: Permission denied ..
SilverStripe generates templates on access of pages to speed up load times. It is a core part of how it operates and it is in your best interest to get it functioning correctly.
The file will not be there in the first place because the error is stating that it can't created it (Permission Denied). The bigger issue here is why the user your webserver runs as doesn't have write access to the /tmp directory. That is not typical.
This is an issue at your web host. Do you have support with them or is it a server you manage?