Bonjour,

J'essaye d'intégrer TBS + openTBS dans mon projet, mais je me retrouve avec une erreur que j'arrive pas a résoudre.

Voici l'erreur :

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [CH.This message can be cancelled using parameter 'noerr'.

TinyButStrong Error Show() Method: The output is cancelled by the OpenTBS plugin because at least one error has occured.
Voici mon code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
$odf = new clsTinyButStrong;
        $odf->Plugin(TBS_INSTALL, OPENTBS_PLUGIN);
 
        $odf->LoadTemplate("../../../files/trames/TRM_DEMDA.odt#");
 
        $odf->MergeField('CH', array("AFN" => "".$this->AFN."",
            "AFNDA" => "".$this->AFNDA."",
            "DTJOUR" => "".$this->DTJOUR."",
            "VILLE_JURIDICTION" => "".$ville."",
            "DEP" => "".$dep."",
            "SEC" => "".$ref2."",
            "AFDTACTSAIS" => "".$this->AFDTACTSAIS."",
            "LAPP" => "".$this->LAPP."",
            "LINT" => "".$this->LINT."",
            "LDCD" => "".$this->LDCD."",
            "LDCN" => "".$this->LDCN."",
            "AFGREF" => "".$this->AFGREF."",
            "PHRASE_650" => "".$ref.""), false);
 
        $odf->Show(OPENTBS_FILE, "../../../files/demande/_TMPDA".  uti_id().".odt");
J'ai regarder sur le site de TBS et différents forums, mais toujours la même erreur.

Merci par avance pour votre aide.

Yasen