Long time Tinybutstrong/OpenTBS user here - my application has been moved to a new server (Debian Jessie > Debian Buster), including new versions of Apache (2.4.38) and PHP (7.3 FPM).
$TBS = new \clsTinyButStrong;
$TBS->Plugin( \TBS_INSTALL, \OPENTBS_PLUGIN );
$TBS->LoadTemplate( $doctpl . "#", \OPENTBS_ALREADY_UTF8 );
$TBS->MergeField( "doc", $doc );
$TBS->MergeField( "opts", $opts );
//$TBS->Plugin(\OPENTBS_DEBUG_INFO, \OPENTBS_DEBUG_XML_CURRENT, \OPENTBS_DEBUG_XML_SHOW);
$TBS->Show( \OPENTBS_FILE, $filename );
OpenTBS just returns the template as-is. No merging, no errors in output, no errors in logs. Using the DEBUG plugin, everything seems OK.
OpenTBS clearly has access to the template, otherwise it would not be able to output it. I tried setting permissions to the template to 0666, but that also didn't fix the issue.
Tinybutstrong is at version 3.11.0 - OpenTBS at version 1.9.12.
Any pointers? Thx!
Output of the DEBUG_INFO plugin:
------------------------------
INFORMATION
------------------------------
* Debug command: OPENTBS_DEBUG_INFO
* OpenTBS version: 1.9.12
* TinyButStrong version: 3.11.0
* PHP version: 7.3.19-1~deb10u1YES
* Opened document: /var/www/proius/assets/letterhead/briefErembodegem23.odt
* Activated features for document type: odf/odt
Charts found in the contents: (use command OPENTBS_CHART_INFO to get series's names and data)
-----------------------------
- (none)