Categories > OpenTBS with DOCX >

TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Alex Nicol
Date: 2013-09-16
Time: 13:30

TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.

I cant work out what the error message is telling me, as each line is a direct copy - paste from the previous code.

Information correctly writes to db, then is called out again.

Creator.php

$result = mysqli_query($con,"SELECT * FROM xxxxx ORDER BY ID DESC LIMIT 1");

while($row = mysqli_fetch_array($result))
  {
$Name1 = $row['Name1'];
$Name2 = $row['Name2'];
...

In the docx

[onload.Fore1] [onload.Name1] &  [onload.Fore2] [onload.Name2]

then running pack.php I get

TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.
By: Skrol29
Date: 2013-09-16
Time: 14:01

Re: TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.

Can you check the HTML source of the error message ? It seems that a piece of the error message is hidden.
By: Alex Nicol
Date: 2013-09-16
Time: 14:05

Re: TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.


<br /><b>TinyButStrong Error</b> in field &#91;onload.Name2</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii...]: the key 'Name2&lt;/w:t&gt;&lt;/w:r&gt;&lt;w:r&gt;&lt;w:rPr&gt;&lt;w:rFonts w:ascii' does not exist or is not set in VarRef. (VarRef seems refers to $GLOBALS) <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field &#91;onload.Name2</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii...]: the key 'Name2&lt;/w:t&gt;&lt;/w:r&gt;&lt;w:r&gt;&lt;w:rPr&gt;&lt;w:rFonts w:ascii' does not exist or is not set in VarRef. (VarRef seems refers to $GLOBALS) <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field &#91;onload.Name2</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii...]: the key 'Name2&lt;/w:t&gt;&lt;/w:r&gt;&lt;w:r&gt;&lt;w:rPr&gt;&lt;w:rFonts w:ascii' does not exist or is not set in VarRef. (VarRef seems refers to $GLOBALS) <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> Show() Method: The output is cancelled by the OpenTBS plugin because at least one error has occured.<br />

Thank you for noticing my stupidity :)

So its not pulling the variable, which is strange seeing as its 2 or 3 down the list of variables, and thats the one that gets complained about...

$result = mysqli_query($con,"SELECT * FROM xxxxx ORDER BY ID DESC LIMIT 1");

while($row = mysqli_fetch_array($result))
  {
$id = $row['id'];
$Fore1 = $row['Fore1'];
$Fore2 = $row['Fore2'];
$Add1 = $row['Add1'];
$Name1 = $row['Name1'];
$Name2 = $row['Name2'];
$Add2 = $row['Add2'];
$TelHome = $row['TelHome'];
$DOB1 = $row['DOB1'];
$DOB2 = $row['DOB2'];
$Add3 = $row['Add3'];
$TelWork = $row['TelWork']
...
By: Skrol29
Date: 2013-09-16
Time: 22:50

Re: TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.

Here is the common answer for this problem:

This error message can happen when you're forgotten a closing character (]).
        Or when your TBS field is split by Ms Office or LibreOffice by an inner formating XML entity.
        In order to avid this second possibility, just cut the TBS field (including the brackets) and past it back using the "Paste only the text" button in the Past options.
        It may also help t apply the "Do not check spelling and grammar" (button "Language" in the "Review" ribbon).
By: Alex Nicol
Date: 2013-09-17
Time: 12:50

Re: TinyButStrong Error in field [onload.Name2This message can be cancelled using parameter 'noerr'.

RESOLVED using the Copy and Paste as mentioned.

Thanks for your help.