Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0)

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1239 Views
  • weareorganism
    Avatar
    Community Member
    14 Posts

    setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0) Link to this post

    Hi there,

    When I enable TinyMCE editing by adding the line "BlogEntry::allow_wysiwyg_editing();" to the _config.php file associated with the blog module I can no longer access my site.

    Firefox 3.6.2 reports that there is a Content Encoding Error: The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    IE 8 just fails

    Safari 4.04 reports that Safari can’t open the page “[url removed by author]”. The error is: “cannot decode raw data” (CFURLErrorDomain:-1015) Please choose Help > Report Bugs to Apple, note the error number, and describe what you did before you saw this message.

    If I modify the BlogEntry.php file directly and hardcode the setting to true everything works as expected.

    Has anyone else had this issue? Am I doing anything wrong?

    Thanks,
    Peter

  • ganassa
    Avatar
    Community Member
    1 Post

    Re: setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0) Link to this post

    Hi
    I've just set up _config.php with the "BlogEntry::allow_wysiwyg_editing();" entry, and it works for me (SS 2.3.7 + blog 0.3.0)

  • weareorganism
    Avatar
    Community Member
    14 Posts

    Re: setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0) Link to this post

    UPDATE:

    Seems my issue is caused by having this added to my config file as per another user's suggestion elsewhere in the forum:

    ob_start("ob_gzhandler");

    I have since removed the line and everything is working fine. Makes sense that a compression error is stemming from a compression handler.

    Incidentally I'm running the site on a shared hosting package on Dreamhost.

    Thanks,
    Peter

    1239 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.