Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-30 14:22:36

charlesroper
Member
From: Hastings, UK
Registered: 2004-08-01
Posts: 25
Website

Update to 4.0.5 failed

When I installed the update to 4.0.5 the updates to the database didn’t run for some reason (I’ve no idea why). Is there a way I can force the db updates to run, or will I have to do it manually?

Many thanks,
Charles


Charles Roper

Offline

#2 2007-07-30 15:03:52

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

Re: Update to 4.0.5 failed

Did you follow these steps?

Offline

#3 2007-07-30 15:30:26

charlesroper
Member
From: Hastings, UK
Registered: 2004-08-01
Posts: 25
Website

Re: Update to 4.0.5 failed

Yes I did. When I logged into the admin UI, I didn’t get the usual upgrade process, it just went straight in, which I thought was odd at the time. Here’s what diagnostics say re. the version I’m on:

Textpattern version: 4.0.5 (r2466)
Last Update: 2007-01-12 13:13:00/2007-07-30 13:13:49

Charles


Charles Roper

Offline

#4 2007-07-30 15:54:55

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,391
Website GitHub Mastodon

Re: Update to 4.0.5 failed

To enforce the execution of the upgrade script, you’ll have to change the version number which is kept in the txp_prefs table. Using phpMyAdmin, you can look for a row in the txp_prefs table with a name of version, either by using phpMyAdmin’s search facility or by issuin this SQL query:

select * from txp_prefs where name='version'

Change the val field to 4.0.4 to force a new update run:

update txp_prefs set val='4.0.4' where name='version'

Another query for

select * from txp_prefs where name='version'

should return 4.0.5 then. Be careful with your SQL!

Last edited by wet (2007-07-30 15:57:29)

Offline

#5 2007-07-30 16:43:18

charlesroper
Member
From: Hastings, UK
Registered: 2004-08-01
Posts: 25
Website

Re: Update to 4.0.5 failed

Thanks, that got it. I was able to use Rob Sable’s excellent rss_admin_db_manager plugin to run the SQL – very handy!


Charles Roper

Offline

Board footer

Powered by FluxBB