TinyMCE does not load on nginx

Sometimes when installing your great SilverStripe site on an nginx webserver, TinyMCE (aka HTMLEditorField) won't load due to a 404 when grabbing the javascript. This is cause the gzipped tinymce configuration is served by an extra php file nginx blocks somehow.

While it doesn't solve the blocking of the file you can disable using gzip for TinyMCE by setting

  use_gzip: false

in your /mysite/_config/config.yml.

So your site works again with a slightly slower HTMLEditorField. If someone knows how to tell nginx to serve the gzipped version, please leave a comment.

Rate this post

Post your comment


No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments