Do you know if a bigtree update will be coming out soon and if this fix is in it?
Thanks
Does anyone know where one would reset a web api for a custom database integration? We use Tessitura.
]]>Seems that there was a DB update at some point that failed to run, as our bigtree_404s table retained the "NULL" for redirect_url column.
DB structure:
CREATE TABLE `bigtree_404s` (
`id` int UNSIGNED NOT NULL,
`broken_url` varchar(1024) DEFAULT NULL,
`get_vars` varchar(1024) DEFAULT NULL,
`redirect_url` varchar(1024) DEFAULT NULL,
`requests` int UNSIGNED NOT NULL DEFAULT '0',
`ignored` char(2) NOT NULL DEFAULT '',
`site_key` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
Ran the following queries not he DB table to correct:
// update existing records to avoid null values
UPDATE `bigtree_404s` SET `redirect_url` = '' WHERE `redirect_url` IS NULL;
// update structure to not have a null on that column
ALTER TABLE `bigtree_404s` CHANGE `redirect_url` `redirect_url` VARCHAR(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL;
Just FYI in case someone else runs into this. Not sure why our production server would fail on this update.
]]>I thought I fixed the error by export/importing the table but wasn't getting new data. I ran "composer update" again but was getting error below again. To fix this error, I needed bcmath PHP extension installed. After it was installed, I was successful to set up GA4 through bigtree. Also make sure cron.php and cron-run.php have execute permissions.
In case anyone else runs into this issue.
Fatal error: Uncaught Error: Call to undefined function Google\Protobuf\Internal\bccomp() in /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php:961 Stack trace: #0 /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(1302): Google\Protobuf\Internal\Message->convertJsonValueToProtoValue(2, Object(Google\Protobuf\Internal\FieldDescriptor), true) #1 /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(1241): Google\Protobuf\Internal\Message->mergeFromArrayJsonImpl(Array, true) #2 /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(1338): Google\Protobuf\Internal\Message->mergeFromJsonArray(Array, true) #3 /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(795): Google\Protobuf\Internal\Message->parseFromJsonStream(Object(Google\Protobuf\Internal\RawInputStream), true) #4 /.../ in /.../vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php on line 961
]]>I found another issue with the matrix field and list field not showing the selected item. The function processFieldDescription(core/inc/bigtree/admin.php) should have an else statement if list_type is not a "db". That means it is a static list and will still need to get the description.
Something like below added on line 7739
//Get static list description
else {
foreach ($field["settings"]["list"] as $list) {
if($list["value"] == $output) {
return $list["description"];
break;
}
}
}
//Get static list description - end
It would be nice if admins could also send a password reset link to users when they forget their password.
David Soliday
Ohio Wesleyan University
I think you have the wrong BigTree! This is a forum for the content management system, not the board manufacturer
]]>