Re: dynamic PDF no longer working?

This WebDNA talk-list message is from

2004


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

Showing Results Alphabetically in Columns (top to bottom) (2002) What folder??? (1999) Database multiple selections (1998) Explorer 3.0/ Access Denied! (1997) Emailer file formats (1998) HTML Editors (1997) [WebDNA] I need a newbie installation primer (2011) [WebDNA] Froala Editor working with WebDNA (2016) PLEASE REMOVE MY EMAIL ADDRESS (1997) RE: too many nested [xxx] (1997) WebDNA & HTML Problems (2003) [isfile] ? (1997) 'does not contain' operator needed ... (1997) Mail Server Needed. (1998) ie Posting error (2000) This list needs a digest: rant, rave... (1997) SKU lookup (1997) webcat- multiple selection in input field (1997) Strange Form Occurrence on Log In Pages (2005) Moving encrypted fields to different boxes/platforms (2000)