Re: dynamic PDF no longer working?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59882
interpreted = N
texte = This sounds like the random garbage that I have sometimes seen when WebDNA crashes. I don't know what's causing WebDNA to crash for you - my guess would be something inside of "dynamic.pdf".- BrianOn Nov 3, 2004, at 5: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...-------------------------------------------------------------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:
This sounds like the random garbage that I have sometimes seen when WebDNA crashes. I don't know what's causing WebDNA to crash for you - my guess would be something inside of "dynamic.pdf".- BrianOn Nov 3, 2004, at 5: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...-------------------------------------------------------------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/
Brian Fries
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:
Multiple Pulldowns (1997)
Multiple prices (1997)
RE: shrink-wrapped version out yet? (1997)
Shell context. (2002)
[REPLACE] inside [FOUNDITEMS] (1998)
Problem with version 4 browsers (1998)
Re:trouble (1997)
Practice runs ? (1997)
Re:Need help... (1997)
cookies and [returnraw] (1997)
WebCatalog 4.0.2b5 available (2000)
Purchased cart being overwritten - still !?? (1997)
Setting up shop (1997)
hiding return characters (2000)
[Price] (1997)
Fulfillment e-mail? (1998)
[random] only for 1-100??? (1997)
Multiple ShipTo Addresses (2003)
[WebDNA] AutoFill Drop Down Menu (2009)
Another reviewer 'forgets' NT WebCatalog (1998)