Re: dynamic PDF no longer working?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59886
interpreted = N
texte = Glad you got it fixed. The general rule that I have found with dynamic PDFs is to put everything inside [RAW] tags except your WebDNA code. On 05/11/2004, at 5:30 AM, Marc Thompson wrote: > THANK YOU! > I got it to work by rearranging the [Raw][/Raw] tags within the PDF. > Apparently WebCatalog was encountering something within the PDF that > it thought it should interpret? I carefully combed through the ASCII > PDF file (the include file) and placed [Raw] tags wherever there was > somthing that didn't need to be interpreted by WC. > > Works like a champ now... > > Many thanks to all who responded. I will stay on the list and lend a > hand whenver I can. > > Marc > > Stuart Tremain wrote: >> Marc >> You may need to add a cache clearing snippet, I use >> &id=[Random][random][random] in strings and the equivalent in forms >> to get over that problem. There are a few other methods documented >> in the archives. >> We didn't have any problems moving our dynamic pdf stuff from v4 to >> v5 to v6 >> Are your server prefs set to NOT cache templates ? >> Does your include file start with [RAW] and end with [/RAW] ? >> On 04/11/2004, at 12:00 PM, Marc Thompson wrote: >>> I get different results almost every time. The server returns a >>> portion of a tpl page. Not sure exactly which one. It sometimes >>> returns just the first few lines of an AdminSearch.tpl page I'd been >>> using earlier. >>> >>> It sometimes gives me a dialogue box asking me how I want to hangle >>> the file. My browser sees it as MIME/type application/octet-stream? >>> WebCatalog shouldn't be handing back Binary, UUencoded or PC >>> executable! >>> >>> Yesterday when I was testing, I tried it and it returned a header >>> image from another project entirely. >>> That's why I thing WebCatalog is returning cached data. >>> >>> Main thing is I run the same code on ver.4.0.2 and it works like a >>> champ, has fro a couple of years. Running the same identical code >>> on ver. 6.0 gives me a headache! >>> >>> Marc >>> >>> Stuart Tremain wrote: >>> >>>> What are your results ? >>>> On 04/11/2004, at 10:27 AM, Marc Thompson wrote: >>>> >>>>> Stuart, >>>>> I just tried hard coding all values and it still doesn't work? I >>>>> get the same behavior as before. >>>>> >>>>> Marc >>>>> >>>>> Stuart Tremain wrote: >>>>> >>>>>> Marc >>>>>> If you hard code the variables into your include sting do you get >>>>>> the expected result ? >>>>>> On 04/11/2004, at 10:05 AM, Marc Thompson wrote: >>>>>> >>>>>>> I looked through the talk list archives for a couple of hours >>>>>>> and couldn't find anything that helps. >>>>>>> Anyone have any ideas??? >>>>>>> >>>>>>> Marc >>>>>>> >>>>>>> Marc Thompson wrote: >>>>>>> >>>>>>>> We have a site that populates a PDF file based on a database >>>>>>>> query. It's currently running fine on version 4.0.2. We've >>>>>>>> upgraded our dev environment to WebDNA ver. 6.0 and now the >>>>>>>> process fails? >>>>>>>> We've not changed anything except upgrading to version 6? What >>>>>>>> can I look at to resolve this problem? Anyone else >>>>>>>> experienced this? >>>>>>>> Here's a snippet of the code that's not working since the >>>>>>>> upgrade: >>>>>>>> [writefile file=data/[dir]/[cart].pdf&secure=f][include >>>>>>>> file=dynamic.pdf[formvariables name=_&exact=F]&[getchars >>>>>>>> start=2][name][/getchars]=[url][value][/url][/ >>>>>>>> formvariables]&Total_Price=[_Total_Price]&_cart=[cart]][/ >>>>>>>> writefile] I'm get back stange results from the server, they >>>>>>>> keep changing? Looks like it might be returning cached info >>>>>>>> to my browser??? Very wierd... >>>>>>>> Your assistance is appreciated... >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ------------------------------------------- >>>>>>> Marc Thompson >>>>>>> Software Engineer >>>>>>> Office of Information Technology >>>>>>> University of Utah >>>>>>> 801.585.9264 >>>>>>> marc.thompson@utah.edu >>>>>>> ------------------------------------------- >>>>>>> >>>>>>> ------------------------------------------------------------- >>>>>>> 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://webdna.smithmicro.com/ >>>>>>> >>>>>>> >>>>>> Regards >>>>>> Stuart Tremain >>>>>> idfk web developments >>>>>> 114a/40 yeo street neutral bay 2089 australia >>>>>> t +612 9908 2134 >>>>>> f +612 9908 4837 >>>>>> ------------------------------------------------------------- >>>>>> 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://webdna.smithmicro.com/ >>>>> >>>>> >>>>> >>>>> -- >>>>> ------------------------------------------- >>>>> Marc Thompson >>>>> Software Engineer >>>>> Office of Information Technology >>>>> University of Utah >>>>> 801.585.9264 >>>>> marc.thompson@utah.edu >>>>> ------------------------------------------- >>>>> >>>>> ------------------------------------------------------------- >>>>> 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://webdna.smithmicro.com/ >>>>> >>>>> >>>> Regards >>>> Stuart Tremain >>>> idfk web developments >>>> 114a/40 yeo street neutral bay 2089 australia >>>> t +612 9908 2134 >>>> f +612 9908 4837 >>>> ------------------------------------------------------------- >>>> 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://webdna.smithmicro.com/ >>> >>> >>> -- >>> ------------------------------------------- >>> Marc Thompson >>> Software Engineer >>> Office of Information Technology >>> University of Utah >>> 801.585.9264 >>> marc.thompson@utah.edu >>> ------------------------------------------- >>> >>> ------------------------------------------------------------- >>> 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://webdna.smithmicro.com/ >>> >>> >> Regards >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> ------------------------------------------------------------- >> 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://webdna.smithmicro.com/ > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: dynamic PDF no longer working? ( Stuart Tremain 2004)
  2. Re: dynamic PDF no longer working? ( Marc Thompson 2004)
  3. Re: dynamic PDF no longer working? ( Brian Fries 2004)
  4. Re: dynamic PDF no longer working? ( Terry Wilson 2004)
  5. Re: dynamic PDF no longer working? ( Kenneth Grome 2004)
  6. Re: dynamic PDF no longer working? ( Stuart Tremain 2004)
  7. Re: dynamic PDF no longer working? ( Marc Thompson 2004)
  8. Re: dynamic PDF no longer working? ( Stuart Tremain 2004)
  9. Re: dynamic PDF no longer working? ( Marc Thompson 2004)
  10. Re: dynamic PDF no longer working? ( Stuart Tremain 2004)
  11. Re: dynamic PDF no longer working? ( Marc Thompson 2004)
  12. dynamic PDF no longer working? ( Marc Thompson 2004)
Glad you got it fixed. The general rule that I have found with dynamic PDFs is to put everything inside [raw] tags except your WebDNA code. On 05/11/2004, at 5:30 AM, Marc Thompson wrote: > THANK YOU! > I got it to work by rearranging the [raw][/Raw] tags within the PDF. > Apparently WebCatalog was encountering something within the PDF that > it thought it should interpret? I carefully combed through the ASCII > PDF file (the include file) and placed [raw] tags wherever there was > somthing that didn't need to be interpreted by WC. > > Works like a champ now... > > Many thanks to all who responded. I will stay on the list and lend a > hand whenver I can. > > Marc > > Stuart Tremain wrote: >> Marc >> You may need to add a cache clearing snippet, I use >> &id=[random][random][random] in strings and the equivalent in forms >> to get over that problem. There are a few other methods documented >> in the archives. >> We didn't have any problems moving our dynamic pdf stuff from v4 to >> v5 to v6 >> Are your server prefs set to NOT cache templates ? >> Does your include file start with [raw] and end with [/RAW] ? >> On 04/11/2004, at 12:00 PM, Marc Thompson wrote: >>> I get different results almost every time. The server returns a >>> portion of a tpl page. Not sure exactly which one. It sometimes >>> returns just the first few lines of an AdminSearch.tpl page I'd been >>> using earlier. >>> >>> It sometimes gives me a dialogue box asking me how I want to hangle >>> the file. My browser sees it as MIME/type application/octet-stream? >>> WebCatalog shouldn't be handing back Binary, UUencoded or PC >>> executable! >>> >>> Yesterday when I was testing, I tried it and it returned a header >>> image from another project entirely. >>> That's why I thing WebCatalog is returning cached data. >>> >>> Main thing is I run the same code on ver.4.0.2 and it works like a >>> champ, has fro a couple of years. Running the same identical code >>> on ver. 6.0 gives me a headache! >>> >>> Marc >>> >>> Stuart Tremain wrote: >>> >>>> What are your results ? >>>> On 04/11/2004, at 10:27 AM, Marc Thompson wrote: >>>> >>>>> Stuart, >>>>> I just tried hard coding all values and it still doesn't work? I >>>>> get the same behavior as before. >>>>> >>>>> Marc >>>>> >>>>> Stuart Tremain wrote: >>>>> >>>>>> Marc >>>>>> If you hard code the variables into your include sting do you get >>>>>> the expected result ? >>>>>> On 04/11/2004, at 10:05 AM, Marc Thompson wrote: >>>>>> >>>>>>> I looked through the Talk List archives for a couple of hours >>>>>>> and couldn't find anything that helps. >>>>>>> Anyone have any ideas??? >>>>>>> >>>>>>> Marc >>>>>>> >>>>>>> Marc Thompson wrote: >>>>>>> >>>>>>>> We have a site that populates a PDF file based on a database >>>>>>>> query. It's currently running fine on version 4.0.2. We've >>>>>>>> upgraded our dev environment to WebDNA ver. 6.0 and now the >>>>>>>> process fails? >>>>>>>> We've not changed anything except upgrading to version 6? What >>>>>>>> can I look at to resolve this problem? Anyone else >>>>>>>> experienced this? >>>>>>>> Here's a snippet of the code that's not working since the >>>>>>>> upgrade: >>>>>>>> [writefile file=data/[dir]/[cart].pdf&secure=f][include >>>>>>>> file=dynamic.pdf[formvariables name=_&exact=F]&[getchars >>>>>>>> start=2][name][/getchars]=[url][value][/url][/ >>>>>>>> formvariables]&Total_Price=[_Total_Price]&_cart=[cart]][/ >>>>>>>> writefile] I'm get back stange results from the server, they >>>>>>>> keep changing? Looks like it might be returning cached info >>>>>>>> to my browser??? Very wierd... >>>>>>>> Your assistance is appreciated... >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ------------------------------------------- >>>>>>> Marc Thompson >>>>>>> Software Engineer >>>>>>> Office of Information Technology >>>>>>> University of Utah >>>>>>> 801.585.9264 >>>>>>> marc.thompson@utah.edu >>>>>>> ------------------------------------------- >>>>>>> >>>>>>> ------------------------------------------------------------- >>>>>>> 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://webdna.smithmicro.com/ >>>>>>> >>>>>>> >>>>>> Regards >>>>>> Stuart Tremain >>>>>> idfk web developments >>>>>> 114a/40 yeo street neutral bay 2089 australia >>>>>> t +612 9908 2134 >>>>>> f +612 9908 4837 >>>>>> ------------------------------------------------------------- >>>>>> 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://webdna.smithmicro.com/ >>>>> >>>>> >>>>> >>>>> -- >>>>> ------------------------------------------- >>>>> Marc Thompson >>>>> Software Engineer >>>>> Office of Information Technology >>>>> University of Utah >>>>> 801.585.9264 >>>>> marc.thompson@utah.edu >>>>> ------------------------------------------- >>>>> >>>>> ------------------------------------------------------------- >>>>> 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://webdna.smithmicro.com/ >>>>> >>>>> >>>> Regards >>>> Stuart Tremain >>>> idfk web developments >>>> 114a/40 yeo street neutral bay 2089 australia >>>> t +612 9908 2134 >>>> f +612 9908 4837 >>>> ------------------------------------------------------------- >>>> 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://webdna.smithmicro.com/ >>> >>> >>> -- >>> ------------------------------------------- >>> Marc Thompson >>> Software Engineer >>> Office of Information Technology >>> University of Utah >>> 801.585.9264 >>> marc.thompson@utah.edu >>> ------------------------------------------- >>> >>> ------------------------------------------------------------- >>> 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://webdna.smithmicro.com/ >>> >>> >> Regards >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> ------------------------------------------------------------- >> 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://webdna.smithmicro.com/ > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Stuart Tremain

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:

select multiple (1997) [OT] Strange bounced message (2000) [WebDNA] Clean URLS job - will pay (2010) Force a search at the default.tmpl page? (1997) Instructions for Digest (1997) WebCatalog2 Feature Feedback (1996) New WebCatalog Version !!! (1997) Never Mind - Was - Credit Card Processing (2000) New Webcatalog for Mac (1997) View order not right (1997) [WebDNA] OT: FCKeditor (2008) UPS Online tool (2007) Need some extra eyes (2003) flushdatabases (1997) Absolute path (2003) iBill (2001) upgrading (1997) apache/linux8/WC (2002) WebCat2 Append problem (B14Macacgi) (1997) Online Docs? (1997)