Hi Nathan, 

It sounds like your server may have mod_security enabled and be filtering 
"suspect" content. Can you check or ask your host to check if mod_security is 
installed, and if so, what it's configuration might be?  Since this doesn't 
typically happen as a result of Habari, and the behavior is quite weird (no 
data saved at all when submitting content with an iframe), I'm thinking its 
something more to do with your server configuration. 

Owen


On Saturday, January 19, 2013 at 12:21 PM, Nathan Thomas wrote:

> Hi Colin,
> 
> Here's the System Information detail:
> 
> SYSTEM INFORMATION
> PHP Version: 5.3.17
> Server Software: Apache
> Database: mysql - 5.5.27-cll
> PHP Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, 
> bcmath, bz2, calendar, ctype, curl, dom, filter, ftp, gd, gettext, hash, 
> iconv, SPL, json, mbstring, mcrypt, mysql, mysqli, pgsql, session, standard, 
> posix, Reflection, Phar, SimpleXML, sockets, imap, tokenizer, xml, xmlreader, 
> xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, suhosin, PDO, pdo_sqlite, SQLite, 
> pdo_mysql, Zend Guard Loader
> PHP Configuration Settings: safe_mode: 0<br>open_basedir: 
> 0<br>display_errors: 1<br>session.gc_probability: 
> 1<br>session.gc_maxlifetime: 1440<br>error_reporting: 32767<br>memory_limit: 
> 128M
> PCRE Version: 8.21 2011-12-12
> Browser: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
> 
> SITE INFORMATION
> Habari Version: 0.9
> Habari API Version: 4958
> Habari DB Version: 5104
> Active Theme: minimal dust
> System Locale: en-us
> Cache Class: FileCache
> 
> USER CLASSES
> None found
> 
> PLUGIN INFORMATION
> /system/plugins:
> Core Blocks: 
> /data01/c1474148/public_html/system/plugins/coreblocks/coreblocks.plugin.php
> Core Dash Modules: 
> /data01/c1474148/public_html/system/plugins/coredashmodules/coredashmodules.plugin.php
> Spam Checker: 
> /data01/c1474148/public_html/system/plugins/spamchecker/spamchecker.plugin.php
> Undelete: 
> /data01/c1474148/public_html/system/plugins/undelete/undelete.plugin.php
> AutoParagraph: 
> /data01/c1474148/public_html/system/plugins/autop/autop.plugin.php
> Habari Media Silo: 
> /data01/c1474148/public_html/system/plugins/habarisilo/habarisilo.plugin.php
> 
> /user/plugins:
> Common Blocks: 
> /data01/c1474148/public_html/user/plugins/commonblocks/commonblocks.plugin.php
> Footnotes: 
> /data01/c1474148/public_html/user/plugins/footnotes/footnotes.plugin.php
> Habari Markdown: 
> /data01/c1474148/public_html/user/plugins/habarimarkdown/habarimarkdown.plugin.php
> FeedBurner: 
> /data01/c1474148/public_html/user/plugins/feedburner/feedburner.plugin.php
> 
> /3rdparty/plugins:
> None found
> 
> /other/plugins:
> None found
> 
> 
> Just to confirm, the post is completely blank after pressing 'save', all text 
> is removed (including text in other fields such as the title field).
> 
> Thanks,
> Nathan
> 
> On Saturday, 19 January 2013 17:06:12 UTC, lildude wrote:
> > I definitely think this is something specific to your instance as this 
> > definitely works in 0.9.
> > 
> > Can you please post your "System Information" from your Habari installation 
> > (follow the link at the bottom of the admin page). 
> > 
> > You say that when you save, it reverts to a blank post... is ALL text you 
> > entered removed or just the <iframe> code?
> > 
> > 
> > On Sat, Jan 19, 2013 at 3:32 PM, Nathan Thomas <afterno...@googlemail.com> 
> > wrote:
> > > Hi all,
> > > 
> > > I managed to get my host to move me to a server with a non-obsolete 
> > > version of PHP (5.3.17), and installed 0.9. Unfortunately the problem 
> > > still occurs - attempting to embed links containing iframes in a post and 
> > > then clicking 'save' reverts to a blank post. MySQL version is 
> > > 5.5.27-cll, Apache is 2.2.23.
> > > 
> > > Best,
> > > Nathan
> > > 
> > > 
> > > 
> > > On Tuesday, 1 January 2013 11:36:59 UTC, Nathan Thomas wrote:
> > > > Hi, I cannot embed content from YouTube --- for example if I go to 
> > > > https://www.youtube.com/watch?v=oFT68U4i-Xw, right-click on the video 
> > > > and select 'Copy embed html', then paste it into a new Habari post, 
> > > > when I click 'save' in Habari, the editor reverts to a blank form. A 
> > > > draft is saved with the title I originally gave it, but it is empty. 
> > > > This occurs with both the default editor and the YUI wysiwyg editor. 
> > > > 
> > > > The same thing occurs when I try to embed a Vimeo video using their 
> > > > standard embed code, but when I use their old embed code, which does 
> > > > not use iframes, the code is embedded without problems. To get the old 
> > > > embed code, click 'share' on a Vimeo video, click on 'show options', 
> > > > and look for 'Use old embed code' in the bottom right hand corner.
> > > > 
> > > > Unfortunately I can't test this in Habari 0.9 as my host still uses an 
> > > > old version of PHP. I will ask them to upgrade to 5.3, but given their 
> > > > responses to previous requests I'm not holding out much hope!
> > > > 
> > > > Thanks for looking into this!
> > > > 
> > > > On Sunday, December 30, 2012 6:39:38 PM UTC, lildude wrote:
> > > > > Can you guys give an example of the code you're embedding that is 
> > > > > experiencing the issue and I'll take a look tomorrow (UK time).
> > > > > Do you see this issue if you embed the YouTube I frame code?
> > > > > Also, are you able to reproduce this using Habari 0.9?
> > > > > Seems like an issue with Joomla users as well.
> > > > > 
> > > > > http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F
> > > > > 
> > > > > http://www.jotform.com/answers/38157-Embedded-Code-won-t-save-in-Joomla
> > > > > 
> > > > > 
> > > > > On Wednesday, November 28, 2012 3:36:00 PM UTC-5, Nathan Thomas wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > This might be a daft question, but whenever I try to embed an 
> > > > > > iframe into a post --- for example a Soundcloud track or Vimeo 
> > > > > > video --- the post gets wiped when I hit 'save', returning me to an 
> > > > > > empty new post page. This also seems to happen when I try to 
> > > > > > include scripts on a page. Is this a bug or a feature? I understand 
> > > > > > there may be some security issues involved in embedding iframes and 
> > > > > > scripts, but the inability to post media from other sites is a real 
> > > > > > problem for me. Is there any way to work around this issue?
> > > > > > 
> > > > > > Thanks,
> > > > > > Nathan
> > > > > -- 
> > > > > To post to this group, send email to habari...@googlegroups.com
> > > > > To unsubscribe from this group, send email to 
> > > > > habari-users...@googlegroups.com
> > > > > For more options, visit this group at 
> > > > > http://groups.google.com/group/habari-users 
> > > 
> > > -- 
> > > To post to this group, send email to habari...@googlegroups.com
> > > To unsubscribe from this group, send email to 
> > > habari-users...@googlegroups.com
> > > For more options, visit this group at 
> > > http://groups.google.com/group/habari-users
> > 
> > 
> > -- 
> > Colin Seymour 
> > Blog: http://colinseymour.co.uk
> > Tech Stuff: http://lildude.co.uk
> > Barefoot Running: http://barefootrunner.co.uk
> > IRC: lildude #habari 
> 
> -- 
> To post to this group, send email to habari-users@googlegroups.com
> To unsubscribe from this group, send email to 
> habari-users-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/habari-users 

-- 
To post to this group, send email to habari-users@googlegroups.com
To unsubscribe from this group, send email to 
habari-users-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to