Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2017-07-11 08:22:29

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

Re: error on update 4.5.7 > 4.6.2

colak wrote #303377:

I would install the rvm_latin1_to_utf8 plugin from ruud and try to update again after that.

i’m going to second attempt to solve my character set issue. I forgot about this problem in the meantime. :)

so. at the top of that suggested plugin is written:
# Alter pre-MySQL 4.1 tables to use UTF-8 charset

my site is running MySQL 5.5.31 – is it still safe to install and run that plugin?

Offline

#14 2017-07-11 08:37:47

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

Re: error on update 4.5.7 > 4.6.2

Hi Gallex,

I guess that ruud on the plugin thread would be able to respond to that question.


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

Offline

#15 2017-07-12 15:40:28

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: error on update 4.5.7 > 4.6.2

@Gallex, yes, that line in the plugin refers to the fact that pre-MySQL tables didn’t use UTF-8. It’s likely those tables haven’t changed even though your MySQL version was updated. It’s safe to use the plugin, but as always, backup first.

Offline

#16 2017-07-25 08:34:01

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

Re: error on update 4.5.7 > 4.6.2

i continue my update (this topic) journey.

i made successful character set convertation (no errors detected) and took the next step – 4.5.7 > 4.6.2 update.

didn’t went well – get this error message:

Warning "rmdir(/home/bs1748/domains/estbirding.ee/public_html/test/textpattern/include/import): Directory not empty"
in /home/bs1748/domains/estbirding.ee/public_html/test/textpattern/update/_to_4.6.0.php at line 156.
textpattern/lib/txplib_misc.php:1676 adminErrorHandler()
updateErrorHandler()
textpattern/update/_to_4.6.0.php:156 rmdir()
textpattern/update/_update.php:90 include()
textpattern/index.php:180 include()

Offline

#17 2017-07-25 10:13:50

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

Re: error on update 4.5.7 > 4.6.2

It sounds that not all files have been uploaded successfully but hopefully somebody with more knowledge will be able to pinpoint the problem more accurately and possibly more correctly.


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

Offline

#18 2017-07-25 10:16:09

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,273
Website GitHub

Re: error on update 4.5.7 > 4.6.2

Gallex wrote #306426:

Warning "rmdir(/home/bs1748/domains/estbirding.ee/public_html/test/textpattern/include/import): Directory not empty"...

Dammit. Didn’t think of that. Just delete that directory and its contents by hand, then it’ll carry on. Sorry for the trouble.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#19 2017-07-25 11:47:02

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

Re: error on update 4.5.7 > 4.6.2

Bloke wrote #306433:

Dammit. Didn’t think of that. Just delete that directory and its contents by hand, then it’ll carry on. Sorry for the trouble.

looks like my updating has now finally successfully finished. thank you all!

Offline

#20 2017-07-25 15:36:33

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

Re: error on update 4.5.7 > 4.6.2

Hi Gallex,

I expect all is running OK now. The 4.6 releases use utf8mb4 when freshly installed. Maybe you should consider using ruud’s rvm_utf8_to_utf8mb4 plugin now and for the future. I tested it on my sites by updating ALL txp tables and it works just fine.

As always backup your db before using.


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

Offline

Board footer

Powered by FluxBB