A TXP Problem - Solved

Blogged into & 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.

  1. Log out of textpattern
  2. Backup your database and exising version of textpattern
  3. Move or rename your exising textpattern folder on your server
  4. Upload the current version of textpattern using your favourite ftp program, including the update.php file. Make sure you do this!
  5. Now overwrite config.php.default with your old config.php file, and delete the setup.php file (if for some reason it is there).
  6. 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

If you are using Internet Explorer for the MAC, you'll notice this website looks a little strange. That's because we've chosen not to provide full CSS support for that browser. All content is still accessible, it's just not as pretty - but neither is your browser. For the full meal deal, we recommend upgrading your web browser.