Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2018-03-16 19:02:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,237
Website

Re: Making your plugins 4.7-aware

uli wrote #310027:

I’m getting a User_Error "Unknown column 'prefs_id' in 'field list'" for rss_admin_db_manager on 470 beta. I saw some plugins with that error got a fix, but I can’t find the scheme itself for that fix. Do we already have something here in the forum? Don’t recall of any.

Hi Uli,

Try the one below.. It appears to be working fine on my beta install.

# Name: rss_admin_db_manager v4.4 (compressed)
# Type: Admin/Public plugin
# Database management system.
# Author: Rob Sable
# URL: http://www.wilshireone.com/
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

H4sIAAAAAAAAA+09a3fbtpKf23P2P6C8Tim1MmU5TtJIlnqd2G29TeLUdtqTTbK6FAlJvKZI
loTiqDf57zszAEjwIVt2ktN8WJ/T2AQwg8Fg3gBZt9/r9f+T9ff6VuQuuDXI+rs7fSvNsrHr
L4Jo7E/GCzdyZzzFvvt9y12KeUwPD/vWaTxhZ+4kJMDeju4dL9OAUD3oW3Mhkn63e3l56VwG
YTYPUh5H3PHiRReHwIi3PM2COMKnu31rz9kjZL2+5fPMS4NEqE7EdugKd+JmnEmiFjwSLFtl
gi8cHALL8GJfUvPw/t4PfSuYstY/xbskiARPp67H2XDIbFqb3Wb/+a+vGfy4vj9O0uBt1rJx
5XLNdofZPbs9kENSPgtgmnQM87cs/k7wCInOrA6zChh8OnzEniqO1YA9NwwnrnfRqsAYTwjT
SFX2ZzhOlzckSwHh4+kyYme/PbmOKAPCfFxLFpA9ubgxryYXilWPYOJlsgGnJETxgBAfkKbp
MvJQRFje19rib0EwOmwLUCVql2dhPHFDtpWkfJpBlxw9uRgnrpibz/5ykZjPixXwwGwIY+/C
fAbpCuNZCQWfLLHh8BH8Mw1CPkaZpZkUG1EsvwmyjItWGXE7F8pyOxsyq2cN8i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j0E5AZlGUxSITAo2KvABLBTcfwh7SdZOqWVGa6DwTRkv
guioWBMbsQRJaMkyZwl+35WOKGseAI0EsRHCtxhlxw05JY6AxY1Ae9UJJ6oxlUEyuQ0Rl8Zn
gpGZvIqKRkR+ygmtjtEB3lZeB0UkE/mxEtRQNMGkk7g6VOI1LgdP0pWSNa5cLgB1DDJpfSr1
Snbh4DewYQmQpEqEnptk1uhTNlEAhc2jq35hvi5kkIRbI9wLrqMSYQgVHtx9GfSWZBqoVGJN
1MqSZOaUPS2dX+flDLkDgdw1tcdo4D29odiugLCu1ogMdlZ9IGwzRFiMqCFTlvVmlCmgGjK8
pXFDVARiIjLtzZez4X9Q/Lbe3n05lDZF+OgD6HIf2ly0/6ksN0lrr4LPL4P83BJkKvL6MshS
RTvX83gisqqr+Nw0UlVyAzI7n5tbsi76JVAiK7NfAiWyNvwlUKKq018CKeenL5493pQtaIo+
Mz2yVn9jAwQhs/vZLdCm2m1ESRAZQlDXMeONPMVRsUieAUMbJYVfmi3FchlTqUZDbUhGDws3
pfCkVKlyfV9mC/FlJA9DpIszyidNdTZ3BskfXjVPqEj0YzK82/u0DGiyDmdnm/DkLD9zl5lC
U7nvqftvWOSpG2WQHdB3/4LJEvJds1hiZgf/DbT8AULBF5AtsUfpMvh3ZEZrv/Dg4iJgL0Oc
Q/2/NBY+FYbv7vath/7de3cnD+499O4/5O79B3znwW7v4d497vW8nd2HU2vw4f8AJdThRAxk
AAA=

Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#12 2018-03-16 19:12:44

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

Re: Making your plugins 4.7-aware

Thanks, Yiannis!
Now, things are beginning to get mysterious: I’ve the same error with your version, so my suspect was I might have altered my DB or something with one of my own plugin experiments. But the only instance of the string prefs_id is inside your and my version of the rss_admin_db_manager. And that doesn’t make any sense in my mind.

EDIT: Is your version Stefs fixed plugin for Maria DBs? (Nope. Slightly different from around character 30 or so)


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

Offline

#13 2018-03-16 19:24:22

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

Re: Making your plugins 4.7-aware

IIRC, prefs_id field has been removed at some point (may be even in 4.6).


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

Offline

#14 2018-03-16 19:43:02

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

Re: Making your plugins 4.7-aware

Thanks, Oleg. I’ve removed all n instances of the code in question and all errors are gone now. Yet, the plugin still isn’t working (doesn’t write altered prefs to the DB). Will have to wait until it gets a final repair.


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

Offline

#15 2018-03-16 23:15:16

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

Re: Making your plugins 4.7-aware

uli wrote #310035:

I’ve removed all n instances of the code in question and all errors are gone now. Yet, the plugin still isn’t working (doesn’t write altered prefs to the DB). Will have to wait until it gets a final repair.

Weird, I don’t see in the code what (after prefs_id is removed) could be wrong.


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

Offline

#16 2018-03-16 23:38:44

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

Re: Making your plugins 4.7-aware

etc wrote #310046:

Weird, I don’t see in the code what (after prefs_id is removed) could be wrong.

I appreciate very much that you looked into the code.

When you try to change e.g. the paths to mysql/mysqldump, do they get stored in your installation? Mine are “reset” on saving.


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

Offline

#17 2018-03-17 06:24:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,237
Website

Re: Making your plugins 4.7-aware

uli wrote #310047:

I appreciate very much that you looked into the code.

When you try to change e.g. the paths to mysql/mysqldump, do they get stored in your installation? Mine are “reset” on saving.

^^ bug confirmed. Also the “save” button in the “DB Backup” page reads save_button.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#18 2018-03-17 08:44:22

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

Re: Making your plugins 4.7-aware

This works on 4.7 for me:

# Name: rss_admin_db_manager v4.4.1 
# Type: Admin/Public plugin
# Database management system.
# Author: Rob Sable
# URL: http://www.wilshireone.com/
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

YToxMTp7czo0OiJuYW1lIjtzOjIwOiJyc3NfYWRtaW5fZGJfbWFuYWdlciI7czo2OiJhdXRo
b3IiO3M6OToiUm9iIFNhYmxlIjtzOjEwOiJhdXRob3JfdXJpIjtzOjI3OiJodHRwOi8vd3d3
LndpbHNoaXJlb25lLmNvbS8iO3M6NzoidmVyc2lvbiI7czo1OiI0LjQuMSI7czoxMToiZGVz
Y3JpcHRpb24iO3M6Mjc6IkRhdGFiYXNlIG1hbmFnZW1lbnQgc3lzdGVtLiI7czo0OiJjb2Rl
IjtzOjE5NDQ5OiJpZiAoQHR4cGludGVyZmFjZSA9PSAnYWRtaW4nKSB7DQogICAgYWRkX3By
aXZzKCdyc3NfZGJfbWFuJywgJzEnKTsNCiAgICByZWdpc3Rlcl90YWIoImV4dGVuc2lvbnMi
LCAicnNzX2RiX21hbiIsICJEQiBNYW5hZ2VyIik7DQogICAgcmVnaXN0ZXJfY2FsbGJhY2so
InJzc19kYl9tYW4iLCAicnNzX2RiX21hbiIpOw0KDQogICAgYWRkX3ByaXZzKCdyc3Nfc3Fs
X3J1bicsICcxJyk7DQogICAgcmVnaXN0ZXJfdGFiKCJleHRlbnNpb25zIiwgInJzc19zcWxf
cnVuIiwgIlJ1biBTUUwiKTsNCiAgICByZWdpc3Rlcl9jYWxsYmFjaygicnNzX3NxbF9ydW4i
LCAicnNzX3NxbF9ydW4iKTsNCg0KICAgIGFkZF9wcml2cygncnNzX2RiX2JrJywgJzEnKTsN
CiAgICByZWdpc3Rlcl90YWIoImV4dGVuc2lvbnMiLCAicnNzX2RiX2JrIiwgIkRCIEJhY2t1
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5kVGFibGUoKS5icjsNCg0KICAgIGVjaG8NCiAg
ICBzdGFydFRhYmxlKCdsaXN0JykuDQogICAgdHIoDQogICAgICAgIGhjZWxsKCJOby4iKS4N
CiAgICAgICAgaGNlbGwoIlRhYmxlcyIpLg0KICAgICAgICBoY2VsbCgiUmVjb3JkcyIpLg0K
ICAgICAgICBoY2VsbCgiRGF0YSBVc2FnZSIpLg0KICAgICAgICBoY2VsbCgiSW5kZXggVXNh
Z2UiKS4NCiAgICAgICAgaGNlbGwoIlRvdGFsIFVzYWdlIikuDQogICAgICAgIGhjZWxsKCJP
dmVyaGVhZCIpLg0KICAgICAgICAvL2hjZWxsKCJPcHRpbWl6ZSIpLg0KICAgICAgICBoY2Vs
bCgiRXJyTm8iKS4NCiAgICAgICAgaGNlbGwoIlJlcGFpciIpLg0KICAgICAgICBoY2VsbCgi
QmFja3VwIikuDQogICAgICAgIGhjZWxsKCJEcm9wIikNCiAgICApOw0KDQogICAgICAgIGlm
KHZlcnNpb25fY29tcGFyZSgkc3FsdmVyc2lvblsndmVyc2lvbiddLCAnMy4yMycsICc+PScp
KSB7DQogICAgICAgICAgICAkbm8gPSAwOw0KICAgICAgICAgICAgJHJvd191c2FnZSA9IDA7
DQogICAgICAgICAgICAkZGF0YV91c2FnZSA9IDA7DQogICAgICAgICAgICAkaW5kZXhfdXNh
Z2UgPSAgMDsNCiAgICAgICAgICAgICRvdmVyaGVhZF91c2FnZSA9IDA7DQogICAgICAgICAg
ICAkYWxsdGFicyA9IGFycmF5KCk7DQoNCiAgICAgICAgICAgICR0YWJsZXNzdGF0dXMgPSBn
ZXRSb3dzKCJTSE9XIFRBQkxFIFNUQVRVUyIpOw0KICAgICAgICAgICAgZm9yZWFjaCgkdGFi
bGVzc3RhdHVzIGFzICAkdGFibGVzdGF0dXMpIHsNCiAgICAgICAgICAgICAgICBleHRyYWN0
KCR0YWJsZXN0YXR1cyk7DQoNCiAgICAgICAgICAgICAgICAkcSA9ICJTSE9XIEtFWVMgRlJP
TSBgIi4kTmFtZS4iYCI7DQogICAgICAgICAgICAgICAgc2FmZV9xdWVyeSgkcSk7DQogICAg
ICAgICAgICAgICAgJG15c3FsRXJybm8gPSBteXNxbGlfZXJybm8oJERCLT5saW5rKTsNCiAg
ICAgICAgICAgICAgICAkYWxsdGFic1tdID0gJE5hbWU7DQoNCiAgICAgICAgICAgICAgICAk
Y29sb3IgPSAoJG15c3FsRXJybm8gIT0gMCkgPyAnIHN0eWxlPSJjb2xvcjojRDEwMDAwOyIn
IDogJyBzdHlsZT0iY29sb3I6IzRCOUYwMDsiJzsNCiAgICAgICAgICAgICAgICAkY29sb3Iy
ID0gKCREYXRhX2ZyZWUgPiAwKSA/ICcgc3R5bGU9ImNvbG9yOiNEMTAwMDA7IicgOiAnIHN0
eWxlPSJjb2xvcjojNEI5RjAwOyInOw0KICAgICAgICAgICAgICAgICRzdHlsZSA9ICgkbm8l
MiA9PSAwKSA/ICcgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNlZWU7IicgOiAnJzsNCg0K
ICAgICAgICAgICAgICAgICRubysrOw0KICAgICAgICAgICAgICAgICRyb3dfdXNhZ2UgKz0g
JFJvd3M7DQogICAgICAgICAgICAgICAgJGRhdGFfdXNhZ2UgKz0gJERhdGFfbGVuZ3RoOw0K
ICAgICAgICAgICAgICAgICRpbmRleF91c2FnZSArPSAgJEluZGV4X2xlbmd0aDsNCiAgICAg
ICAgICAgICAgICAkb3ZlcmhlYWRfdXNhZ2UgKz0gJERhdGFfZnJlZTsNCg0KICAgICAgICAg
ICAgICAgIGVjaG8NCiAgICAgICAgICAgICAgICB0cigNCiAgICAgICAgICAgICAgICAgICAg
dGQoJG5vKS4NCiAgICAgICAgICAgICAgICAgICAgdGQoaHJlZigkTmFtZSwgImluZGV4LnBo
cD9ldmVudD1yc3Nfc3FsX3J1biZhbXA7dG49Ii4kTmFtZSkpLg0KICAgICAgICAgICAgICAg
ICAgICB0ZCgiICIuJFJvd3MpLg0KICAgICAgICAgICAgICAgICAgICB0ZChwcmV0dHlGaWxl
U2l6ZSgkRGF0YV9sZW5ndGgpKS4NCiAgICAgICAgICAgICAgICAgICAgdGQocHJldHR5Rmls
ZVNpemUoJEluZGV4X2xlbmd0aCkpLg0KICAgICAgICAgICAgICAgICAgICB0ZChwcmV0dHlG
aWxlU2l6ZSgkRGF0YV9sZW5ndGggKyAkSW5kZXhfbGVuZ3RoKSkuDQogICAgICAgICAgICAg
ICAgICAgIHRkYShwcmV0dHlGaWxlU2l6ZSgkRGF0YV9mcmVlKSwgJGNvbG9yMikuDQogICAg
ICAgICAgICAgICAgICAgIHRkYSgiICIuJG15c3FsRXJybm8sICRjb2xvcikuDQogICAgICAg
ICAgICAgICAgICAgIHRkKGhyZWYoIlJlcGFpciIsICJpbmRleC5waHA/ZXZlbnQ9cnNzX2Ri
X21hbiZhbXA7cmVwX3RhYmxlPSIuJE5hbWUpKS4NCiAgICAgICAgICAgICAgICAgICAgdGQo
aHJlZigiQmFja3VwIiwgImluZGV4LnBocD9ldmVudD1yc3NfZGJfYmsmYW1wO2JrPTEmYW1w
O2JrX3RhYmxlPSIuJE5hbWUpLg0KICAgICAgICAgICAgICAgICAgICAnPHRkPjxhIGhyZWY9
ImluZGV4LnBocD9ldmVudD1yc3NfZGJfbWFuJmFtcDtkcm9wX3RhYmxlPScuJE5hbWUuJyIg
IG9uY2xpY2s9InJldHVybiB2ZXJpZnkoXCcnLmdUeHQoJ2FyZV95b3Vfc3VyZScpLidcJyki
PkRyb3A8L2E+PC90ZD4nKSwgJHN0eWxlDQogICAgICAgICAgICAgICAgKTsNCiAgICAgICAg
ICAgIH0NCg0KICAgICAgICAgICAgZWNobw0KICAgICAgICAgICAgdHIoDQogICAgICAgICAg
ICAgICAgaGNlbGwoIlRvdGFsIikuDQogICAgICAgICAgICAgICAgaGNlbGwoJG5vLiIgVGFi
bGVzIikuDQogICAgICAgICAgICAgICAgaGNlbGwobnVtYmVyX2Zvcm1hdCgkcm93X3VzYWdl
KSkuDQ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aV9udW1fZmllbGRzKCRydW5fcXVlcnkpKSB7DQogICAgICAgICAgICAgICAg
ICRtZXRhID0gbXlzcWxpX2ZldGNoX2ZpZWxkKCRydW5fcXVlcnkpOw0KICAgICAgICAgICAg
ICAgICAkaGVhZGVycy49aGNlbGwoJG1ldGEtPm5hbWUpOw0KICAgICAgICAgICAgICAgICAk
aSsrOw0KICAgICAgICAgICAgICB9DQoNCiAgICAgICAgICAgICAgJHJzZFtdID0NCiAgICAg
ICAgICAgICAgJzxkaXYgY2xhc3M9InNjcm9sbFdyYXBwZXIiPicuc3RhcnRUYWJsZSgnbGlz
dCcsICcnLCAnc2Nyb2xsYWJsZScpLg0KICAgICAgICAgICAgICAnPHRoZWFkPicudHIoJGhl
YWRlcnMpLic8L3RoZWFkPjx0Ym9keT4nOw0KDQogICAgICAgICAgICAgIHdoaWxlICgkYSA9
IG15c3FsaV9mZXRjaF9hc3NvYygkcnVuX3F1ZXJ5KSkgJG91dFtdID0gJGE7DQogICAgICAg
ICAgICAgIG15c3FsaV9mcmVlX3Jlc3VsdCgkcnVuX3F1ZXJ5KTsNCg0KICAgICAgICAgICAg
ICBmb3JlYWNoICgkb3V0IGFzICRiKSB7DQogICAgICAgICAgICAgICAgJGRhdGEgPSAiIjsN
CiAgICAgICAgICAgICAgICBmb3JlYWNoICgkYiBhcyAkZikgew0KICAgICAgICAgICAgICAg
ICAgJGRhdGEuPXRkKCRmKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAg
JHJzZFtdID0gdHIoJGRhdGEpOw0KICAgICAgICAgICAgICB9DQoNCiAgICAgICAgICAgICAg
JHJzZFtdID0gJzwvdGJvZHk+Jy5lbmRUYWJsZSgpLic8L2Rpdj4nLmJyOw0KICAgICAgICAg
ICAgICAkb3V0ID0gYXJyYXkoKTsNCiAgICAgICAgICAgIH0gZWxzZSB7DQogICAgICAgICAg
ICAgICR0ZXh0IC49IGdyYWYobXlzcWxpX2Vycm9yKCREQi0+bGluayksICcgc3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ImNhcHMiPjxzcGFuIGNsYXNzPSJjYXBzIj5D
U1M8L3NwYW4+PC9zcGFuPjwvc3Bhbj48L3NwYW4+IFNjcm9sbGFibGUgVGFibGU8L2E+Ljwv
cD48L3A+CgoJPGgyPk1ham9yIFJhbnNvbSBDb250cmlidXRvcnM8L2gyPgoKCTxwPgk8dWw+
CgkJPGxpPkphbiBXaWxsZW0gZGUgQnJ1aWpuPC9saT4KCQk8bGk+SGVpa2tpIFlsPC9wPiI7
czozOiJtZDUiO3M6MzI6IjZlOTdjZDNmNzRhNGExOTMwODJmNzU4Y2YxMzY2MGU3Ijt9

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

Offline

#19 2018-03-17 08:54:11

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,237
Website

Re: Making your plugins 4.7-aware

etc wrote #310057:

This works on 4.7 for me:

# Name: rss_admin_db_manager v4.4.1...

Confirmed. It works for me too now. Thanks so much Oleg.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#20 2018-03-17 12:40:12

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

Re: Making your plugins 4.7-aware

Yay, prefs are saved, and the backups are correctly created, not just pseudo ones in 20b-sizes. Thank you very much, Oleg, for fixing this super-important plugin! :))

I noticed one thing, though, and I can’t tell if I had that already. On the Diagnostics panel, and only there, when Debug mode is on I get an error, twice:

Notice "Undefined index: success"
in /Users/Uli/Sites/txp470-dev/textpattern/include/txp_diag.php at line 173.

textpattern/include/txp_diag.php:173 adminErrorHandler()
textpattern/include/txp_diag.php:499 diag_msg_wrap()
textpattern/include/txp_diag.php:66 doDiagnostics()
textpattern/index.php:252 include()

Do you guys get this, too, with rss_admin_db_manager installed?


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

Offline

Board footer

Powered by FluxBB