23450 Posts in 18899 Topics by 2877 members
|Go to End|
30 May 2011 at 11:07am
i have encounterred a strange probelm with HTMLText iframe within ss2.4.5.
Well, basically i have created a google_map_widgets for handling [google map iframes].
I have get it working on my local machine. LAMP, but once i put it onto web live server, it wont let me save the <iframe> content.
It's shown 403 forbidden.
if i am inserting anyother content even "<ifram" is fine. seems the iframe is not allowed saving to cms backend. very stange.
I do find out some suggestions, some say it could be a validator thing, so i turn off the js validator, using
HtmlEditorConfig::get('cms')->setOption('verify_html', 'false');// turn off html validation
not really works..
Just wonder why it works with my local but not live server. IS that could be a php or apache setting things that play the trick?!
Any insight will be great helpful.
parts of code listed:
return new FieldSet(
new TextField("GoogleLocationName","Google Location Name"),
new TextAreaField("GoogleLocationURL","Google Location URL"),
new CheckBoxField('ShowBusinessDetail','Show Business Detail on this Widget')
31 May 2011 at 9:45am
Well, i did find out this was coz by the apache modSecurity on the live server.
Trying to turn off the modSecurity. it works.
Also modify the line for the parrten may do the trick.
|Go to Top|