|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ColdFusion 8 Developer Edition, CFDOCUMENT, and watermark png argh!
I've used CFDOCUMENT before, but this is the first time with CF8. I'm usingPete Ruckelshaus 08/27/08 07:57 P Pete,William Seiter 08/27/08 08:10 P Sure, I boiled it down to the bare minimum for debugging purposes:Pete Ruckelshaus 08/27/08 08:22 P Just to be sure I don't have a corrupt watermark.png file, could someonePete Ruckelshaus 08/27/08 08:49 P Just to make certain that I understand this correctly. You are notWilliam Seiter 08/27/08 10:52 P Yes, it's the developer edition and by default it puts a "Not a productionPete Ruckelshaus 08/27/08 11:14 P >Yes, it's the developer edition and by default it puts a "Not a productionWil Genovese 08/28/08 12:38 A Well the only thing I can say to this thread.Andrew Scott 08/28/08 03:20 A Uh, I didn't replace or modify in any way the files in the core coldfusionPete Ruckelshaus 08/28/08 07:24 A LoL,Andrew Scott 08/28/08 11:14 A I've used CFDOCUMENT before, but this is the first time with CF8. I'm using developer edition on my dev workstation (Windows XP/IIS/CF 8.01), and am getting the following error: Watermark image file is invalid. Ensure that watermark.png is located in the proper directory and has not been corrupted. There is a watermark.png file in c:\coldfusion8\lib\ , which I assume is the file that cfdocument is looking for. I looked at the .png file and it's just a blank image, 1800x800 pixels. Has anyone else had this issue, and if so, how did you resolve it? I never had this problem in CF7... Thanks, Pete Pete, Would you please post the code you are using to the forum so that we can better assist you. William ----- Excess quoted text cut - see Original Post for more ----- Sure, I boiled it down to the bare minimum for debugging purposes: <cfdocument format="PDF"> <cfoutput> Test #now()# </cfoutput> </cfdocument> ----- Excess quoted text cut - see Original Post for more ----- Just to be sure I don't have a corrupt watermark.png file, could someone email me the watermark.png file from the lib directory in their CF8 install? Thanks! Pete On Wed, Aug 27, 2008 at 8:17 PM, Pete Ruckelshaus <pruckelshaus@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more ----- Just to make certain that I understand this correctly. You are not declaring what you want the watermark to be, cfdocument format=PDF is automatically trying to create a watermark for you? I wonder if this is a limitation on the developer version of CF that you have come across. I would do a search on the Coldfusion8 directory for that watermark file and then if it exists, just replace it with a blank .png file called 'watermark'. William ---------------------------------- William Seiter ColdFusion Web Developer / Consultant http://william.seiter.com Free Website Trade Publication >> Website Magazine http://www.websitemagazine.com/referrals/?id=51344&f=text2 Don't forget to answer the survey questions, it's a 10 second task , a very small request for access to this incredible resource. ::-----Original Message----- :: ::Sent: Wednesday, August 27, 2008 5:18 PM ::To: CF-Talk ::Subject: Re: CF8 Developer Edition, CFDOCUMENT, and watermark.png...argh! :: ::Sure, I boiled it down to the bare minimum for debugging purposes: :: ::<cfdocument format="PDF"> ::<cfoutput> ::Test #now()# ::</cfoutput> ::</cfdocument> :: ::On Wed, Aug 27, 2008 at 8:05 PM, William Seiter <william@seiter.com> ::wrote: :: ::> Pete, ::> Would you please post the code you are using to the forum so that we can ::> better assist you. ::> ::> William ::> ::> >I've used CFDOCUMENT before, but this is the first time with CF8. I'm ::> using ::> >developer edition on my dev workstation (Windows XP/IIS/CF 8.01), and ::am ::> >getting the following error: ::> > ::> >Watermark image file is invalid. ::> >Ensure that watermark.png is located in the proper directory and has ::not ::> >been corrupted. ::> > ::> >There is a watermark.png file in c:\coldfusion8\lib\ , which I assume ::is ::> the ::> >file that cfdocument is looking for. I looked at the .png file and ::it's ::> >just a blank image, 1800x800 pixels. ::> > ::> >Has anyone else had this issue, and if so, how did you resolve it? I ::> never ::> >had this problem in CF7... ::> > ::> >Thanks, ::> > ::> >Pete ::> ::> :: :: Yes, it's the developer edition and by default it puts a "Not a production license" type of watermark in place. I do have a blank watermark.png file in the proper place (tried that first), but I'm assuming that it might be looking for a specific file size or something like that. Pete ----- Excess quoted text cut - see Original Post for more ----- ----- Excess quoted text cut - see Original Post for more ----- Pete, I just sent you my watermark file. It's definitely NOT supposed to be blank. It reads "Adobe ColdFusion Developer/Trial Edition Not for Production Use" and is 19,997 bytes in size on my Mac. Cheers, Wil Genovese Sr. Web Application Developer Well the only thing I can say to this thread. That is your fault (not you directly) for replacing files in the core Coldfusion code application, mark this as a gentle reminder to everyone else. Play with fire and expect to be burnt.. Sorry couldn't resist. -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 Uh, I didn't replace or modify in any way the files in the core coldfusion application code. Thanks for playing, though, really. You're a winner no matter what. Pete On Thu, Aug 28, 2008 at 3:15 AM, Andrew Scott <andrew.scott@aegeon.com.au>wrote: ----- Excess quoted text cut - see Original Post for more ----- LoL, Sorry I did try not to imply you did, it was more a case of what could happen if you do. And the dangers it poses. -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 Uh, I didn't replace or modify in any way the files in the core coldfusion application code. Thanks for playing, though, really. You're a winner no matter what. Pete
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||