17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 8914 Views |
-
Re: Error saving content

12 September 2007 at 6:18am
And another thing: wouldn't it be better to say: "RightContent" => "HTMLText" when using a new HtmlEditorField?
Sorry for all the questions.. I'm only beginning here
-
Re: Error saving content

27 November 2007 at 6:14pm
Are you aware if mod_security is enabled on your HTTP server? It has rather conservative settings. It's not uncommon for mod_security to identify a "Page Save" as an SQL injection attack and deny the query.
You could attempt to disable mod_security by appending the following lines in your .htaccess. This file resides in your SilverStripe root directory.
<IfModule mod_security.c>
SecFilterEngine off
</IfModule> -
Re: Error saving content

25 January 2008 at 11:52am Last edited: 25 January 2008 6:03pm
I'm experiencing the same "Error saving content" with the ArticlePage. Oddly enough, it saves and publishes the content until the browser cache is cleared, then it's gone. Weird. Any fixes for this?
-
Re: Error saving content

29 June 2008 at 10:46pm
same error here... the content is saved, but it keeps me saying "error saving content" my field is created as follows:
static $db = array(
'CostIncludes' => 'Text'
)
function getCMSFields() {
$fields->addFieldToTab('Root.Content.Main', new HtmlEditorField('CostIncludes','Cost includes'));
return $fields;
} -
Re: Error saving content

30 June 2008 at 2:26pm
You are using a HtmlEditorField. Note that you have to use the FieldType of "HTMLText" instead of "Text" if you want to use a HTMLEditorField to edit it
-
Re: Error saving content

1 July 2008 at 3:52am
dumb me... thanks for noticing the problem
now all is working perfect!
| 8914 Views | ||
| Go to Top |





