Re: dynamic PDF no longer working?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59885
interpreted = N
texte = 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/ 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)
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/ Marc Thompson

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:

A link and two command (1998) Problem displaying search result (1997) Final invoice problems (1998) Enhancement Request for WebCatalog-NT (1996) Next X hits (1996) Size limit for tmpl editor ? (1997) Advice needed. (1998) WC Web* performance (was: Advice on MacOS & TCP...) (2000) Some Questions (1997) PCS Frames (1997) RE: How to verify email address (1997) emailer (1997) WebCatalog can't find database (1997) carriage returns in data (1997) NT 4.0/IIS WebCat Installation (1998) b12 cannot limit records returned and more. (1997) Showing once on a founditems (1997) verify email address (1998) Extra Text Fields (was Another question) (1997) Using the sendmail command on CGate Pro (Unix) (2000)