Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-10-10 07:40:57

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

cant' save pages and stylesheet

hi,

fresh install. forms can be saved, but pages and stylesheet can’t. :(

diagnostic tool:

Textpattern version: 4.5.7 (r5900)
Last update: 2015-10-10 07:09:01/2015-10-10 07:02:10
Document root: /home/timoree/public_html
$path_to_site: /home/timoree/public_html
Textpattern path: /home/timoree/public_html/textpattern
Permanent link mode: section_title
Temporary directory path: /home/timoree/public_html/textpattern/tmp
Site URL: www.timor.ee
PHP version: 5.5.29
GD Graphics Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/Helsinki
Server local time: 2015-10-10 10:33:26
DST enabled?: 1
Automatically adjust DST setting?: 1
Time zone: Europe/Tallinn (7200)
MySQL: 5.5.45-cll-lve
Locale: en_GB.UTF-8
Server: Apache
PHP server API: litespeed
RFC 2616 headers: 
Server OS: Linux 2.6.32-604.16.2.lve1.3.54.el6.x86_64
Admin-side theme: classic 4.5.7

Pre-flight check: 
------------------------
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: show_source, allow_url_fopen
------------------------

.htaccess file contents: 
------------------------

------------------------

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: Core/5.5.29, date/5.5.29, ereg, libxml, openssl, pcre, sqlite3/0.7-dev, zlib/2.0, bcmath, calendar, ctype, curl, dom/20031129, filter/0.11.0, ftp, gd, hash/1.0, iconv, SPL/0.2, json/1.2.1, mbstring, mcrypt, session, mysql/1.0, mysqli/0.1, standard/5.5.29, Phar/2.0.2, posix, Reflection/$Id: dc76d2fe0f3e9c327c1d4ca617d94e26c7fae98d $, mysqlnd/mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, SimpleXML/0.1, sockets, imap, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, litespeed, PDO/1.0.4dev, pdo_sqlite/1.0.1, imagick/3.1.2, pdo_mysql/1.0.2, Zend Guard Loader, Zend OPcache/7.0.4-devFE

Apache modules: mod_rewrite, mod_mime, mod_headers, mod_expires

pretext_data: array (
  'status' => '200',
  'id' => '',
  's' => '',
  'c' => '',
  'context' => '',
  'q' => '',
  'm' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/f00e314b004bdbfa240c932b950b9937/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/',
  'req' => '/f00e314b004bdbfa240c932b950b9937/?txpcleantest=1',
)

/home/timoree/public_html/index.php: 
	r4086 (710756ce23f563b56112accbda667023)
/home/timoree/public_html/css.php: 
	r4086 (290a801bc9aef107b59842d8bc09a023)
/home/timoree/public_html/textpattern/css.php: 
	r3189 (f982b66c60b84981d516ea890033a3c7)
/home/timoree/public_html/textpattern/include/import/import_b2.php: 
	r3997 (ba12ae6a6e29c8ab9dc19001ca0e8e68)
/home/timoree/public_html/textpattern/include/import/import_blogger.php: 
	r3901 (71a08d35f05bed6e95703cd6ef3f1032)
/home/timoree/public_html/textpattern/include/import/import_mt.php: 
	r3446 (9939c74ae762ccccc6351387ddb875c2)
/home/timoree/public_html/textpattern/include/import/import_mtdb.php: 
	r3997 (90eed43b5781cad7152a0217d7a2ac76)
/home/timoree/public_html/textpattern/include/import/import_wp.php: 
	r3997 (92c579bab8046e492b7ab6730406abd6)
/home/timoree/public_html/textpattern/include/txp_admin.php: 
	r4092 (dc0d17b1c983c097701062bee013ddac)
/home/timoree/public_html/textpattern/include/txp_article.php: 
	r4270 (e49112760b2bcf939bda85470c6aab1f)
/home/timoree/public_html/textpattern/include/txp_auth.php: 
	r3964 (f106ac932addeea6f754f37b47d172de)
/home/timoree/public_html/textpattern/include/txp_category.php: 
	r4972 (623746c39809e9243e84aee5794285c3)
/home/timoree/public_html/textpattern/include/txp_css.php: 
	r4090 (7b9eb76a53fc9ad5510e424a27b626c2)
/home/timoree/public_html/textpattern/include/txp_diag.php: 
	r4192 (3ea4332aba598e41a3b7e92212de72f9)
/home/timoree/public_html/textpattern/include/txp_discuss.php: 
	r4089 (d02e06ca1cbd8aea2bdefd9cec9467c0)
/home/timoree/public_html/textpattern/include/txp_file.php: 
	r5858 (a470e6e01c7331045ee5f5057fed0ff7)
/home/timoree/public_html/textpattern/include/txp_form.php: 
	r4156 (74ca8aefb860914c6b7e075d492dbb91)
/home/timoree/public_html/textpattern/include/txp_image.php: 
	r5084 (f0e90eed0827aee50783463008179ec8)
/home/timoree/public_html/textpattern/include/txp_import.php: 
	r3997 (b3aab863b203406b358acdf18cd0b7ed)
/home/timoree/public_html/textpattern/include/txp_link.php: 
	r4089 (ae94cf402425f44ca0711370e66e7288)
/home/timoree/public_html/textpattern/include/txp_list.php: 
	r4089 (c46d070b5458c0d05a580b51803cb7e2)
/home/timoree/public_html/textpattern/include/txp_log.php: 
	r4062 (a7c83c892b6a9f35558c7b5675e3ddb7)
/home/timoree/public_html/textpattern/include/txp_page.php: 
	r4873 (3f3f62ac0c661312173d671ec05506d0)
/home/timoree/public_html/textpattern/include/txp_plugin.php: 
	r5882 (a841813b63bec1d4b5b75ffb5881a200)
/home/timoree/public_html/textpattern/include/txp_prefs.php: 
	r4062 (ce782278209ddfa4470ead9d78a05460)
/home/timoree/public_html/textpattern/include/txp_section.php: 
	r5860 (87d0198cdfc904980bd8ae2982cf17c9)
/home/timoree/public_html/textpattern/include/txp_tag.php: 
	r4095 (45b9ab3c7ab3ecbf0d94fa0de1288a31)
/home/timoree/public_html/textpattern/index.php: 
	r5900 (656b164fb40920bcd7203d5b05d3163f)
/home/timoree/public_html/textpattern/jquery.js: 
	unknown (3576a6e73c9dccdbbc4a2cf8ff544ad7)
/home/timoree/public_html/textpattern/lib/IXRClass.php: 
	unknown (aca78e2c650bbdd9ca17ed3e0f4e6006)
/home/timoree/public_html/textpattern/lib/admin_config.php: 
	r3896 (1a3b0257eeebd0c010cfc97640a257dd)
/home/timoree/public_html/textpattern/lib/class.thumb.php: 
	r5753 (fee74810020c56cc1f478ecdbaf30da4)
/home/timoree/public_html/textpattern/lib/classTextile.php: 
	unknown (fc65fe0de6e4c627ab77ff08e60afb6c)
/home/timoree/public_html/textpattern/lib/constants.php: 
	r4060 (bf278b5c526b90e2c2094b3b1981d238)
/home/timoree/public_html/textpattern/lib/taglib.php: 
	r2868 (86c4a02eac06778882ead9844b30cc33)
/home/timoree/public_html/textpattern/lib/txplib_admin.php: 
	r5889 (6fe09c3b4f06c8d603fd01978c7cc6c4)
/home/timoree/public_html/textpattern/lib/txplib_db.php: 
	r3752 (a8942c0c929afd3be8c92bd73a85d86e)
/home/timoree/public_html/textpattern/lib/txplib_forms.php: 
	r4872 (144564171e455893b8c68842af7b7b66)
/home/timoree/public_html/textpattern/lib/txplib_head.php: 
	r3989 (1ed98f05fae11a524d7b1897fbae45d1)
/home/timoree/public_html/textpattern/lib/txplib_html.php: 
	r4163 (e8e93162cc4d6182f5bc73fe0ddf617d)
/home/timoree/public_html/textpattern/lib/txplib_misc.php: 
	r5892 (b94d859cc94cf2e3f58b8f104b55fbfc)
/home/timoree/public_html/textpattern/lib/txplib_publish.php: 
	r5671 (6d7f4610b176b73c4d2a5f658accd3f9)
/home/timoree/public_html/textpattern/lib/txplib_theme.php: 
	r3944 (31eec9c215d07430de2b7f42145a11bc)
/home/timoree/public_html/textpattern/lib/txplib_update.php: 
	r4020 (57a285b9a3549de0c5d621f48be7355b)
/home/timoree/public_html/textpattern/lib/txplib_validator.php: 
	r3802 (424003170e59c520dc416cbf0af13b66)
/home/timoree/public_html/textpattern/lib/txplib_wrapper.php: 
	r2931 (7886343e3154836d717301ac08f9ba3c)
/home/timoree/public_html/textpattern/publish.php: 
	r4461 (89bf49e029c639573606a5509a869ad6)
/home/timoree/public_html/textpattern/publish/atom.php: 
	r4011 (c4055157a4744747205273c762f2ef13)
/home/timoree/public_html/textpattern/publish/comment.php: 
	r4058 (a31272ae2767bae48205609e96124917)
/home/timoree/public_html/textpattern/publish/log.php: 
	r3505 (44fabcd5884fd33c7bc068a366dcc93a)
/home/timoree/public_html/textpattern/publish/rss.php: 
	r4011 (cd09a65a913c7a80054913862f276c2b)
/home/timoree/public_html/textpattern/publish/search.php: 
	r2812 (b7937850ab0bdf4feaa21e48e5aa362e)
/home/timoree/public_html/textpattern/publish/taghandlers.php: 
	r5569 (7bee25bf5847373b7600bc3dd25d8a91)
/home/timoree/public_html/textpattern/textpattern.js: 
	r5004 (f3002dc6889403e1ca67ea63c5fdb8dc)
/home/timoree/public_html/textpattern/theme/classic/classic.php: 
	r4055 (b91499484878c1a6139ebbde44940375)
/home/timoree/public_html/textpattern/update/_to_1.0.0.php: 
	r5875 (9435ee9f8eb6c0d41885214f7503a8e6)
/home/timoree/public_html/textpattern/update/_to_4.0.2.php: 
	r5875 (d5d5e2330f4eb2e17003795d90ddadc3)
/home/timoree/public_html/textpattern/update/_to_4.0.3.php: 
	r4011 (2f7736feb6882fc8358cab3e0e595c4d)
/home/timoree/public_html/textpattern/update/_to_4.0.4.php: 
	r4011 (165d755acb41c7120872910eec114f12)
/home/timoree/public_html/textpattern/update/_to_4.0.5.php: 
	r4011 (bab79d1c2bb9d0fdb98da773e2434639)
/home/timoree/public_html/textpattern/update/_to_4.0.6.php: 
	r4011 (3a323f019b0170f26357fa851b68f37b)
/home/timoree/public_html/textpattern/update/_to_4.0.7.php: 
	r4011 (a48d3e4e077d1341d498a97367bc4233)
/home/timoree/public_html/textpattern/update/_to_4.0.8.php: 
	r3057 (cf91a8e5a56f341d625630f0cddb996e)
/home/timoree/public_html/textpattern/update/_to_4.2.0.php: 
	r4011 (29eab41ee2b29c730f04b29fe81ceeff)
/home/timoree/public_html/textpattern/update/_to_4.3.0.php: 
	r4011 (69789c04be7d027fcf37154adb359b8d)
/home/timoree/public_html/textpattern/update/_to_4.4.0.php: 
	r4011 (47f79ff490ff344eba0f5577e10ee6c3)
/home/timoree/public_html/textpattern/update/_to_4.4.1.php: 
	r4011 (7db179e3c17bd7e0c2587f489ed92964)
/home/timoree/public_html/textpattern/update/_to_4.5.0.php: 
	r5875 (2069082373508aa79edfc894e4f15768)
/home/timoree/public_html/textpattern/update/_update.php: 
	r5900 (988af7b15cedf67a08b0f7d327f20d7b)

------------------------

Last edited by Gallex (2015-10-10 07:41:34)

Offline

#2 2015-10-10 07:55:57

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: cant' save pages and stylesheet

…forms also now in that list. :(

Offline

#3 2015-10-10 10:48:19

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: cant' save pages and stylesheet

Are any errors being thrown? Might be a server module security issue. Try adding these lines to .htaccess:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Edit; also, is there anything in your thread here that might help? Is it the same server/account?

Last edited by gaekwad (2015-10-10 11:20:26)

Offline

#4 2015-10-10 13:02:59

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: cant' save pages and stylesheet

gaekwad wrote #295564:

Are any errors being thrown? Might be a server module security issue. Try adding these lines to .htaccess:

<IfModule mod_security.c>...

Edit; also, is there anything in your thread here that might help? Is it the same server/account?

yes, the same hosting provider! ;)

tried your and stef’s suggestions – didn’t help.

what i noticed: it actually lets me save pages, forms, stylesheets, until i’m trying to put something javascript-involved. like this for example:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="<txp:site_url />js/waypoints.min.js"></script>
<script type="text/javascript" src="<txp:site_url />js/jquery.prettySocial.min.js"></script>
..... 

;)

looks like, the only way here is to talk with the provider. or…?

Offline

#5 2015-10-10 13:04:16

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: cant' save pages and stylesheet

Gallex wrote #295568:

looks like, the only way here is to talk with the provider.

That’s what I thought.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2015-10-10 18:17:45

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,596
Website

Re: cant' save pages and stylesheet

Could it be related to the presence of quotes rather than the javascript itself? I can’t imagine you putting javascript in your css, but you would use quotes there. If it is, maybe check your db charset…


TXP Builders – finely-crafted code, design and txp

Offline

#7 2015-10-12 09:24:19

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: cant' save pages and stylesheet

gaekwad wrote #295564:

Are any errors being thrown? Might be a server module security issue. Try adding these lines to .htaccess:

<IfModule mod_security.c>...

It was ModSecurity module, which needed to turn off in cPanel. problem solved.

but why those lines in .htaccess didn’t help…? did i added them uncorrectly….?

Offline

#8 2015-10-12 23:32:56

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: cant' save pages and stylesheet

Because it could have been Mod_Sec2 – which you can’t turn off via htaccess…. (so I was told)

Last edited by tye (2015-10-12 23:37:26)

Offline

Board footer

Powered by FluxBB