Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#831 2020-09-26 04:40:30
- peterj
- Member
- From: Melbourne, Australia
- Registered: 2005-06-02
- Posts: 58
Re: tru_tags: A tagging plugin for textpattern
I have an install running TXP 4.8.2 with tru_tags 3.9(patched) – which isn’t the latest but seems to still work.
I tried renaming the prefix on the database table, and was able to get the redirects table back by visiting the tru_tags settings page on the extensions tab – just opening that settings page runs a script that checks for the table and creates it if not there.
Offline
#832 2020-09-28 06:33:29
- jodeci
- Member
- From: Taipei
- Registered: 2008-01-13
- Posts: 38
- Website
Re: tru_tags: A tagging plugin for textpattern
Weirdly the extensions tab did not trigger the table creation. Had to go through the plugin code and dig out the schema. Leaving it here if anyone else needs this:
tru_tags_redirects
—————————
lefttag (varchar 255, primary key)
righttag (varchar 255, not null)
Offline
#833 2020-12-10 17:06:31
- whocarez
- Plugin Author
- From: Germany/Ukraine
- Registered: 2007-10-08
- Posts: 277
- Website
Re: tru_tags: A tagging plugin for textpattern
For getting this plugin to work with php 8.0.0, I had to change the following line:
$count = $countwrapchars{0} . $weight . $countwrapchars{1};
into
$count = $countwrapchars[0] . $weight . $countwrapchars[1];
Without that I got an Fatal error: Array and string offset access syntax with curly braces is no longer supported
.
I*m not sure, whether that breaks something or not, but works for now.
Offline