0

Whenever I try to save <base href="[[!++site_url]]" /> into a chunk the page pauses - the data won't save and I get a JS error in console:

Uncaught TypeError: this.mask.addClass is not a function

This is on 2.6.5 on a fresh install.

Would anyone know what I could and how I could fix this?

3 Answers 3

0

In my case there was Mod security enabled on server, after asking hosting provider to disable it, everything went fine

0

In older MODX versions there was a problem sometimes generating and saving content of this tag. It may depend on server settings or MODX version, could you update to 2.8.4 for example? Also as an option (if you do not have a multi-context site, although this option is also possible with it) you can explicitly directly specify domain in the form (if it works for you of course):

<base href="https://yourdomain.com" />

-1

You got a ! in the <base href="[[!++site_url]]" /> try removing it

1
  • I tried, but that shouldn't make a difference - just non-caching indicator.
    – MeltingDog
    Oct 28, 2018 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.