Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2018-05-16 15:22:04

etc
Developer
Registered: 2010-11-11
Posts: 2,832
Website

Re: Two issues with 4.7.0

Them say

Optional flag. Possible values are RecursiveIteratorIterator::CATCH_GET_CHILD which will then ignore exceptions thrown in calls to RecursiveIteratorIterator::getChildren().

Not tested :-/


etc_[ query | search | pagination | date | tree | cache ]

Offline

#42 2018-09-21 14:30:44

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 124
Website

Re: Two issues with 4.7.0

By the way, has anybody figured out what the real problem was here? Had the exact same problem today when trying to upgrade another site on a different server from 4.6.2 to 4.7.1 …

Offline

#43 2018-09-21 14:38:49

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 124
Website

Re: Two issues with 4.7.0

Again, I find myself stuck in the language panel when attempting to downgrade to 4.6.2, and have this error:

User_Error "Unknown column 'prefs_id' in 'field list'"
in /home/sites/******/web/cms/textpattern/lib/txplib_db.php at line 409.
textpattern/lib/txplib_misc.php:1676 adminErrorHandler()
updateErrorHandler()
textpattern/lib/txplib_db.php:409 trigger_error()
textpattern/lib/txplib_db.php:483 safe_query()
textpattern/update/_to_1.0.0.php:203 safe_insert()
textpattern/update/_update.php:90 include()
textpattern/index.php:180 include()

When I look for prefs_id in txp_prefs in my db, I find the following entry. Can I modify this in a way that will help me make it past the language panel?

Last edited by funtoosh (2018-09-21 14:45:44)

Offline

#44 2018-09-21 19:01:36

etc
Developer
Registered: 2010-11-11
Posts: 2,832
Website

Re: Two issues with 4.7.0

funtoosh wrote #314124:

Again, I find myself stuck in the language panel when attempting to downgrade to 4.6.2, and have this error:

User_Error "Unknown column 'prefs_id' in 'field list'"...

There was an unused prefs_id column in 4.6 that has been removed in 4.7. You can add it manually, but there are other (themes and GDPR related) db changes between 4.6 and 4.7, so 4.6 downgrade is not straightforward. You’d need to do a fresh 4.6 install and then switch 4.7 tables structure to 4.6.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#45 2018-09-25 10:38:28

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 124
Website

Re: Two issues with 4.7.0

So, I managed to solve this. Here’s what I did: I went into phpmyadmin and deactivated all plugins, then I made the upgrade to 4.7 again, was able to login, was able to update languages. I reactivated all plugins one by one and — even without upgrading them — everything is fine.

As I had this problem before, I guess it’s best to remember the good old WordPress rule and de-activate all plugins before upgrading from 4.6 to 4.7 …

Here’s the list of my plugins:

Offline

#46 2018-09-25 10:43:23

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 124
Website

Re: Two issues with 4.7.0

… or in more detail:

bot_write_tab_customize / v0.6.2
rah_urltolink / v0.4.4
smd_where_used / v0.30
zem_contact_lang / v4.0.3.6
zem_contact_reborn / v4.0.3.20

The culprit will most likely not be rah_urltolink + zem_contact as they were not used in that other installation that failed upgrading.

Offline

#47 2018-09-25 13:27:12

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,134

Re: Two issues with 4.7.0

funtoosh wrote #314161:

bot_write_tab_customize / v0.6.2...

This might be the one that caused you headaches. jakob has released an adjusted version of bot_wtc for 4.7.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#48 2018-09-28 12:34:28

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 124
Website

Re: Two issues with 4.7.0

Yes, I think so, too. Love that plugin and install it on almost every site, but you need to keep an eye on the version & compatibility each time you update.

Offline

Board footer

Powered by FluxBB