Turns out the problem was caused by the presence of a script in a chunk - a script to do a little Rot13 obfuscation of an email address to be displayed in the website footer:
<p>For enquiries click to email us at:
<script type="text/javascript">
Rot13.write(' <n uers="znvygb:[email protected]?fhowrpg=Ivyyn Fgevnab jrofvgr radhvel">[email protected]</n>');
</script></p>
Deleting that meant the chunk could be saved and other alterations could be made.
Problem now is that no scripts can be included in chunks. Even a completely empty opening script tag (no reference to a .js file and no closing tag) trigger the white screen and nothing is saved. So replacing the above with:
<script src="js/email.js"></script>
in the chunk leaves the chunk unsaveable. The workaround is to use this in the footer chunk:
<p>For enquiries click to email us at: <scri[[$email-js]]</p>
And this in the email-js chunk:
pt src="js/email.js"></script>
Both of those chunks can be saved normally.
Is there something in the MODX installation that needs to be changed?
[ed. note: cottagestuff last edited this post 8 years, 7 months ago.]