TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

"at least one tag corresponding to tbs:page is not found" error

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Damien
Date: 2013-12-04
Time: 19:18

"at least one tag corresponding to tbs:page is not found" error

Hello,

I'm trying to set-up some block variables in a Word docx document, using the [block_name.var;block=tbs:page] format.  I want to print out several pages, each filled with a different person's info.
I was able to get this to work on my local testing (MAMP) server, but for some reason, after loading it onto my development server (Nginx using Ubuntu - if that matters), it's breaking.  I get this error:

<br /><b>TinyButStrong Error</b> in block's definition &#91;vbm.name...]:  at least one tag corresponding to tbs:page is not found. Check opening tags, closing tags and embedding levels.<br />
<br /><b>TinyButStrong Error</b> Show() Method: The output is cancelled by the OpenTBS plugin because at least one error has occured.<br />

I went back to look at the xml coding and none of my tags are broken by Word's xml tags..  There is however, according to OPENTBS_DEBUG_XML_CURRENT debug setting, a lot of extraneous characters (hundreds of pages) after the closing document tag.  I think that might be the cause - but don't know how to get rid of it..  Is there anything I should look at in my server configuration that would cause that to happen?
By: Skrol29
Date: 2013-12-05
Time: 23:57

Re: "at least one tag corresponding to tbs:page is not found" error

Hi,

There is no reason for TBS and OpenTBS to work differently on Linux, Windows or Mac.
Did you modify your template in Mac ?
By: Damien
Date: 2013-12-06
Time: 00:46

Re: "at least one tag corresponding to tbs:page is not found" error

yes - I am editing the templates on a Mac..  Should I try editing them on a PC?
By: Skrol29
Date: 2013-12-13
Time: 10:30

Re: "at least one tag corresponding to tbs:page is not found" error

> Should I try editing them on a PC?

The document should theoretically be the same.
Can I have an example of your DOCX made with Mac that you have the problem with?

Did you have the page break using the property "Page break before" or using an insertion?