Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread John McGowan
Wayne,
Do you branch, call tcf methods, or include files in the root directory 
at all?

/John
Wayne Irvine wrote:
Have a look at this example:
http://www2.photoimaging.com.au/pages/currentpage.taf?record_ID=34340
Notice in the early part of the code the APPFILEPATH is correct '/path/',
but later on it has reverted to root '/'.
The system (a fairly comprehensive content management system) works now
because I assign the APPFILEPATH to a local VAR called APPPATH at the
beginning and rely on it from then on.
That said, it's a bit of a kludge and causing me to rewrite code that has
been stable for years.
Wayne Irvine
 Byte Services Pty Ltd
  http://www.byteserve.com.au/
 [EMAIL PROTECTED]
  Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

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


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread Wayne Irvine
John McGowan at [EMAIL PROTECTED] wrote:

 Do you branch, call tcf methods, or include files in the root directory
 at all?

Branching yes. No TCFs (I'm old school). I do include files from root
sometimes (most of my sites have an OS formatted filepath in a text file in
the root that is used for File actions) but not in this case.

Wayne Irvine

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread John McGowan
perhaps it has something to do with branching to that file in the root 
directory then.  loading another TAF might cause the appfilepath to get 
rewritten.  What version are you seeing this on.

/John
Wayne Irvine wrote:
John McGowan at [EMAIL PROTECTED] wrote:
 

Do you branch, call tcf methods, or include files in the root directory
at all?
   

Branching yes. No TCFs (I'm old school). I do include files from root
sometimes (most of my sites have an OS formatted filepath in a text file in
the root that is used for File actions) but not in this case.
Wayne Irvine
 Byte Services Pty Ltd
  http://www.byteserve.com.au/
 [EMAIL PROTECTED]
  Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

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


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread Wayne Irvine
John McGowan at [EMAIL PROTECTED] wrote:

 perhaps it has something to do with branching to that file in the root
 directory then. 

Maybe. I'll test branching. But the file is in the same directory.

 loading another TAF might cause the appfilepath to get
 rewritten.  What version are you seeing this on.

5.5FC
  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread Wayne Irvine
John McGowan at [EMAIL PROTECTED] wrote:

 perhaps it has something to do with branching to that file

Looks like the culprit.

http://www2.photoimaging.com.au/pages/appfilepathtest.taf

Included text file and branched TAF are in the same folder.

Shame, as I do a bit of that. Wonder if it's considered a 'bug' or a
'feature'? ;)

Wayne Irvine

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


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


RE: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread Robert Shubert
If the branched TAF is in the folder /path, then this is a bug, and
needs to be reported to WT asap. I should also note that because you are
using 55FC software, you should have brought this issue up on the beta
list, or with WT directly. Robert

-Original Message-
From: Wayne Irvine [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 30, 2004 11:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: APPFILEPATH Pt2

John McGowan at [EMAIL PROTECTED] wrote:

 perhaps it has something to do with branching to that file

Looks like the culprit.

http://www2.photoimaging.com.au/pages/appfilepathtest.taf

Included text file and branched TAF are in the same folder.

Shame, as I do a bit of that. Wonder if it's considered a 'bug' or a
'feature'? ;)

Wayne Irvine

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


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


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread John McGowan

Wayne Irvine wrote:
John McGowan at [EMAIL PROTECTED] wrote:
 

perhaps it has something to do with branching to that file
   

Looks like the culprit.
http://www2.photoimaging.com.au/pages/appfilepathtest.taf
Included text file and branched TAF are in the same folder.
 

same folder as the original taf?  or same folder as eachother up one 
level from the original taf?

FYI: i think this is officially supposed to be discussed on the beta list...
/John
Shame, as I do a bit of that. Wonder if it's considered a 'bug' or a
'feature'? ;)
Wayne Irvine
 Byte Services Pty Ltd
  http://www.byteserve.com.au/
 [EMAIL PROTECTED]
  Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

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


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


Re: Witango-Talk: APPFILEPATH Pt2

2004-07-30 Thread Wayne Irvine
Robert Shubert at [EMAIL PROTECTED] wrote:

 If the branched TAF is in the folder /path, then this is a bug, and
 needs to be reported to WT asap.

It is and I have.

 I should also note that because you are
 using 55FC software, you should have brought this issue up on the beta
 list, or with WT directly. Robert

True, but as I said I wasn't sure this was a bug. In T3 if you called a path
that didn't exist it made the directories for you. In T2000 this no longer
occurred but it wasn't a bug, but a feature [sic].

Wayne Irvine

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


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