Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-02 20:17:34

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Editing pages stuck in HTML

I am very non-technical, but not a knucklehead generally, and new to this forum. In the last week or so when I try to edit pages for our website they come up as HTML, not the semi-rendered page with images and tool bar. My web hosts say it’s not them. I am lazy about software updates, not sure if that is it, and am on a Macbook. We are at a critical time of year, so help would be greatly appreciated.\

Thanks!

Chris

Offline

#2 2012-09-02 22:29:57

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

Re: Editing pages stuck in HTML

Sorry, is the problem on the admin side or on the public one? Is it really HTML you see, like

<div class="box"><p>This is <span>HTML</span></p></div>

or is it just unstyled content?


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

Offline

#3 2012-09-02 22:39:52

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

I checked with GreenGeeks who said it wasn’t their side. Not sure if that means Admin side. The editing pages look like this now:

<h1><em>Living Lightly</em><img class="right" src="/images/150.jpg" alt="Living Lightly Lotus" width="196" height="129" align="right" /></h1>
<h2>Meditation and Modern Buddhism<br /></h2>
<p><strong>Monday, Sept 17 &nbsp;&nbsp;&nbsp; 7:00-8:30pm</strong><br />

it used to show up similar to the page, with any images, and with tool bar for header, paragraph etc.

Thanks!

Last edited by ruud (2012-09-02 22:53:52)

Offline

#4 2012-09-02 22:41:59

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

Sorry, perhaps this is clearer; The page is still appearing similarly, but the section called ‘body’ only has HTML in it.

Offline

#5 2012-09-02 23:00:29

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

Re: Editing pages stuck in HTML

A quick googelation shows that your website’s (http://www.meditateinolympia.org/) public facing side is displaying quite OK.

So you might be talking about Textpattern’s admin side: Are you on the Write panel when you see the issue? Are there three upright tabs to the right side of the HTML section? If so: click the upper one, and you’re back in editing mode. If not please describe any further, make a screenshot, post a link, etc.


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

Offline

#6 2012-09-02 23:32:18

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

I am on the Write panel. The 3 tabs are not there, and I know the tabs you are talking about. I have to put it in on HTML tab when adding paypal buttons. I have a screen shot, but I don’t see how to post it here.

Offline

#7 2012-09-03 00:21:18

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

Re: Editing pages stuck in HTML

clownchef wrote:

I have a screen shot, but I don’t see how to post it here.

You need to upload it to an image hosting service like tinypic, imagebin, imageshack. Then post the link here that you get there.

My assumption probably won’t be right cause the HTML tab doesn’t behave sticky (i.e. the Write panel is usually back to normal text editing mode next time after closing it), but anyway: Have you or somebody with access to the Preferences panel switched admin side theme? There are themes that hide these upright tabs, and-who knows-maybe there’s an additional technical fault that leads to this sticky-tab behavior? Look under Preferences > Advanced > Admin-side theme. Both Classic and Remora themes show the upright tabs, Hive and Yellowaluminium (amongs others) hide them.


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

Offline

#8 2012-09-03 00:49:46

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

Thanks very much, by the way..

Here’s a screen shot link for forums [IMG]http://i48.tinypic.com/mls5rp.png[/IMG]

Nobody has changed anything in Admin

I’ve gone to Preferences > Advanced There is no ‘Admin-side theme’

I have a style section, however, and it says:

Style
Use raw editing mode by default? No Yes (we have YES, checked)

The help button says:
Preferences: Edit raw css by default
This selects the default method of editing css (presentation > style). If set to yes, you will see one large text-area with all the content of the css by default. If set to no, you will see the css-editor by default.

Should we check NO?

Offline

#9 2012-09-03 01:10:55

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

Re: Editing pages stuck in HTML

The link there, top left on the screenshot, “Toggle editor”, just click it.
You described it quite well, what you expected to see, BTW, now that I could have a look at the screenshot. It’s just that I didn’t see hak_tinymce in years (the plugin that integrates the WYSIWYG editor).


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

Offline

#10 2012-09-03 02:42:46

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

Thanks, sadly, that isn’t it. Yes, I believe we are using a relic. It works for us just fine…until now.

Is this relevant?:

Some Textpattern files have been modified:
/home/olympia/public_html/index.php,
/home/olympia/public_html/textpattern/lib/txplib_db.php ?
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: posix_getpwuid, posix_getpwnam 

When GreenGeeks was in there yesterday checking for me they said:
I’ve changed version of php to 5.2.17 for your account.
It looks like your website didn’t work with php 5.3.

Here is diagnostics if it helps:

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-01-23 21:26:16/2010-08-14 12:44:36
Document root: /home/olympia/public_html
$path_to_site: /home/olympia/public_html
Textpattern path: /home/olympia/public_html/textpattern
Permanent link mode: title_only
Temporary directory path: /tmp
Site URL: www.meditateinolympia.org
PHP version: 5.2.17
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2012-09-02 21:36:52
MySQL: 5.1.63-cll
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi
RFC 2616 headers: 0
Server OS: Linux 2.6.18-408.8.2.el5.lve0.8.61.3
Active plugins: zem_paginate-0.1m, chh_if_data-0.10, rvm_privileged-0.3, rah_sitemap-0.1.2, rvm_css-0.4, zem_event-0.3.5m, asy_jpcache-0.9.8m, hak_tinymce-0.7.4, stm_article_order-0.2, adi_variables-0.1, ebl-image-edit-1.0

Pre-flight check: 
------------------------
Some Textpattern files have been modified: 
	/home/olympia/public_html/index.php, 
	/home/olympia/public_html/textpattern/lib/txplib_db.php
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: posix_getpwuid, posix_getpwnam
------------------------

.htaccess file contents: 
------------------------
AddHandler php5_2-wrap .php
# DirectoryIndex index.php index.html
SetEnv PHPRC /home/olympia/public_html/php.ini
#Options +FollowSymLinks
#Options -Indexes

### Redirections ###

## Redirect 301 /old/path/tofile/ http://mysite.org/newpath

RewriteCond %{HTTP_HOST} ^meditateinsouthsound.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.meditateinsouthsound.org$
RewriteRule ^/?$ "http\:\/\/www\.meditateinolympia\.org\.\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^meditateinshelton.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.meditateinshelton.org$
RewriteRule ^/?$ "http\:\/\/www\.meditateinolympia\.org\/branch\-y" [R=301,L]

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteRule ^sitemap.xml?$ ?rah_sitemap=sitemap
	#RewriteBase /relative/web/path/

	#Remove www.
	#RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
	#RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

	#Add www.
	#RewriteCond %{HTTP_HOST} ^example.com$
	#RewriteRule (.*) http://www.example.com$1 [R=301]

	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

### If Password protected directories no longer work after installing Textpattern uncomment the following two lines ###

#ErrorDocument 401 /error.html 
#ErrorDocument 403 /error.html


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

{Edited to make annotations distinguishable from diagnostics output. – Uli}

Last edited by uli (2012-09-03 11:06:24)

Offline

#11 2012-09-03 11:08:45

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

Re: Editing pages stuck in HTML

You could ask in the hak_tinymce topic whether your version of the plugin (see Admin > Plugins) is compatible with PHP 5.2.17. Add a link back here, there might be other important details in the diagnostics.


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

Offline

#12 2012-09-03 18:19:44

clownchef
New Member
Registered: 2012-09-02
Posts: 8

Re: Editing pages stuck in HTML

Thank you~ I have done so and am in contact, and getting closer I think! I am bowled over by the kindness I found here.

Offline

Board footer

Powered by FluxBB