Categories > OpenTBS general >

bug reporting OpenTBS beta

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: David
Date: 2012-07-17
Time: 15:48

bug reporting OpenTBS beta

Hi,

I'm not sure if I'm supposed to create a new topic but since we are talking about the new beta of OpenTBS here... Anyway I report a PHP error that occured after I used the beta version : http://nsa30.casimages.com/img/2012/07/17/120717100342305471.png

Nothing special about my code and it worked fine before this beta release,
$tbs = new clsTinyButStrong(openTagTBS() . ',' . closeTagTBS());
$tbs -> NoErr = withoutError();
$tbs -> Plugin(TBS_INSTALL, OPENTBS_PLUGIN);
$tbs -> LoadTemplate(realpath($template['file']), OPENTBS_ALREADY_UTF8);

/*
* Renvoie la balise d'ouverture des tags TinyButStrong placés dans le template.
*
* @return string.
*/
function openTagTBS() {
    return '[';
}
   
/*
* Renvoie la balise de fermeture des tags TinyButStrong placés dans le template.
*
* @return string.
*/
function closeTagTBS() {
    return ']';
}

/*
* Renvoie vrai si one ne souhaite pas que TinyButStrong affiche un message d'erreur lorsqu'il repère une erreur dans le template. Renvoie faux sinon.
*
* @return boolean.
*/
function withoutError() {
    return true;
}

In any case, thanks for your hard work on TBS ! :)

Best regards,

David
By: Skrol29
Date: 2012-07-17
Time: 21:03

Re: bug reporting OpenTBS beta

hi David,

I've moved you post to a new thread.

Thanks for reporting this bug.
OpenTBS 1.8.0-beta requires TBS 3.8.0. The manual says 3.7.0 but it is a mistake that will be fixed soon.

Regards,
By: David
Date: 2012-07-18
Time: 09:41

Re: bug reporting OpenTBS beta

Hi,

Thanks for the quick reply. I thought I already had TBS 3.8.0 but I probably did a bad copy/past ! My mistake ! (I don't even notice the mix-up in the manual ^^")

Have a nice day.

Best regards,

David