The problem here is most likely permissions. Check to see that whatever user you're running ColdFusion as has write permissions to the "tempfiles/" directory you indicate in your code. Usually your CF server will be running as "nobody" or "apache", but it's specific to how it was installed on your system. Check with the person who installed it if you're unsure. Selecting the user to run as is part of the installation process.
File permissions are one of the common trip-ups of folks who are moving from a windows environment to a Linux environment. Case-Sensitivity is another. Hope this helps. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Dave Phillips wrote: > Hi all, > > My app just got moved to a Linux/Unix box and as a result, now my cfdocument > has stopped working properly. Basically, I have output that is saved to a > variable with <cfsavecontent> and then it is displayed to the screen. > However, if the user so chooses, they can have the output sent to a PDF > instead. I have the code below to force the page to load as a PDF instead. > Please be aware, this worked just fine in Windows environment, the only thing > changed is that the app has been moved to unix/linux. What happens now is > that the request just simply times out (on the > <cfoutput>#sReportContent#</cfoutput> line). Any ideas? > > Dave > > <cfdocument format="pdf" > filename="#expandPath('tempfiles/' & sReportName & > '.pdf')#" > overwrite="true" > orientation="landscape" > scale="100" > pagewidth="10.5" > pageheight="8" > margintop=".25" > marginbottom=".25" > marginleft=".25" > marginright=".25" > > > <html> > <head> > <LINK REL="StyleSheet" HREF="assets/styles/global.css" > TYPE="text/css" > > <!--- adding this style below will keep the PDF from > generating an extra blank page ---> > <style> > body, html { height: auto; } > </style> > </head> > <body> > <cfoutput>#sReportContent#</cfoutput> > </body> > </html> > </cfdocument> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302879 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

