Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2011-01-31 23:15:10

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

If you follow these instructions, you should be safe :)

Edit: it should be OK to go from 4.0.5 to 4.3.0.

Last edited by els (2011-01-31 23:15:50)

Offline

#38 2011-01-31 23:38:35

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Thank you, Els, i did (as always and earlier today) – got a long list of errors upon login (bottom of this post), then a redirect to the login screen (where i just had logged in) – 2nd time login works, no errors,
now let’s check front end…

THE ERROR IS STILL THE SAME. Again, article tags within enclosing txp:if_individual_article tags do not work.

Here’s the list of errors upon first login after upgrade. Maybe that gets us insights…


Warning: Unknown column ‘user_name’ in ‘where clause’ select name, val from txp_prefs where prefs_id=1 AND user_name=’‘ in /home/kliklak/public_html/neumund/textpattern/lib/txplib_db.php on line 89

Notice: Undefined variable: language in /home/kliklak/public_html/neumund/textpattern/index.php on line 70

Warning: Cannot modify header information – headers already sent by (output started at /home/kliklak/public_html/neumund/textpattern/lib/txplib_db.php:89) in /home/kliklak/public_html/neumund/textpattern/include/txp_auth.php on line 195

Warning: Cannot modify header information – headers already sent by (output started at /home/kliklak/public_html/neumund/textpattern/lib/txplib_db.php:89) in /home/kliklak/public_html/neumund/textpattern/include/txp_auth.php on line 202

Warning: Unknown column ‘user_name’ in ‘where clause’ select name, val from txp_prefs where prefs_id=1 AND user_name=‘jayrope’ in /home/kliklak/public_html/neumund/textpattern/lib/txplib_db.php on line 89

Warning: Unknown column ‘user_name’ in ‘where clause’ select name, val from txp_prefs where prefs_id=1 AND user_name=’‘ in /home/kliklak/public_html/neumund/textpattern/lib/txplib_db.php on line 89

Notice: Undefined variable: gmtoffset in /home/kliklak/public_html/neumund/textpattern/update/_to_4.2.0.php on line 41

Last edited by jayrope (2011-01-31 23:43:11)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#39 2011-01-31 23:51:57

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Here’s my diagnostics in low resolution after upgrade, while the reason of this thread remains:

Textpattern version: 4.3.0 (r3451)
Last Update: 2011-01-31 23:33:42/2011-01-31 23:27:38
Document root: /home/kliklak/public_html/neumund
$path_to_site: /home/kliklak/public_html/neumund
Textpattern path: /home/kliklak/public_html/neumund/textpattern
Permanent link mode: title_only
open_basedir: /home/kliklak/:/usr/lib/php:/usr/local/lib/php:/tmp
Temporary directory path: /tmp
Site URL: neumund.kliklak.net
PHP version: 4.4.9
GD Image Library: bundled (2.0.28 compatible); supported formats: GIF, JPG, PNG.
Server TZ: -
Server Local Time: 2011-01-31 17:50:46
DST enabled?: 0
Automatically adjust DST setting?:
Time Zone: GMT+01.0 (3600)
MySQL: 4.1.22-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.41 (Unix) mod_deflate/1.0.21 PHP/5.2.3 mod_fastcgi/2.4.2 mod_jk/1.2.23 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.9 FrontPage/5.0.2.2634a mod_ssl/2.8.31 OpenSSL/0.9.7a
Apache version: Apache/1.3.41 (Unix) mod_deflate/1.0.21 PHP/5.2.3 mod_fastcgi/2.4.2 mod_jk/1.2.23 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.9 FrontPage/5.0.2.2634a mod_ssl/2.8.31 OpenSSL/0.9.7a
PHP Server API: apache
RFC 2616 headers:
Server OS: Linux 2.6.19.7-opteron-v5-p1-hugemem
Admin-side theme: classic 4.3.0

Pre-flight check:
————————————
File directory path is not writable: /home/kliklak/public_html/neumund/files
/home/kliklak/public_html/neumund/textpattern/setup/ still exists
————————————

.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

————————————


A hole turned upside down is a dome, when there’s also gravity.

Offline

#40 2011-02-01 00:01:01

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

If the errors went away after logging out and in again, I don’t think they are important.

Here is something that might give someone a clue: on this page there is this:

Parse error: syntax error, unexpected '<' in /home/kliklak/public_html/neumund/textpattern/publish/taghandlers.php(3737) : eval()'d code on line 1

Is Jeff still around?

Offline

#41 2011-02-01 00:03:42

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Can you check your preference setting for ‘allow php in pages’?

Offline

#42 2011-02-01 00:11:41

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Els,

the error you describe i think is surely related to certain tag attributes common in 4.0.5., which are now deprecated or not invalid.
I had worked on this during the day and could get rid of all of them, but still not solve the individual article mystery…

The pre-flight check errors are easy to get rid of,
I did it befor, but still have the bug, that is the reason for this thread…

Who’s Jeff? I haven’t been here for quite some time, it’s good to see a lot of former txp users active.

I am thinking to go back to 4.0.5 again and work on design. Then maybe try upgrades sequentially, from version to version. It’s just dreadful to having to download each and every version-relevant file by hand. I didn’t try Firebug for downloading complete trees yet, besides that, has anyone got a suggestion how to do this on a mac with osx 10.5.8? I’d get all of those older installers just for safety…


A hole turned upside down is a dome, when there’s also gravity.

Offline

#43 2011-02-01 00:12:37

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Jane, did you see my previous post?

Offline

#44 2011-02-01 00:15:40

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

jayrope wrote:

Who’s Jeff?

Jeff is jsoo :)

Offline

#45 2011-02-01 00:15:40

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Els,
php in pages and articles was active, as i use it in some forms.
but even after i switched it off now the page only returns those relevant errors while the basic problem remains (this is current state right now, i leave it like that for now.)
On a side note i know exactly, which errors are causing this, it’s a typo between “ and ‘ and things like that. easy to fix, but only valid for the sidebar menus to my knowledge.

Jeff! Thanx Els :) My real name is Janek.

Last edited by jayrope (2011-02-01 00:18:34)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#46 2011-02-01 00:20:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

jayrope wrote:

php in pages and articles was active, as i use it in some forms.

And you’re only using the txp:php tags, not raw php?

Offline

#47 2011-02-01 00:22:51

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Yes, i only use the txp:php tags. No raw PHP.
The errors only come up, when you click links in the sidebar navigation… that’s hwre the PH is active from a form.

EDIT:Just corrected error in PHP in form, now turned PHP back on in pages and articles: Related errors are gone. Individual articles still not appearing.

Last edited by jayrope (2011-02-01 00:30:07)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#48 2011-02-01 00:30:22

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

What a riddle…! Janek, one last try: can you post the actual code on your page? I just don’t see anything in the tag trace.

Offline

Board footer

Powered by FluxBB