-
- 1,611 Posts
Well, backup your database before you do anything. Then browse through it using phpMyAdmin or something similar to see if it seems to be corrupted. If it is and you don’t have an earlier backup, then you don’t have much choice but to try to do some surgery on it to repair it.
As I understand it, the site cache file is created from the resources (snippets, templates, etc.) that you have stored in your database plus things like an index of site documents, etc. So if you have a corrupted entry in your database, it could be copied to your site cache and keep it from functioning properly. That’s the theory that motivated me to suggest that you check out your database contents anyway.
If you deleted the contents of the Ditto snippet from the database all you’d be doing is making that snippet temporarily inactive. If that fixed things, you could then go into the manager and paste the snippet code in there again and you’d be done. This wouldn’t affect any files on the server or ditto calls in your site at all.
But really the first step is to check out your database and see if it’s been corrupted, and if so how badly. Then it will be more clear what you need to do. Personally I wouldn’t overwrite files and do an upgrade install in this circumstance until I’d exhausted other options, but others may differ.
-
- 13 Posts
Database checked out clean.. going to back it up and attempt a reinstall of modx then try importing the old tables back in
-
- 13 Posts
Upgrade install fixed it all.. apparently there was other corrupted strings in some of the other php files from the crash for manager/config along with the cache. It’s all running as it was before the crash. Thanks a lot for all the input and help guys greatly appreciated.