Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-02-26 13:27:21

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

updating 4.4.1 > 4.6.2

i would like to update site using txp 4.4.1 and letters like ä, ö, ü, õ. how to do it correctly? do i need to update database character set? please guide me step-by-step.

at first i tried to update PHP 5.3.29 > 5.4.45 (min requirements for 4.6.2), but get error message straight away:

Strict Standards: Non-static method timezone::is_dst() should not be called statically in /www/apache/domains/www.varaleidja.ee/htdocs/textpattern/lib/txplib_misc.php on line 2545
Strict Standards: Non-static method timezone::is_supported() should not be called statically in /www/apache/domains/www.varaleidja.ee/htdocs/textpattern/lib/txplib_misc.php on line 2713

downgraded PHP back to 5.3.29

Diagnostic tool:

Textpattern version: 4.4.1 (r3575)
PHP version: 5.3.29
MySQL: 5.5.5-10.0.29-MariaDB
Server: Apache/2.4.25 (FreeBSD) OpenSSL/1.0.2k mod_fcgid/2.3.9
Server OS: FreeBSD 10.3-RELEASE-p17

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/local/share/mysql/charsets/
17 Tables: OK

Offline

#2 2018-02-26 15:17:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,193
Website GitHub Mastodon Twitter

Re: updating 4.4.1 > 4.6.2

Hi Gallex

There was a similar problem before. There is a plugin by ruud which updates the database to utf8 and another one which converts it to utf8mb4.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2018-02-26 16:02:43

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

Re: updating 4.4.1 > 4.6.2

Hi,

If you can create a subdomain, clone your site there and duplicate also the DB, change the config.php to point to the duplicated DB, upgrade the php version, update the txp version of the subdomain to 4.6.2 to see if things goes well or not.

Cheers.

Offline

#4 2018-03-03 12:41:58

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

Re: updating 4.4.1 > 4.6.2

colak wrote #309446:

Hi Gallex

There was a similar problem before. There is a plugin by ruud which updates the database to utf8 and another one which converts it to utf8mb4.

updating went well. thank you!

Offline

#5 2018-04-17 06:36:44

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,131
Website Mastodon

Re: updating 4.4.1 > 4.6.2

hmmm. i am trying to help a friend go from 4.4.1 to 4.6.2
I am getting all kinds of errors along the lines shown above plus

Strict Standards: Non-static method theme::init() should not be called statically in /Users/walter/Sites/ronelmy/textpattern/index.php on line 130
Warning: Cannot modify header information – headers already sent by (output started at /Users/walter/Sites/ronelmy/textpattern/index.php:92) in /Users/walter/Sites/ronelmy/textpattern/lib/txplib_head.php on line 50

when i login to the broken admin there is no diagnostic tab nor a preferences tab!

i am stumped.

Plus i am not able to run the update.

is it possible to just install the latest TxP and then update the DB with the original DB content? or is this wishful thinking?


…. texted postive

Offline

#6 2018-04-17 06:48:13

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,193
Website GitHub Mastodon Twitter

Re: updating 4.4.1 > 4.6.2

bici wrote #311089:

is it possible to just install the latest TxP and then update the DB with the original DB content? or is this wishful thinking?

Hi bici
I take it that you have a backup of the db which you can upload along with txp4.6.2 and see if the errors persist


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2018-04-17 06:50:44

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,131
Website Mastodon

Re: updating 4.4.1 > 4.6.2

yes i have the original DB. I have just installed the latest version of txp. now i am thinking of overwriting the DB with the old one.

is this feasible to do?


…. texted postive

Offline

#8 2018-04-17 07:02:25

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,193
Website GitHub Mastodon Twitter

Re: updating 4.4.1 > 4.6.2

bici wrote #311091:

yes i have the original DB. I have just installed the latest version of txp. now i am thinking of overwriting the DB with the old one.

is this feasible to do?

You can delete the db via phpmyadmin and install the new one.

You can check this tip as it explains how you can do it using the terminal.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2018-04-17 07:02:32

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,131
Website Mastodon

Re: updating 4.4.1 > 4.6.2

update: i overwrote the DB with my old one. I am running 4.6.2 but there are no Preferences tab. ! no_preferences
nor Diagnostics

and when i first logged in i saw Restricted Area in large letters.


…. texted postive

Offline

#10 2018-04-17 07:07:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,193
Website GitHub Mastodon Twitter

Re: updating 4.4.1 > 4.6.2

Has the language been updated? (under Admin>Languages)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#11 2018-04-17 07:12:06

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,131
Website Mastodon

Re: updating 4.4.1 > 4.6.2

colak wrote #311094:

Has the language been updated? (under Admin>Languages)

there is Admin>Languages nor >Preferences nor >diagnostics.
weird!


…. texted postive

Offline

#12 2018-04-17 07:37:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,939
Website GitHub

Re: updating 4.4.1 > 4.6.2

Try visiting the front end first, then logging out and back in again. And also check your PHP version is modern enough (5.6+ I think).


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB