Categories > TinyButStrong general >

Having error when using TBS 3.4.0

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: handoko
Date: 2009-11-08
Time: 16:39

Having error when using TBS 3.4.0

Dear All,

I have error message like this:

TinyButStrong Error in field [var._GET.txtsrc...] : item 'txtsrc' is not an existing key in the array. This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [var._SESSION.islogon...] : item 'islogon' is not an existing key in the array. This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [var._POST.loginuser...] : item 'loginuser' is not an existing key in the array. This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [var.htmlMain...] : the PHP global variable named 'htmlMain' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.

I try to use TBS 3.4.0 of my old code running well on TBS 2.02.4

Please any one has a solution?
thanks
Handoko
By: handoko
Date: 2009-11-08
Time: 16:57

Re: Having error when using TBS 3.4.0

i have solve the fourth error ...

just by replacing code

$tbs->source

with

$tbs->Source


it is case sensitive yeah,....
however i still trying to find out for the solution of the three error above

Anyone can help me..
By: Skrol29
Date: 2009-11-09
Time: 01:44

Re: Having error when using TBS 3.4.0

Hi,

Try to do a
var_export($_GET)
just before the $tbs->Show(), and check if the item 'txtsrc' does exist in the array with the same case.
By: handoko
Date: 2009-11-10
Time: 14:31

Re: Having error when using TBS 3.4.0

Hi Skrol29

This has been resolved by putting those variable value at init file like this
$_GET['txtsrc'] ='';
$_SESSION['islogon']= '';

Thanks