Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-02-25 19:47:24

snkhan
Member
From: Leicester, UK.
Registered: 2004-07-20
Posts: 57
Website

Upgrading Woes

Hi there,

I am in the process of upgrading my friend’s install of TP. I uploaded the new files, replacing the old ones where necessary, but get several errors:

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/lib/txplib_db.php on line 85

Notice: Undefined variable: language in @/nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/index.php on line 64@

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/lib/txplib_db.php:85) in /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/include/txp_auth.php on line 169

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/lib/txplib_db.php:85) in /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/include/txp_auth.php on line 170

Fatal error: Call to a member function on a non-object in /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/lib/txplib_head.php on line 176

Can anyone help please?

Offline

#2 2010-02-25 19:53:30

vickilh
Member
Registered: 2007-10-30
Posts: 96

Re: Upgrading Woes

I’m not sure if I got all the same error msgs right after my upgrade, — but I’d seen some other postings about this and so I just reloaded, logged in and out of admin a couple of times, and updated my language modules in Admin > Preferences > Language.

Offline

#3 2010-02-25 19:55:11

snkhan
Member
From: Leicester, UK.
Registered: 2004-07-20
Posts: 57
Website

Re: Upgrading Woes

I cannot seem to login to the admin area in the first place – but I’ll do another search on the forum. Thank you!
Edit: Hmm, still can’t find a solution :-(

I am running version 4.0.5 of textpattern at present.

Last edited by snkhan (2010-02-25 20:12:56)

Offline

#4 2010-02-25 20:42:34

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Upgrading Woes

Were you able to log in before the attempted upgrade?

From README.txt:

  NOTE: Upgrades from versions below 4.2.0 will present this warning
  upon your very first login to the admin-side:
    Warning: Unknown column 'user_name' in 'where clause' select name,
    val from txp_prefs where prefs_id=1 AND user_name='' in
    /path/to/your/site/textpattern/lib/txplib_db.php on line xx
  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.

If all else fails restore the 4.0.5 files, confirm that you can log in, and try the upgrade again.


Code is topiary

Offline

#5 2010-02-25 21:09:39

snkhan
Member
From: Leicester, UK.
Registered: 2004-07-20
Posts: 57
Website

Re: Upgrading Woes

Yes, I could login before the upgrade. I’ve uploaded the files again, and re-attempted to install 4.2.0, but still get the same errors :-(

Offline

#6 2010-02-25 21:52:26

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Upgrading Woes

Notice: Undefined variable: language in @/nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/index.php on line 64@

That error refers to the 4.0.5 version of /textpattern/index.php. Looks like you didn’t get all the files.


Code is topiary

Offline

#7 2010-02-25 22:18:56

snkhan
Member
From: Leicester, UK.
Registered: 2004-07-20
Posts: 57
Website

Re: Upgrading Woes

jsoo wrote:

bc. Notice: Undefined variable: language in /nfs/c02/h06/mnt/24180/domains/tulpeshandmae.co.uk/html/textpattern/index.php on line 64

That error refers to the 4.0.5 version of /textpattern/index.php. Looks like you didn’t get all the files.

-
Thank you – that fixed it!

Last edited by snkhan (2010-02-25 22:21:39)

Offline

Board footer

Powered by FluxBB