Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-10-06 04:17:20

boyandin
Member
Registered: 2005-09-16
Posts: 12

Multiple problems upgrading from 4.0.3

I have to upgrade an old (yet working without issues) installation of TP 4.0.3. It works under PHP 5.6, site and admin language is Russian..

When I try to do that as directed in manual (first to 4.2.0, then to latest), I encounter multiple issues:

- Cyrillic letters in all content and interface all are replaced with question marks (‘?’), even though 4.0.3 DB charset is utf8
- I see “Strict warnings” at startup (which I can’t normally suppress)
- file taghandlers.php contains definition of function yield() at line 274; that causes fatal error in PHP 5.5 and later (since ‘yield’ is a reserved word now)

Is it theoretically possible to upgrade 4.0.3 to the latest, given the above problems?


Om gate gate paragate parasamgate bodhi svaha

Offline

#2 2019-10-06 13:45:35

etc
Developer
Registered: 2010-11-11
Posts: 3,296
Website

Re: Multiple problems upgrading from 4.0.3

boyandin wrote #319544:

- file taghandlers.php contains definition of function yield() at line 274; that causes fatal error in PHP 5.5 and later (since ‘yield’ is a reserved word now)

You can try to rename/remove yield() in 4.2.0 distrib, it won’t be used anyway. Or log into a different tab than Write, Articles or Comments.

Offline

#3 2019-10-06 14:46:09

boyandin
Member
Registered: 2005-09-16
Posts: 12

Re: Multiple problems upgrading from 4.0.3

etc wrote #319546:

You can try to rename/remove yield() in 4.2.0 distrib, it won’t be used anyway. Or log into a different tab than Write, Articles or Comments.

Thanks, I’ll try to rename it. Question is, how to handle the rest.


Om gate gate paragate parasamgate bodhi svaha

Offline

Board footer

Powered by FluxBB