Hot answers tagged modx
2
Possibilities
ModX EVO CMS is deleting it
Malware/Virus is deleting it
Shared Hosting is causing it, i.e malware/virus on another user account spreading to yours.
Web host is deleting it for one reason or another.
How to Investigate
Contact your web host if shared hosting
Check logs
Quick Fix
I'm assuming that you are using CHMOD 744 or 777, there ...
1
Identify How The File Got Changed
First off you want to address the problem of how they are getting into your system since a chmod 755 means only the owner (The web server, ie Apache/iis) has access to write to the files therefor something else is doing the written to these files via your CMS/SQL/PHP.
Identify how they got in... (Check access.logs, ...
1
Use a TV with the @DOCUMENT binding or the getField-Snippet. Both methods work for MODx Evolution.
On MODx-questions, please include whether your are using Evolution or Revolution, since the code base differs heavily, as so does the functionality.
Only top voted, non community-wiki answers of a minimum length are eligible
