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:
Why is [authenticate] not recognizing [username] on all site directories? (2000)
problems with 2 tags shakur (1997)
I give up!! (1997)
Problems with [Applescript] (1997)
[Sum] function? (1997)
How To question on setting up downloads (1997)
Newbie - Search question (1998)
Counting records (2000)
RE: 2.01 upgrade problems (1997)
AutoCommit Preference? (1998)
Sorting Numbers (1997)
Writing to triggers.db (2005)
Weird error/limit - something amiss? (1997)
Another question about credit cards (1997)
Search and path arguments (1998)
Extended [ConvertChars] (1997)
default value from Lookup (1997)
Location of Browser Info.txt file (1997)
Code database (1998)
Separate server for jpg/gif files (1998)