A TXP Problem - Solved
Blogged into textpattern & nonsense on 06/09/2005 | comment
The situation:
Recently I was updating a client site to the latest revision of Textpattern RC3, and everything works ok except for when I overwrite include/txp_article.php. As soon as I do that, the “Sticky” option gets added to the article write form, which is all good of course, but here’s the problem…
The problem:
When I write a new article and hit publish, it says “article posted” in the regular spot at the top. Yet, txp stays on the publish screen – odd. Then when I view all the articles, the article I supposedly just “posted” is not there!
The cause:
Update.php needs to run automatically, and for this to happen the entire “latest revision” needs to be uploaded at once.
The solution:
Thanks to the kind Mr. Jon Hicks I have found the solution.
So here’s what you should do when updating to the latest revision of RC3.
- Log out of textpattern
- Backup your database and exising version of textpattern
- Move or rename your exising textpattern folder on your server
- Upload the current version of textpattern using your favourite ftp program, including the update.php file. Make sure you do this!
- Now overwrite config.php.default with your old config.php file, and delete the setup.php file (if for some reason it is there).
- Login to textpattern, and you should automatically land on the admin/preferences page. All is good now, so go and enjoy your new version of TXP.
Well would you look at that, there’s a forum topic on this issue