Good morning John,

There is no code in either the On_Create or On_Destroy methods. Here are the
messages I get in debug. I numbered them for reference.

1 [Thread] [15] Looking for class in /Tcf/CustomTags.tcf 
2 [Thread] [15] Getting network file
C:\Inetpub\wwwroot\CatSite\Tcf\CustomTags.tcf 
3 [Thread] [18] Got file 
4 [Error] [55] -513 The branch destination cannot be found or is at an
invalid level. BranchReturnResults  
5 [method$ Vars] [57] variableTimeout=30; this=[Object: 00C78CC0];  
6 [Application File] [58] /Tcf/CustomTags.tcf 
7 [If Action] [58] IfRbase ('<@var request$db_type>'='RBase') 
8 [ElseIf Action] [58] ElseifMySQL ('<@var request$db_type>'='MySQL') 
9 [Results Action] [58] MySQL  
10[Changed Vars] [58] method$returnValue=substring(o1.Ord_OrderNumber,1,8) ;


The error in line 4 is from the first method in the class file. I am not
calling that method.

Line 7 actually references the proper method and comes up with the proper
result in line 10

This only happens the first time a custom meta tag is requested in a domain.
Subsequent requests work fine. It is interesting that this happens in each
domain. Almost like it works after it has been cached in that domain.

I also wasn't aware that an object is created each time a custom meta tag is
requested.

Steve


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John McGowan
Sent: Thursday, March 13, 2008 7:43 AM
To: witango-talk@witango.com
Subject: Re: Witango-Talk: Custom Meta Tags

On 3/12/08, Fogelson, Steve <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
> I am working on my first custom tags using a class file. Everything seems
to
> be working well.
>
> Except when the Witango service is restarted, the first time a custom tag
is
> requested, it errors out.

What error?

> It seems to start at the beginning of the class
> file instead of at the actual procedure.

Well if by the "begining of the class file" you mean the "onCreate"
method, then that's good.  The object needs to instantiate before
methods can be called, so that would make sense.

> All subsequent custom tag requests work fine.
>
> Any ideas what is wrong?

Again, knowing what error you're seeing might help.

> Steve Fogelson
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to
> http://www.witango.com/developer/maillist.taf
>
>


-- 
/John
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to