Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-06-25 09:27:07

FireFusion
Member
Registered: 2005-05-10
Posts: 698

4.0.8 to r3235 Upgrade errors

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /home/temp2/public_html/textpattern/lib/txplib_db.php on line 82

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

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='support' in /home/temp2/public_html/textpattern/lib/txplib_db.php on line 82

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /home/temp2/public_html/textpattern/lib/txplib_db.php on line 82

Notice: Undefined variable: gmtoffset in /home/temp2/public_html/textpattern/update/_to_4.2.0.php on line 41
Textpattern version: 4.0.8 (r3235)
Last Update: 2009-06-25 09:25:05/2009-06-25 09:24:53
Document root: /home/temp2/public_html
$path_to_site: /home/temp2/public_html
Textpattern path: /home/temp2/public_html/textpattern
Permanent link mode: title_only
Temporary directory path: /tmp
Site URL: hidden
PHP version: 5.2.9
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Los_Angeles
Server Local Time: 2009-06-25 02:27:31
DST enabled?: 1
auto_dst: 0
Time Zone:  (+0)
MySQL: 5.0.81-community
Locale: en_GB.UTF-8
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9
Apache version: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.18-92.1.18.el5
Active plugins: rvm_privileged-0.3, smd_calendar-0.42b, smd_parent-0.1, smd_if-0.8, zem_nth-0.1, smd_gallery-0.51, adi_variables-0.1, rah_sitemap-0.4, rvm_css-0.4, ebl-image-edit-2.0, stm_article_order-0.2, rah_external_output-0.4, smd_lib-0.36, hak_tinymce-0.8.2, jbx_multiple_image_upload-0.3c
Admin-side theme: classic 4.0.8

Pre-flight check: 
------------------------
/home/temp2/public_html/textpattern/setup/ still exists
Some Textpattern files have been modified: 
	/home/temp2/public_html/textpattern/include/txp_preview.php, 
	/home/temp2/public_html/textpattern/lib/IXRClass.php, 
	/home/temp2/public_html/textpattern/lib/classTextile.php, 
	/home/temp2/public_html/textpattern/lib/taglib.php, 
	/home/temp2/public_html/textpattern/lib/txplib_admin.php, 
	/home/temp2/public_html/textpattern/lib/txplib_update.php, 
	/home/temp2/public_html/textpattern/lib/txplib_wrapper.php, 
	/home/temp2/public_html/textpattern/publish/atom.php, 
	/home/temp2/public_html/textpattern/publish/rss.php, 
	/home/temp2/public_html/textpattern/publish/search.php, 
	/home/temp2/public_html/rpc/index.php, 
	/home/temp2/public_html/rpc/TXP_RPCServer.php, 
	/home/temp2/public_html/textpattern/update/_to_1.0.0.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.2.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.3.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.4.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.5.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.6.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.7.php, 
	/home/temp2/public_html/textpattern/update/_to_4.0.8.php
You are running in-development files on a live server: 
	/home/temp2/public_html/index.php, 
	/home/temp2/public_html/textpattern/css.php, 
	/home/temp2/public_html/textpattern/include/txp_admin.php, 
	/home/temp2/public_html/textpattern/include/txp_article.php, 
	/home/temp2/public_html/textpattern/include/txp_auth.php, 
	/home/temp2/public_html/textpattern/include/txp_category.php, 
	/home/temp2/public_html/textpattern/include/txp_css.php, 
	/home/temp2/public_html/textpattern/include/txp_diag.php, 
	/home/temp2/public_html/textpattern/include/txp_discuss.php, 
	/home/temp2/public_html/textpattern/include/txp_file.php, 
	/home/temp2/public_html/textpattern/include/txp_form.php, 
	/home/temp2/public_html/textpattern/include/txp_image.php, 
	/home/temp2/public_html/textpattern/include/txp_import.php, 
	/home/temp2/public_html/textpattern/include/txp_link.php, 
	/home/temp2/public_html/textpattern/include/txp_list.php, 
	/home/temp2/public_html/textpattern/include/txp_log.php, 
	/home/temp2/public_html/textpattern/include/txp_page.php, 
	/home/temp2/public_html/textpattern/include/txp_plugin.php, 
	/home/temp2/public_html/textpattern/include/txp_prefs.php, 
	/home/temp2/public_html/textpattern/include/txp_section.php, 
	/home/temp2/public_html/textpattern/include/txp_tag.php, 
	/home/temp2/public_html/textpattern/index.php, 
	/home/temp2/public_html/textpattern/lib/admin_config.php, 
	/home/temp2/public_html/textpattern/lib/class.thumb.php, 
	/home/temp2/public_html/textpattern/lib/constants.php, 
	/home/temp2/public_html/textpattern/lib/txplib_db.php, 
	/home/temp2/public_html/textpattern/lib/txplib_forms.php, 
	/home/temp2/public_html/textpattern/lib/txplib_head.php, 
	/home/temp2/public_html/textpattern/lib/txplib_html.php, 
	/home/temp2/public_html/textpattern/lib/txplib_misc.php, 
	/home/temp2/public_html/textpattern/publish.php, 
	/home/temp2/public_html/textpattern/publish/comment.php, 
	/home/temp2/public_html/textpattern/publish/log.php, 
	/home/temp2/public_html/textpattern/publish/taghandlers.php, 
	/home/temp2/public_html/textpattern/update/_update.php
------------------------

.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 ^sitemap.xml?$ ?rah_sitemap=sitemap
	RewriteRule ^ical?$ ?rah_external_output=ical
	RewriteRule ^events-rss?$ ?rah_external_output=EventsRSS

	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

php_flag zlib.output_compression On 
php_value zlib.output_compression_level 5


# cache images and flash content for one month
<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>

# cache text, css, and javascript files for one week
<FilesMatch ".(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
------------------------

Last edited by FireFusion (2009-06-25 09:28:30)

Offline

#2 2009-06-25 09:37:03

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: 4.0.8 to r3235 Upgrade errors

The timezone in the prefs was blank. I set in to “London” and turned auto_dst to on.

Events that were in my “what’s on today” list have disappeared and moved to yesterday.

Previously the timezone was set to GMT 0

Last edited by FireFusion (2009-06-25 09:42:02)

Offline

#3 2009-06-25 09:58:36

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: 4.0.8 to r3235 Upgrade errors

Also setting the “Default admin tab” under the advanced options isn’t working for custom tabs made by plugins.

Offline

#4 2009-06-25 09:59:38

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

Re: 4.0.8 to r3235 Upgrade errors

FireFusion wrote:

Events that were in my “what’s on today” list have disappeared and moved to yesterday.

That might be (read: is 99.9% likely) a problem with the current smd_calendar. I’ve had to kludge the dates to get round the timezone stuff. Wet has awesomely coded all that out into a nice package inside TXP now, so the time warping code can be removed from smd_calendar in the run up to TXP 4.2.0.

It’ll take me a while to refactor the code, as I also have a whole load more things to fix/implement, so give me a bit of time to sort it out. In the meantime, I’ll put you on the list to receive betas.


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

#5 2009-06-25 10:28:53

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

Re: 4.0.8 to r3235 Upgrade errors

FireFusion wrote:

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

This is expected behaviour for the very first login after an upgrade. Every further move in the admin side must not throw any error message.

Also setting the “Default admin tab” under the advanced options isn’t working for custom tabs made by plugins.

They should be visible, and all plugins I’ve tested so far do so. Which plugin fails to show up?

Offline

#6 2009-06-25 11:00:35

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: 4.0.8 to r3235 Upgrade errors

It’s very strange because it seems to work at first. I had it set to a custom plugin i’m building. then i removed this line from my custom plugin….

register_tab("content", 'dashboard', 'Dashboard');

Since then it just defaulted to the writetab. Now i can only set it to Textpatterns default tabs. It ignores adi_variables, hak_tinymce, jbx_multiple_image_upload, rah_external_output and rah_sitemap. Even if i disable my custom plugin.

adi_variables plugin is broken btw.

Thank Bloke for the Beta sign up.

Offline

#7 2009-06-25 11:28:15

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

Re: 4.0.8 to r3235 Upgrade errors

FireFusion wrote:

It ignores adi_variables, hak_tinymce, jbx_multiple_image_upload, rah_external_output and rah_sitemap.

Tried with rah_sitemap and jbx_multiple_image_upload just now. Works for me.

Offline

#8 2009-06-25 11:28:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

Re: 4.0.8 to r3235 Upgrade errors

FireFusion wrote:

i removed this line from my custom plugin…. register_tab(“content”, ‘dashboard’, ‘Dashboard’);

Without a tab, your plugin won’t be selectable!

No idea about the other plugins, perhaps report them on their respective threads with some diagnosis output to back up your findings? It might be the priv levels or the way the tab is created in the plugin, though on first glance they all seem ok.


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

#9 2009-06-25 12:21:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: 4.0.8 to r3235 Upgrade errors

Bloke wrote:

No idea about the other plugins, perhaps report them on their respective threads with some diagnosis output to back up your findings?

I support only stable TXP releases. The plugins should work tho.

Last edited by Gocom (2009-06-25 12:22:27)

Offline

Board footer

Powered by FluxBB