Re: Include from DB
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40977
interpreted = N
texte = > Change the code to:> > (include file=../includes/[IncludeFile])> > then load the page to verify that you're getting what you think you're> getting.I tried this before posting to the list, and it's appearing just fine.> You could also use> [fileinfo ../includes/[IncludeFile]]I do this as well using the [exist] tag, so as not to generate any errortext if the value is not on the server. It does indeed recognize that thefile is there with a T.To re-explain my issue, I'm able to call the variable just fine. However,when I try to call it inside an [include] context, it crashes the server.It seems to work when my [IncludeFile] variable does not contain a /.I've tried all the tricks of using [url] and even [interpret] but it doesnot help. Is there something else I should try?Thanks for the help so far...Jasonon 6/26/02 1:45 PM, Brian Fries at brainscan@mac.com wrote:> Change the code to:> > (include file=../includes/[IncludeFile])> > then load the page to verify that you're getting what you think you're> getting.> > You could also use> [fileinfo ../includes/[IncludeFile]]> > to verify that WebCat is finding the include file.> > Usually when I have a tag that causes me to pound my head, something> like this shows me the error of my ways.> > - brian> > At 1:01 PM 6/26/02, Jason Sofonia wrote:>> I'm storing the filename and location of an include file in a database.>> When I try to retrieve this value and place it in an include context,>> though, I inevitably crash the server.>> >> Example: [include file=../includes/[IncludeFile]]>> >> The values for my variable [IncludeFile] can be on the same level>> (test1.inc) or one level deeper (testfolder/test2.inc). It seems to work>> better when I call the ones that don't have the /, but I can not change>> the file structure.>> >> I use this same method to store images and am able to retrieve them with no>> problems.>> >> Any thoughts or suggestions?>> >> WebCatalog Plugin 4.0.2>> Mac OS 9.0.4>> WebStar 4.5b1G4>> >> -->> Jason Sofonia>> Digital Frontier>> jason@digitalfrontier.com> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> Change the code to:> > (include file=../includes/[IncludeFile])> > then load the page to verify that you're getting what you think you're> getting.I tried this before posting to the list, and it's appearing just fine.> You could also use> [fileinfo ../includes/[IncludeFile]]I do this as well using the [exist] tag, so as not to generate any errortext if the value is not on the server. It does indeed recognize that thefile is there with a T.To re-explain my issue, I'm able to call the variable just fine. However,when I try to call it inside an [include] context, it crashes the server.It seems to work when my [IncludeFile] variable does not contain a /.I've tried all the tricks of using [url] and even [interpret] but it doesnot help. Is there something else I should try?Thanks for the help so far...Jasonon 6/26/02 1:45 PM, Brian Fries at brainscan@mac.com wrote:> Change the code to:> > (include file=../includes/[IncludeFile])> > then load the page to verify that you're getting what you think you're> getting.> > You could also use> [fileinfo ../includes/[IncludeFile]]> > to verify that WebCat is finding the include file.> > Usually when I have a tag that causes me to pound my head, something> like this shows me the error of my ways.> > - brian> > At 1:01 PM 6/26/02, Jason Sofonia wrote:>> I'm storing the filename and location of an include file in a database.>> When I try to retrieve this value and place it in an include context,>> though, I inevitably crash the server.>> >> Example: [include file=../includes/[IncludeFile]]>> >> The values for my variable [IncludeFile] can be on the same level>> (test1.inc) or one level deeper (testfolder/test2.inc). It seems to work>> better when I call the ones that don't have the /, but I can not change>> the file structure.>> >> I use this same method to store images and am able to retrieve them with no>> problems.>> >> Any thoughts or suggestions?>> >> WebCatalog Plugin 4.0.2>> Mac OS 9.0.4>> WebStar 4.5b1G4>> >> -->> Jason Sofonia>> Digital Frontier>> jason@digitalfrontier.com> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jason Sofonia
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WC Database Format (1997)
Triggers (2003)
WebCatalog NT beta 18 problem (1997)
Unexpected error (1997)
Spawn doesn't work as advertised ... (2000)
[OT] - Block Traffic to DevBox (2003)
RAM variables (1997)
Summary layout (1997)
convert date and time (2005)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
Error 11 (1996)
Simple way to create unique SKU (1997)
[append] problem (1997)
Anyone with a solution for this? (2001)
Digest for 4/18/97 (1997)
Summing fields (1997)
RE: ShowNext Command (1997)
Hard Questions ? (1997)
bug in [SendMail] (1997)
Generating Report Totals (1997)