Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-10 09:27:47

toblatwerdna
New Member
Registered: 2012-09-10
Posts: 8

Cannot save or create new Style

I have 4.5 installed. Everything looks fine. Diagnostics = All checks passed! But cannot save, copy or create style. Page, forms etc all good. Green save banner appears in confirmation foot but not in Styles it just defaults to site 404 error page. I have done all the obvious stuff like reinstallation. It’s on a server that I have many other sites with txp on but not this latest version, this is the first time I’ve used this version 4.5.

Can anybody assist me please.

Offline

#2 2012-09-10 12:25:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Cannot save or create new Style

Hi and welcome to the forum.

Can you please post your diagnostics?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-09-10 12:46:17

toblatwerdna
New Member
Registered: 2012-09-10
Posts: 8

Re: Cannot save or create new Style

Hi Colak

Thank you for your attention. Please see below for diagnostics.

Textpattern version: 4.5.0 (r4079)
Last update: 2012-09-07 15:25:24/2012-09-10 09:08:41
Document root: /home/quickmix/public_html
$path_to_site: /home/quickmix/public_html
Textpattern path: /home/quickmix/public_html/textpattern
Permanent link mode: title_only
Temporary directory path: /home/quickmix/public_html/textpattern/tmp
Site URL: quickmixconcretebristol.co.uk
PHP version: 5.3.10
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/London
Server local time: 2012-09-10 13:44:54
DST enabled?: 0
Automatically adjust DST setting?: 0
Time zone:  (+3600)
MySQL: 5.1.63-cll
Locale: en_GB.UTF-8
Server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32-320.4.1.lve1.1.4.el6.x86_64
Admin-side theme: classic 4.5.0

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<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

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

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

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.3.10, date/5.3.10, ereg, libxml, openssl, pcre, sqlite3/0.7-dev, zlib/1.1, bcmath, calendar, ctype, curl, dom/20031129, hash/1.0, filter/0.11.0, ftp, gd, gettext, SPL/0.2, iconv, session, json/1.2.1, mbstring, mcrypt, mysql/1.0, mysqli/0.1, standard/5.3.10, Phar/2.0.1, posix, pspell, Reflection/$Revision: 321634 $, imap, SimpleXML/0.1, soap, sockets, exif/1.4 $Id: exif.c 321634 2012-01-01 13:15:04Z felipe $, tokenizer/0.1, xml, xmlreader/0.1, xmlrpc/0.51, xmlwriter/0.1, xsl/0.1, zip/1.9.1, cgi-fcgi, timezonedb, PDO/1.0.4dev, pdo_sqlite/1.0.1, SQLite/2.0-dev, pdo_mysql/1.0.2, ionCube Loader, Zend Guard Loader

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

/home/quickmix/public_html/index.php: 
	r4003 (83b3d84e18000d73a3868eebed42549d)
/home/quickmix/public_html/css.php: 
	r4003 (3d8dc71d19e241be6f0224c956cb54d4)
/home/quickmix/public_html/textpattern/css.php: 
	r3189 (0bcb8148c4f27c799d836e1a1ee8f92e)
/home/quickmix/public_html/textpattern/include/import/import_b2.php: 
	r3997 (257e41cf39c4599890049d900e8f447d)
/home/quickmix/public_html/textpattern/include/import/import_blogger.php: 
	r3901 (1f7c9feeeca090e6d5dd69e9f2030a2e)
/home/quickmix/public_html/textpattern/include/import/import_mt.php: 
	r3446 (85d61d80ff532bf8e7cc786a947cf79f)
/home/quickmix/public_html/textpattern/include/import/import_mtdb.php: 
	r3997 (731b3fc9b32bb1d158f6e497cee9d120)
/home/quickmix/public_html/textpattern/include/import/import_wp.php: 
	r3997 (ab61352303b725486b32ee7c435d27f8)
/home/quickmix/public_html/textpattern/include/txp_admin.php: 
	r4066 (548138fef3d9d1a0ab2e1c764c699d34)
/home/quickmix/public_html/textpattern/include/txp_article.php: 
	r4060 (f1589a393b1005c5aba517f12b550911)
/home/quickmix/public_html/textpattern/include/txp_auth.php: 
	r3964 (4cba26952a2b95ba72249f933eab8733)
/home/quickmix/public_html/textpattern/include/txp_category.php: 
	r4012 (6d041f5b2fada4865a93fb21991abe87)
/home/quickmix/public_html/textpattern/include/txp_css.php: 
	r4023 (88bb60ef36bed77bbdd992f0943e6af8)
/home/quickmix/public_html/textpattern/include/txp_diag.php: 
	r4033 (dc4997d23c9b3c7f396cb29d5fbcafad)
/home/quickmix/public_html/textpattern/include/txp_discuss.php: 
	r4062 (7ecac5ba37927de26f75e5a57ccede9e)
/home/quickmix/public_html/textpattern/include/txp_file.php: 
	r4062 (c0fd1b656549d690d2a573139c8ecb1e)
/home/quickmix/public_html/textpattern/include/txp_form.php: 
	r4049 (576c5dcf7b6f3eb035eb796d78821383)
/home/quickmix/public_html/textpattern/include/txp_image.php: 
	r4062 (92ed115ef7a09c5dd87e33ba3c624576)
/home/quickmix/public_html/textpattern/include/txp_import.php: 
	r3997 (29980c2dde5424dd0198bd659fcf7d52)
/home/quickmix/public_html/textpattern/include/txp_link.php: 
	r4062 (9f73364d7b246ca30c2a6a0d7f0aee00)
/home/quickmix/public_html/textpattern/include/txp_list.php: 
	r4062 (325c990583771123eac1f2dd4ca62b74)
/home/quickmix/public_html/textpattern/include/txp_log.php: 
	r4062 (35e453ae72b77a2e7fcd2e836b663b37)
/home/quickmix/public_html/textpattern/include/txp_page.php: 
	r4023 (b82c872eac3ce9941cf197cfce1a33d8)
/home/quickmix/public_html/textpattern/include/txp_plugin.php: 
	r4062 (3f62c02ee114ea4b7cd2e3669c10a94e)
/home/quickmix/public_html/textpattern/include/txp_prefs.php: 
	r4062 (34be7810755124231f83bfb1b977500b)
/home/quickmix/public_html/textpattern/include/txp_section.php: 
	r4062 (2a245f761a76fd6d69f7159a910c3d1f)
/home/quickmix/public_html/textpattern/include/txp_tag.php: 
	r3997 (ed3861e7787a3fbb0cd851377f962b91)
/home/quickmix/public_html/textpattern/index.php: 
	r4077 (44444cf6e98822924f0525093688d280)
/home/quickmix/public_html/textpattern/jquery.js: 
	unknown (b8d64d0bc142b3f670cc0611b0aebcae)
/home/quickmix/public_html/textpattern/lib/IXRClass.php: 
	r3394 (7910d17140c7453646bfb60853da9257)
/home/quickmix/public_html/textpattern/lib/admin_config.php: 
	r3896 (25d9147a4c0bcd6352677449fd8e929d)
/home/quickmix/public_html/textpattern/lib/class.thumb.php: 
	r3733 (c2d340fcf48be755e923d0cdfe480324)
/home/quickmix/public_html/textpattern/lib/classTextile.php: 
	r4067 (7980f30a5357ccf9ee228547cbeaea7a)
/home/quickmix/public_html/textpattern/lib/constants.php: 
	r4060 (710bbccbe9950c810ac7fe5e0321ceca)
/home/quickmix/public_html/textpattern/lib/taglib.php: 
	r2868 (fbd98e5db242cf5ce487f3e13889ac67)
/home/quickmix/public_html/textpattern/lib/txplib_admin.php: 
	r3818 (a7d9cab58bbae5624f14deb683eaf78f)
/home/quickmix/public_html/textpattern/lib/txplib_db.php: 
	r3752 (665fdc7a649d7faf5f32c28926f3a1c6)
/home/quickmix/public_html/textpattern/lib/txplib_forms.php: 
	r3852 (3f67528249d25dd99621575b10c969b3)
/home/quickmix/public_html/textpattern/lib/txplib_head.php: 
	r3989 (c98cfb00a1ad2ff92263077cba897ec1)
/home/quickmix/public_html/textpattern/lib/txplib_html.php: 
	r3993 (273260a674318cb77aa4f2da50c60265)
/home/quickmix/public_html/textpattern/lib/txplib_misc.php: 
	r4070 (3d35ce2c7927bd5dfe7b8f6ae5274fbc)
/home/quickmix/public_html/textpattern/lib/txplib_publish.php: 
	r4079 (7d0a81148afe68de832395fd374b51a2)
/home/quickmix/public_html/textpattern/lib/txplib_theme.php: 
	r3944 (677bd2a6278468e90ade095ac070f945)
/home/quickmix/public_html/textpattern/lib/txplib_update.php: 
	r4020 (fb83b0468e2faad17297755782c309bc)
/home/quickmix/public_html/textpattern/lib/txplib_validator.php: 
	r3802 (826121c75fb2093544f32da029dfcb51)
/home/quickmix/public_html/textpattern/lib/txplib_wrapper.php: 
	r2931 (1ce782826e80cc08a52c8057a3c9275b)
/home/quickmix/public_html/textpattern/publish.php: 
	r4059 (167a36cf168fcb6d5addf455d914e883)
/home/quickmix/public_html/textpattern/publish/atom.php: 
	r4011 (3aa2038c00cdc2346aad7f6d0ce6783b)
/home/quickmix/public_html/textpattern/publish/comment.php: 
	r4058 (7a2425512d573b72246947ec550dd53a)
/home/quickmix/public_html/textpattern/publish/log.php: 
	r3505 (1d9be1b8541703827c35b0eb9bf32136)
/home/quickmix/public_html/textpattern/publish/rss.php: 
	r4011 (a8c419328af1e8e271503e5a9542861a)
/home/quickmix/public_html/textpattern/publish/search.php: 
	r2812 (41a43955b9c52c355b92c268d514d96c)
/home/quickmix/public_html/textpattern/publish/taghandlers.php: 
	r4058 (56089416cbe687e47529b48e33e3541b)
/home/quickmix/public_html/textpattern/textpattern.js: 
	r4057 (14f5093e05dc42d6603b4e5b11a1949b)
/home/quickmix/public_html/textpattern/theme/classic/classic.php: 
	r4055 (9a898d7cd08770ce860df388bfdaf9af)
/home/quickmix/public_html/textpattern/update/_to_1.0.0.php: 
	r4011 (61c23728dc88dee19a9f81687aca8976)
/home/quickmix/public_html/textpattern/update/_to_4.0.2.php: 
	r4011 (673b0511842a171129a1a39cd3651a45)
/home/quickmix/public_html/textpattern/update/_to_4.0.3.php: 
	r4011 (11d4e8b0fa5f551b20c4204d6fca7293)
/home/quickmix/public_html/textpattern/update/_to_4.0.4.php: 
	r4011 (ad561de6a3ab1e3f4790b1d988399a7b)
/home/quickmix/public_html/textpattern/update/_to_4.0.5.php: 
	r4011 (f4282575bafca4c16fc48095d14f00aa)
/home/quickmix/public_html/textpattern/update/_to_4.0.6.php: 
	r4011 (9ed745de59151f6d4923d61b63aff26f)
/home/quickmix/public_html/textpattern/update/_to_4.0.7.php: 
	r4011 (139d4837e96b966ab435dcba7da4a54b)
/home/quickmix/public_html/textpattern/update/_to_4.0.8.php: 
	r3057 (eefe77b43144a63037c0de419ed7fc50)
/home/quickmix/public_html/textpattern/update/_to_4.2.0.php: 
	r4011 (98ab6c9777c1aa8139dc0cfea2d68536)
/home/quickmix/public_html/textpattern/update/_to_4.3.0.php: 
	r4011 (a89d86afd02b152b8f27b145097fc890)
/home/quickmix/public_html/textpattern/update/_to_4.4.0.php: 
	r4011 (732705504c6cf268916aa8a839110b4b)
/home/quickmix/public_html/textpattern/update/_to_4.4.1.php: 
	r4011 (30bffde3b16c53385dc52c2d79ddafc9)
/home/quickmix/public_html/textpattern/update/_to_4.5.0.php: 
	r4020 (8ec49225e7970f2c01e539d712d1b61b)
/home/quickmix/public_html/textpattern/update/_update.php: 
	r4077 (fa755154fc10214ca4f184926ab08284)

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

Offline

#4 2012-09-11 11:32:21

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

Re: Cannot save or create new Style

Just bumping so this here remains among the recent topics.


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

Offline

#5 2012-09-11 11:34:55

toblatwerdna
New Member
Registered: 2012-09-10
Posts: 8

Re: Cannot save or create new Style

Is anyone experiencing the same

Offline

#6 2012-09-11 13:39:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Cannot save or create new Style

your diagnostics seem fine to me. Maybe one of the devs will offer some light.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2012-09-12 00:12:06

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

Re: Cannot save or create new Style

Can you create a form?

Offline

#8 2012-09-12 05:35:56

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Cannot save or create new Style

Can you please add this lines to the .htaccess file residing in your site root:

ErrorDocument 403 "TXP: Access not allowed" 
ErrorDocument 500 "TXP: Script crashed" 

Then try to save a page once more and report back with the results.

Offline

#9 2012-09-12 10:04:06

toblatwerdna
New Member
Registered: 2012-09-10
Posts: 8

Re: Cannot save or create new Style

Thank you very much. Do you know why I had to do that? Was it particular to my hosting environment. Having asked that I set this up on a local Mamp server.

The .htaccess file looks like this now:

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<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

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

ErrorDocument 403 "TXP: Access not allowed" 
ErrorDocument 500 "TXP: Script crashed"

Last edited by wet (2012-09-12 11:15:52)

Offline

#10 2012-09-12 10:45:58

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: Cannot save or create new Style

Hi

I think wet asked you to add those lines on htaccess (online and not on mamp) to try to figure out where the problem could come from.

Cheers

Offline

#11 2012-09-12 11:01:27

toblatwerdna
New Member
Registered: 2012-09-10
Posts: 8

Re: Cannot save or create new Style

Installed and working … thanks

http://www.bristolwebdesigner.com/textpattern-4.5.0/

Offline

#12 2012-09-12 11:29:17

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Cannot save or create new Style

This symptom usually stems from security measures at your web host, ranging from simple password-protected directories to mod_security filters.

It goes like this:

  1. You post a new style/page/…
  2. The security measure kicks in and produces a response with an error code like 403 (Access denied) or 500 (Internal server error)
  3. The HTTP server wants to render its default error page, e.g. /error_500.html
  4. There is no such file at your web root
  5. Textpattern is run to render the requested url “/error_500.html” and cannot find any content for it either, proceeds with its own 404 page

Offline

Board footer

Powered by FluxBB