Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
TXP 4.30 can't post iFrame in Excerpt
I am working on a site that’s running TXP 4.30. Everything was fine but now suddenly I am unable to put YouTube code into the excerpt field. Indeed, cannot even add an <iframe> tag. If I try to publish the article, a 404 error is returned and the article is not saved.
<iframe> tags can be added to the Body field without error.
No change has been made to the site in several years, so I can’t see what the problem would be.
The diagnostic info follows, as well as a list of active plugins.
Is this a known bug? Any help would be greatly appreciated!
Textpattern version: 4.3.0 (r3451)
Last Update: 2011-02-04 22:02:00/2010-11-04 12:59:40
Document root: /home/slrunner/public_html
$path_to_site: /home/slrunner/public_html
Textpattern path: /home/slrunner/public_html/textpattern
Permanent link mode: section_title
Temporary directory path: /home/slrunner/public_html/textpattern/tmp
Site URL: www.starlightrunner.com
PHP version: 5.2.17
Register globals: 1
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server TZ: America/Los_Angeles
Server Local Time: 2012-09-14 13:30:34
DST enabled?: 1
auto_dst: 1
Time Zone: America/New_York (-18000)
MySQL: 5.0.95-community
Locale: en_US.UTF-8
Server: Apache mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.3.3B
Active plugins: rah_comments-0.4, jnm_audio-0.3, upm_image-0.6.2, upm_img_popper-1.3.7m, glz_custom_fields-1.2.4
theme_name: classic 4.3.0
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: date/5.2.17, libxml, openssl, pcre, zlib/1.1, bcmath, bz2, calendar, ctype, curl, dba, dbase, dom/20031129, hash/1.0, filter/0.11.0, ftp, gd, gettext, gmp, session, iconv, standard/5.2.17, json/1.2.1, ldap, mbstring, mcrypt, mhash, mime_magic/0.1, ming, mysql/1.0, SimpleXML/0.1, ncurses, odbc/1.0, pgsql, posix, pspell, readline, Reflection/0.1, imap, shmop, SPL/0.2, mysqli/0.1, soap, sockets, exif/1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $, sysvmsg, sysvsem, sysvshm, tidy/2.0, tokenizer/0.1, wddx, xml, xmlreader/0.1, xmlrpc/0.51, xmlwriter/0.1, xsl/0.1, zip/1.8.11, cgi-fcgi, htscanner/1.0.1, PDO/1.0.4dev, pdo_sqlite/1.0.1, SQLite/2.0-dev, pdo_mysql/1.0.2, ionCube Loader, Zend Optimizer
pretext_data: array (
‘id’ => ‘’,
‘s’ => ‘’,
‘c’ => ‘’,
‘context’ => ‘’,
‘q’ => ‘’,
‘m’ => ‘’,
‘pg’ => ‘’,
‘p’ => ‘’,
‘month’ => ‘’,
‘author’ => ‘’,
‘request_uri’ => ‘/79a4063c0b28fe895945a8ee83db55d7/?txpcleantest=1’,
‘qs’ => ‘txpcleantest=1’,
‘subpath’ => ‘\\/’,
‘req’ => ‘/79a4063c0b28fe895945a8ee83db55d7/?txpcleantest=1’,
)
/home/slrunner/public_html/index.php:
r3189 (b58ca188e05a48b31d1025d61e026725)
/home/slrunner/public_html/css.php:
r3189 (5e7fe7ea948c7e9ec2e56e34a01f4bb6)
/home/slrunner/public_html/textpattern/css.php:
r3189 (4e131ff20d1da3e20b2c629292138653)
/home/slrunner/public_html/textpattern/include/import/import_b2.php:
r3446 (e05c2808566822ed4a6e525ee4bc4192)
/home/slrunner/public_html/textpattern/include/import/import_blogger.php:
r3446 (2096da3f746152301620e18a4ccfe0f8)
/home/slrunner/public_html/textpattern/include/import/import_mt.php:
r3446 (f0be9ce384eec112f8e70687458173cc)
/home/slrunner/public_html/textpattern/include/import/import_mtdb.php:
r3446 (c8f07f5a6db990382e4a30a1d57333e6)
/home/slrunner/public_html/textpattern/include/import/import_wp.php:
r3446 (0740155a2d06657893acc7c7d968770d)
/home/slrunner/public_html/textpattern/include/txp_admin.php:
r3386 (ffb4129e774cfbb8643c2e05f37f3507)
/home/slrunner/public_html/textpattern/include/txp_article.php:
r3440 (db97df274f245047f305ff75b1e20560)
/home/slrunner/public_html/textpattern/include/txp_auth.php:
r3374 (a7f13cd308c5c500105f2b5994cc3aad)
/home/slrunner/public_html/textpattern/include/txp_category.php:
r3374 (5af7cf31692bb2213f93babfef5a6657)
/home/slrunner/public_html/textpattern/include/txp_css.php:
r3379 (88587e0dc2d159be4e521dbf33de7bb7)
/home/slrunner/public_html/textpattern/include/txp_diag.php:
r3446 (1903c263988e7ce4d705e5f0d7ee5bdf)
/home/slrunner/public_html/textpattern/include/txp_discuss.php:
r3374 (ec56dc03cb9ac06f5f026d0a3daf3bac)
/home/slrunner/public_html/textpattern/include/txp_file.php:
r3416 (3159e53e1f35099257be71fe85adf021)
/home/slrunner/public_html/textpattern/include/txp_form.php:
r3382 (e6574a6280585918bd7d4c6d202c3b85)
/home/slrunner/public_html/textpattern/include/txp_image.php:
r3441 (9a93e09c68754dd10f1dc007914652d9)
/home/slrunner/public_html/textpattern/include/txp_import.php:
r3374 (3dbc737eaa1def0771d76344ff7fb116)
/home/slrunner/public_html/textpattern/include/txp_link.php:
r3374 (bb85e92bc8df2363676817a10c0d5801)
/home/slrunner/public_html/textpattern/include/txp_list.php:
r3374 (88af3230cf8dc28747b10a1fea20800a)
/home/slrunner/public_html/textpattern/include/txp_log.php:
r3374 (acb6773311e80fbf87a38587c99a7d2d)
/home/slrunner/public_html/textpattern/include/txp_page.php:
r3379 (92d4d3d0dd9d6ef46fb6e1fdb6d1b0b1)
/home/slrunner/public_html/textpattern/include/txp_plugin.php:
r3374 (d73a4547e590fc476279278fa8aeb391)
/home/slrunner/public_html/textpattern/include/txp_prefs.php:
r3445 (959c2a15daf42c8c6da5957b98b0213d)
/home/slrunner/public_html/textpattern/include/txp_preview.php:
r1238 (d55a3df200602c69eb65c72dc8ad7477)
/home/slrunner/public_html/textpattern/include/txp_section.php:
r3374 (d496b080b90519a9a6e180b0fd0451f8)
/home/slrunner/public_html/textpattern/include/txp_tag.php:
r3444 (b8634c90e7ea16c60d1370a867e91626)
/home/slrunner/public_html/textpattern/index.php:
r3451 (dd519f665b0ffb952246f5d91170134c)
/home/slrunner/public_html/textpattern/jquery.js:
unknown (e4958bd2e32d9fcd6115a585ed17a9cc)
/home/slrunner/public_html/textpattern/lib/IXRClass.php:
r3394 (f8621cd5f0f36c69360aa2033e4065af)
/home/slrunner/public_html/textpattern/lib/admin_config.php:
r3386 (6b2b6db38da2baa82f5557a6e29bad97)
/home/slrunner/public_html/textpattern/lib/class.thumb.php:
r3301 (6ca1ad88082438f88cae6416dcb29822)
/home/slrunner/public_html/textpattern/lib/classTextile.php:
r3438 (734d0ebd2f9e7c4c84bf93bf5cde5d58)
/home/slrunner/public_html/textpattern/lib/constants.php:
r3318 (a2b38baeb4ba77f9dfdd4ad71e277549)
/home/slrunner/public_html/textpattern/lib/taglib.php:
r2868 (c9676967585577f0a0b329803761d516)
/home/slrunner/public_html/textpattern/lib/txplib_admin.php:
r3047 (d5211ebfac4f3b6d00f22d459f3cdf69)
/home/slrunner/public_html/textpattern/lib/txplib_db.php:
r3389 (3324a5dab30f68bda3fa7218514f91b7)
/home/slrunner/public_html/textpattern/lib/txplib_forms.php:
r3372 (447c117e7072a73e67ebe2dc41fe46ee)
/home/slrunner/public_html/textpattern/lib/txplib_head.php:
r3388 (e59cdf9aa24c4d2fb88d0d45076be68e)
/home/slrunner/public_html/textpattern/lib/txplib_html.php:
r3372 (17041abcc0779d22a6224feb8dfd3492)
/home/slrunner/public_html/textpattern/lib/txplib_misc.php:
r3437 (b9de32008e7a9ac596e637d993aab37e)
/home/slrunner/public_html/textpattern/lib/txplib_theme.php:
r3388 (99262eb207d3b49a343ad4b5c1dd3e64)
/home/slrunner/public_html/textpattern/lib/txplib_update.php:
r2812 (54d6fa23f3f3fc5c2cb31262c6aa343f)
/home/slrunner/public_html/textpattern/lib/txplib_wrapper.php:
r2931 (22f292521a595090b46300354db6df57)
/home/slrunner/public_html/textpattern/publish.php:
r3433 (3469e21a32b2411d56e57701baf296f6)
/home/slrunner/public_html/textpattern/publish/atom.php:
r3399 (9a4eeebe17b8c833bc382b6287fbb168)
/home/slrunner/public_html/textpattern/publish/comment.php:
r3395 (8a55386ccfd856bd5df68c84058e5ba0)
/home/slrunner/public_html/textpattern/publish/log.php:
r3247 (257c3a247f0ca6a21513beb2f09d76c6)
/home/slrunner/public_html/textpattern/publish/rss.php:
r3399 (da9ab0c78c57b4169a360dfa0aa6c753)
/home/slrunner/public_html/textpattern/publish/search.php:
r2812 (22762b20f6281fd132248ec42e5ee9af)
/home/slrunner/public_html/textpattern/publish/taghandlers.php:
r3443 (e9a2a51863fd241cd8e7e8c0785120ab)
/home/slrunner/public_html/textpattern/textpattern.js:
r3369 (b87b0a897cc2259aa5132da030764c9d)
/home/slrunner/public_html/textpattern/theme/classic/classic.php:
r3191 (8af2d7091676308c93021843c629812d)
/home/slrunner/public_html/textpattern/update/_to_1.0.0.php:
r3047 (8aa7c3d82aad8df47adf96e92f124137)
/home/slrunner/public_html/textpattern/update/_to_4.0.2.php:
r3047 (81324dcf9bed59bacd73789c2b650305)
/home/slrunner/public_html/textpattern/update/_to_4.0.3.php:
r3047 (c237b669e57b7fe0ea2f8c7cc9d69557)
/home/slrunner/public_html/textpattern/update/_to_4.0.4.php:
r3047 (d3e62265ff5ad36a8a7de23e6148f6f9)
/home/slrunner/public_html/textpattern/update/_to_4.0.5.php:
r2894 (7f5fe789f58a202e23c1b430a2659110)
/home/slrunner/public_html/textpattern/update/_to_4.0.6.php:
r3047 (687e230c2c6a46a6c73d3e97ee368d92)
/home/slrunner/public_html/textpattern/update/_to_4.0.7.php:
r3014 (fa83153d09e2e533ce41f69799b90f5c)
/home/slrunner/public_html/textpattern/update/_to_4.0.8.php:
r3057 (26d76a86cb95757355958e06b6063afe)
/home/slrunner/public_html/textpattern/update/_to_4.2.0.php:
r3233 (9bd2be46df10e2f0561634a2de4cdc63)
/home/slrunner/public_html/textpattern/update/_to_4.3.0.php:
r3304 (0f57c27668c4f791530830d92b146dde)
/home/slrunner/public_html/textpattern/update/_update.php:
r3451 (9d15292f6117490393ff999cd052027e)
————————————
PLUGINS
glz_custom_fields 1.2.4
jnm_audio 0.3
rah_comments 0.4
upm_image 0.6.2
upm_img_popper 1.3.7
Offline
Re: TXP 4.30 can't post iFrame in Excerpt
p.s. the site has no problem with <embed> or <object> tags in the Excerpt, only <iframe>. also, I am running a different site on 4.30 and that site has no problem accepting <iframe> in an Excerpt. thanks
Offline
#3 2012-09-14 21:13:52
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: TXP 4.30 can't post iFrame in Excerpt
Have you tried saving with an iframe whose source is on your site?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: TXP 4.30 can't post iFrame in Excerpt
thanks for the suggestion, Uli. Excerpt will not accept even an empty tag like this: <iframe>
i have subsequently done clean installs in a dev subdomain of both 4.3.0 and 4.4.1 and in neither case did that fix the problem, so i now suspect the web host is preventing <iframe> from being inserted. just did a test and <script> cannot be inserted into Excerpt either — although both can be inserted into the Body! not clear why Body would be permitted and not Excerpt.
another site i manage is running 4.3.0 on a different host and has no problem like this. it’s starting to look like we’ll need to change hosting provider.
Offline
Re: TXP 4.30 can't post iFrame in Excerpt
jsanto wrote:
not clear why Body would be permitted and not Excerpt.
It does sound like a problem with the host tripping some security filter or something. Random stuff like this is normally the host being over-zealous. I usually contact them and ask about it, citing as much detail as I can about what I’m saving and where, then magically the next day my saves work ok and they close the ticket!
Not sure if this advice from wet is any help. See later in the thread for an explanation on how it works. Long shot, but it might act as a band aid for now.
Last edited by Bloke (2012-09-14 22:00:41)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#6 2012-09-14 22:01:24
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: TXP 4.30 can't post iFrame in Excerpt
Can’t tell whether this here or this applies for your situation, but certainly easier bolted on (and removed if useless) than changing a hoster.
Edit: The Bloke was faster.
Last edited by uli (2012-09-14 22:02:45)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: TXP 4.30 can't post iFrame in Excerpt
thanks guys! the htaccess entries did not help, but then the host disabled modesecurity for the domain and all is OK now
Offline