Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-05-22 08:07:45

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Upgrading Textpattern - follow documentation/installation

Hi,

my english is not the best and i try to following the explain to upgrading a textpattern in the docs here: https://docs.textpattern.io/installation/upgrading-textpattern.
Currently I must upgrading my textpattern 4.5.4 to 4.5.7 – because I using some plugins, that dont work with 4.6.++ (plugin dtj_obfuscated_email is very important for me and I dont find another Plugin in this direction)

I have in the years dont using the “upgading” Textpattern, because I dont understand, what I should exactly do. So I installing a newer Textpattern and have coding the new textpattern with this, what I need. But now I wish finally to learn, how I can upgrading an textpattern. :-)

So, whats my problem?
I am not sure to understand “old” or “new” textpattern.
My understanding is:
“old” means my original Textpattern which I used it for my Website, version 4.5.4.
“new” Textpattern is the new version of Textpattern, here is version 4.5.7.
At moment I’m hanging in the Step “Install the new Textpattern files” (see below).

I am ready with the following steps:

  • (have) downloaded the stable release, here 4.5.7 (this was downloaded in 2012 :-) )
  • Backup extisting (old) Textpattern file tree (with a duplicate) on the server and exporting the database
  • because my old database was php 4.x, so i must changing the database to a newer php-version (5.6.19) and imported there my original database.
  • Uploading the new (4.5.7) Textpattern to my server in a new dir and copying the config.php from old txp to the new txp.

In the Step “Install the new Textpattern files” I dont understand anythings, what I should do.
The only, what I understand is: I must logging out from Textpattern admin interface. So I logging out from my old Textpattern-interface, is done. And then I clearing the cache from my browser.
Then I dont understand, in which folder I do have to navigate and which exactly files (from old or new texptattern???) I should copy to my server and have to overwriting?
should I using the .htaccess, css.php and index.php from my old website-textpattern to the new texpattern-dir? Or should I do from new textpattern to my old stable textpattern?

best regards
Lythande

Last edited by lythande (2018-05-22 08:09:27)

Offline

#2 2018-05-22 08:18:27

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,548
Website GitHub Twitter

Re: Upgrading Textpattern - follow documentation/installation

Hi lythande,

You upload the new files (htaccess index.php and css.php and textpattern directory) to your server to replace your old files, after that point your browser to http://yourwebsite/textpattern you will be redirected to the updgrade script that will do all the upgrade work, and at the end you go connect to your new textpattern and VOILA!!

Hope it s clearer for you.

Cheers.

Offline

#3 2018-05-22 08:46:32

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: Upgrading Textpattern - follow documentation/installation

much thanks, Dragondz.
Its now clearer for understand me. What is with “copy any folders you are using, for example rpc and sites “ ? From which (newer or ol) textpattern to which of both should I copy? Or should I do not make a copy, because you mean only the folder textpattern ?

Offline

#4 2018-05-22 09:16:34

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,548
Website GitHub Twitter

Re: Upgrading Textpattern - follow documentation/installation

Hi,

When upgrading in most case you only need to upload index.php css.php htaccess and textpattern directory.

For rpc it s used for special case if you are not using it erase it, also sites is only used in multisite installation wich is not the case for the most of the installations, then erase it too.

Cheers.

Offline

#5 2018-05-22 09:58:49

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: Upgrading Textpattern - follow documentation/installation

Okay, much thanks! Now the Update is finally and works fine! :-)

Offline

#6 2018-05-22 18:27:45

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: Upgrading Textpattern - follow documentation/installation

hmmm….
I have updated my test-website from 4.6.3 to 4.7.0 and get errors…

my testing-website is broken, after installation with uprgade from 4.6.3 to 4.7.0. – I have follow the Instructions what I have solved without error before (from 4.5.4 to 4.5.7 on my living website).
On the Testsite I getting an 500 internal error (the folder has drwxr-xr-x / 755) and in Default I only see a blue problem_connecting_update_server
PHP and domain-PHP is the same how live-site, I can logging in in the admin-site without problems.

Offline

Board footer

Powered by FluxBB