1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0)
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1073 Views |
-
setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0)

30 March 2010 at 3:38pm Last edited: 30 March 2010 3:39pm
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 -
Re: setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0)

9 April 2010 at 2:27am
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) -
Re: setting 'allow_wysiwyg_editing' crashes site (using blog-v0.3.0)

15 April 2010 at 1:09pm
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
| 1073 Views | ||
|
Page:
1
|
Go to Top |


