Cfdocument - CF8 hotfix expected?
Ok, so I understand that Adobe has installed some type of fix
on thier systems to rectify the problems of scaling with the
<cfdocument> tag. A poster from Adobe sent a response to me
that he couldn't see the problems I was having becuase he had the
"fix" installed about this topic a month ago.
Does anybody know when this "fix" will be available to the
rest of us CF8 users? We had a massive emergency redesign from
absolute positioning to relative positioning when the bugs reared
their ugly heads on our upgrade from CF7 to CF8. I would like to
get to the point of creating the pages properly as opposed to
having to continually build in work-arounds for the current bugs
(just to have to go back and re-design when [or if] it does get
fixed).
Here is the link in case you didnt get them yet
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402466&sliceId=1
Similar Messages
-
CF8 HotFix 2 is out.
get it here:
http://www.adobe.com/go/kb402792
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.comBob,
That was a bug we worked with Adobe on last summer. I don't recall all of the issues surrounding it. But, I found this description in one of my emails about what engineering found when they evaluated our issue:
1. If a cfm creates a cfc and that cfc is kept in a long lasting scope like application/session, the entire object tree for the cfm request including the variables created in the cfm stays in the memory.
2. If a cfc 'A' creates another cfc 'B' in a function, and 'B' is kept in a long lasting scope like application/session, A's data gets stuck in the memory. The reason is A's functionLocalScope gets added to the 'B' pageContext and is never removed. B keeps holding all the function local scope objects that was created in that function in A. -
CF8* hotfixes on 64 bit Windows server
Hello,
We have a Windows 2080 64 bit server running IIS7. I would like to install the pertinent hotfixes I found on the Adobe site but have some questions. Some of the hotfixes require .jar & .ear files to be imported via CF admin. The hotfixes do not give any information about 64-bit. Are there seperate 64-bit .jar & .ear files? Can the .jar & .ear files in the hotfixes be used on 64-bit machines?
Thanks in advance.
joeThe 64 bit functionality starts from Update 1 of Coldfusion 8, that is, from version 8.0.1. I would therefore expect CF801 and hotfixes to CF801 to be 64 bit.
-
CFDocument CF8 super slow~unless I remove dynamic image
Upgraded from CF7 to CF8.01 and all the hotfixes. Since the
upgrade, dynamic .pdfs are super slow. I commented out an image,
and now it loads faster. What changed in CF8.01 to cause problems
with including dynamic images in .pdfs? How do I get around this
and still use images? Here's my code..
<img src="file://///xxxDocServer/HiRes
Photos#Biography.File_Path#" width="119" height="153" />
I'm open to trying anything to speed this up.. Just don't
want to have to rollback to CF7.Make sure your image is in sRGB colorspace.
-
CF8 cfdocuments new bugs (font size, bold, underline...)
Hi
I face the following problems after upgrading from CF 7.0.2
to CF8 + Cumulative Hotfix 1 :
- bold and underline generates white space around them if
they are embedded in a sentence (i.e "this is <bold>bold text
</bod> and it is fun")
- font size behavior has changed, the text is now bigger. (My
font-size: 12px is bigger than before)
- when reducing it (i.e font-size: 11px) the bold/underline
problem becomes the opposite : instead of white space, I have
overlapping texts.
We use a html 4.01 transitional doctype and CSS styles (i.e
div class="myclass" and .myclass{..} in a separate css file)
Any suggestion ?the cf8 cfdocument cumulative hotfix has been updated on Jan
30 2008 -
have you re-installed it?
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402584&sliceId=1
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
Hi,
I am using a cfgrid to display a list of pending orders. It
was all working until I modified the query to include some
additional information.
Here is the query that works:
SELECT o.orderid,DATE_FORMAT(o.orderdate,'%d/%m/%Y') as
odate,CAST(o.ordertotal AS CHAR) as
ordertotal,c.firstname,c.lastname, (SELECT CASE pt.producttype WHEN
'POM' THEN 'Required' END AS IsPOM
FROM ordercontents oc, products p, producttype pt
WHERE oc.productid = p.productid
AND p.prodtypeid = pt.prodtypeid
AND o.orderid = oc.orderid
ORDER BY IsPOM DESC LIMIT 1) as IsPOM, (SELECT
GROUP_CONCAT(prd.shortname ORDER BY prd.shortname SEPARATOR ' | ')
FROM products prd,ordercontents oco
WHERE oco.productid = prd.productid
AND o.orderid = oco.orderid) as ordereditems
FROM orders o, customer c
WHERE o.customerid = c.customerid
AND o.statusid = 1
ORDER BY o.orderdate DESC
and here is the query that works but doesn't populate the
cfgrid:
SELECT o.orderid,DATE_FORMAT(o.orderdate,'%d/%m/%Y') as
odate,CAST(o.ordertotal AS CHAR) as
ordertotal,c.firstname,c.lastname, (SELECT CASE pt.producttype WHEN
'POM' THEN 'Required' END AS IsPOM
FROM ordercontents oc, products p, producttype pt
WHERE oc.productid = p.productid
AND p.prodtypeid = pt.prodtypeid
AND o.orderid = oc.orderid
ORDER BY IsPOM DESC
LIMIT 1) as IsPOM, (SELECT
GROUP_CONCAT(CONCAT(prd.shortname,' x ',oco.quantity) ORDER BY
prd.shortname SEPARATOR ' | ')
FROM products prd,ordercontents oco
WHERE oco.productid = prd.productid
AND o.orderid = oco.orderid) as ordereditems
FROM orders o, customer c
WHERE o.customerid = c.customerid
AND o.statusid = 1
ORDER BY o.orderdate DESC
This is the bit that seems to break the cfgrid:
GROUP_CONCAT(CONCAT(prd.shortname,' x ',oco.quantity) ORDER
BY prd.shortname SEPARATOR ' | ')
whereas this works:
GROUP_CONCAT(prd.shortname ORDER BY prd.shortname SEPARATOR '
| ')
notice the addition of the ,' x ', oco.quantity in the query
that doesn't work.
The text that this GROUP_CONCAT spits out is like this:
product1 x 2 | product2 x 42
If I run both versions of the query in the RDS query viewer I
get results showing the correct information. The cfgrid however
only populates from the query above.
The cfdebug shows no errors and shows that both queries
return the same number of records. But the broken version does seem
to get stuck at the ordereditems value which should be just a
string (see above) from cfgrid's point of view.
By the way, I am using MySQL 5 with the built in MySQL driver
for CF8 (hotfix 2).
Cheers,
DaveJust for info. I fixed it by using CAST to force it to a CHAR
datatype:
CAST((SELECT GROUP_CONCAT(CONCAT(prd.shortname,' x
',oco.quantity) ORDER BY prd.shortname SEPARATOR ' | ')
FROM products prd,ordercontents oco
WHERE oco.productid = prd.productid
AND o.orderid = oco.orderid) as CHAR) as ordereditems
Cheers,
Dave -
I just launched a new site and am finding that some users are
having problems uploading photos to their profile, while others are
not. I never had a problem with any files I used for testing
purposes, but one user emailed me the photo she was trying to
upload and I got an error during the delete section of my code
(different from hers during upload). This is the error she got:
"An exception occured while trying to write the image.
Ensure that the destination directory exists and that
Coldfusion has permission to write to the given path or file. cause
: coldfusion.image.ImageWriter$ImageWritingException: An exception
occured while trying to write the image."
And this is the error I'm getting with her image (not any of
the ones I've used in the past or created using my digital camera):
"ColdFusion could not delete the file
e:\web\myssage.com\photos\A.jpg for an unknown reason."
The images that are working and not working are both jpegs
that can be easily viewed in a browser. Any ideas? I've created a
test account if anyone wants to try and duplicate the problem.
http://www.myssage.com/login.cfm
name: test
password: test
My first CF site, any help is greatly appreciated!make sure you have all cfimage hotfixes installed on your
server - there
were a couple of those, one in particular dealing with file
locking issue.
cf8 hotfixes page:
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402604&sliceId=1
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
Cfdocument printing issues: cf7 vs cf8
Here's what happens when I create a pdf with
<cfdocument> on CF7 vs CF8:
CF7
The generated pdf is 16 pages and 87.6 KB. When I print the
pdf the progress bar in acrobat fills up immediately. The total
size in the print spooler is 1.18MB
CF8
The generated pdf is 16 pages and 622 KB. When I print the
pdf the progress bar in acrobat takes almost 3 minutes to get to
100%. The total size in the print spooler is a whopping 75.5MB
I am using fontembed="false", but that seems to have no
effect on the actual filesize either. Also, on the CF8 document I
can click all over the place and get these 1/2" x 1/2" blue cubes
that show up. They are exactly like the ones you get if you click
on an image, only they are in random areas all over the place. One
other thing, when I save the CF8 pdf, there is a progress bar in
the lower right that says "optimized for fast web viewing". It
doesn't do that for CF7.
What is going on here, and what can be done? Users are not
able to print anything out in a timely fashion. Thanks.
EDIT:
If I don't import my 3KB css file, the pdf behaves like it
does in CF7, minus the formatting of courseThere was a background image in the css that was causing the
issue, but it was only a problem when using @import to get the css,
and only in CF8. -
CF7 cfdocument's display 30% smaller on CF8
We have copied existing CF7 cfdocument' page to a new
Coldfusion 8 server and when the pages are run the resulting pdf
and flashpaper display 30% smaller on CF8.
Both the Fonts and the images and the tables are all scaled
down by about 30% in size. We have a lot of these documents so, we
not be able to upgrade, its a real show stopper. Its like the
effective display area has been scaled fit into about 70% of the
page area.
I have searched for a people reporting the same issues but
found no one reporting this. Has anyone seen this and is there a
fixCode below
<cfdocument format="flashpaper">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Certificate</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor=#FFFFFF leftmargin=0 topmargin=0
marginwidth=0 marginheight=0 style="text-align:center;">
<table height="1300px" width="800px" border=0
cellpadding=0 cellspacing=0 style="margin:0; padding:0">
<tr>
<td colspan=3>
<img src="images/certificate-banner.jpg"
alt=""></td>
</tr>
<tr> <td colspan=3 valign="top"
align="center"><font size="12" face="Arial, Helvetica,
sans-serif"><br>
<font size="2"><strong>Company Name and Address,
United Kingdom <br /> Tel: +44 (0)115 5199818 Fax: +44 (0)115
5199818 Email: [email protected]
</strong></font></font></td>
</tr>
<tr>
<td colspan=3 valign="top"
align="center"><p> </p>
<p><font
color="<cfoutput>#request.settings.CompanyColour#</cfoutput>"
size="5" face="Georgia, Times New Roman, Times,
serif"><strong>Commissioning
Certificate</strong></font></p></td>
</tr>
<tr><td> </td></tr>
<tr>
<td>
<img src="images/2_04.jpg" width=185 height=1
alt=""></td>
<td rowspan=2>
<img src="images/certificate-photo.jpg" width=444
height=303 alt=""></td>
<td>
<img src="images/2_06.jpg" width=171 height=1
alt=""></td>
</tr>
ETC -
CF8 cfdocument tag has a few new bugs
This discusses two new bugs in CF8 having to do with footers
in cfdocument.
***FIRST BUG***
With CFMX7, I could define a new footer by putting a new
<cfdocumentitem type="footer"> tag in each cfdocumentsection
of my pdf report. Each could have a different string, e.g., so that
the footer could tell the reader which chapter she is reading. This
does not work in CF8. The chapter name that appears on all pages is
the one defined in the last <cfdocumentitem type="footer">
tag in the cfdocument. Now only the page number changes
dynamically. Sample code:
<cfdocument format="pdf" unit="in" pagetype="letter"
marginbottom="0.8" marginleft="1" marginright="1"
margintop="0.8"
orientation="portrait" fontembed="yes" overwrite="yes"
filename="pdfbugdemo2.pdf" pageheight="11" pagewidth="8.5"
scale="100">
<cfdocumentsection>
<cfset footerContent="1. Introduction">
<cfdocumentitem type="footer">
<div style="float: left;">
<cfoutput>#footerContent#</cfoutput>
</div>
<div style="float: right;">
<cfoutput>#cfdocument.currentpagenumber#</cfoutput>
</div>
</cfdocumentitem>
<h1>Introduction</h1>
</cfdocumentsection>
<cfdocumentsection>
<cfset footerContent="2. Body of Document">
<cfdocumentitem type="footer">
<div style="float: left;">
<cfoutput>#footerContent#</cfoutput>
</div>
<div style="float: right;">
<cfoutput>#cfdocument.currentpagenumber#</cfoutput>
</div>
</cfdocumentitem>
<h1>Body of Document</h1>
</cfdocumentsection>
</cfdocument>
*** SECOND BUG ***
In CF8, you cannot cfinclude the same template multiple times
in a given template - you get an error (at least sometimes). A
workaround is to make multiple copies of the template, each with a
different name. This was not necessary in CFMX7. Sample code:
<cfdocument format="pdf" unit="in" pagetype="letter"
marginbottom="0.8" marginleft="1" marginright="1"
margintop="0.8"
orientation="portrait" fontembed="yes" overwrite="yes"
filename="pdfbugdemo2.pdf" pageheight="11" pagewidth="8.5"
scale="100">
<cfdocumentsection>
<cfset footerContent="1. Introduction">
<cfinclude template="pdfbugfooter.cfm">
<h1>Introduction</h1>
</cfdocumentsection>
<cfdocumentsection>
<cfset footerContent="2. Body of Document">
<cfinclude template="pdfbugfooter.cfm">
<h1>Body of Document</h1>
</cfdocumentsection>
</cfdocument>
where pdfbugfooter.cfm is:
<cfdocumentitem type="footer">
<div style="float: left;">
<cfoutput>#footerContent#</cfoutput>
</div>
<div style="float: right;">
<cfoutput>#cfdocument.currentpagenumber#</cfoutput>
</div>
</cfdocumentitem>re: If you claim didn't say that,
No "if" about it - I made no such claim and never would -
thats just you
talking gibberish. Who in their right mind would say, or even
suggest, that
forums are not helpful. The only reason a forum exists in the
first place is
to be helpful!
re: So what was your actual intention in the first place?
Not sure you would undertsand, you seem to struggle to follow
along. But
just a hint for you - the forum posts, or quantity thereof,
have been used
by several people here, and by editors at sites such as
sitepoint.com, as a
metric to use to gague interest and activity. A metric only
useful when
taken in context with other pointers (job market, book
market, number of
classes still running, so on and so forth)
Again, nobody has ever said forums are not useful or helpful
- I suspect you
knew that much but felt the need to throw some nonsense about
in an attempt
at an argument - failed didn't it?
RE: Maybe they realized Ben Forta writes such a good books,
they felt
ashamed? :-)
The O'Reilly audience is typically seasoned developers, hard
core coders.
Their books are a tough read for beginners and O'Reilly
delibertately do not
cater to this audeince with many of their titles. And to put
it bluntly, the
main bunch of people to ditch CF early on were these "hard
core" types. I
belive this as the only CF developers I know are actually
more "designers"
than developers - I know of no professional coder/developers
that would
touch CF. Thats just my personal observation, btw.
re: From what I read, people are telling I'm right.
Are you crazy? They are all, at least 95%, in agreemenst that
Tim Buntel
needs to pick up the marketing act before CF dies. Seriously,
you do seem to
struggle to follow along at times - suggest you actually
read.
re: CF has always been "dead" in many places.
How can you always be dead, doesn't make sense! You have to
have lived in
order to die. There used to be hundreds of cf jobs advertised
here in
Australia every day, literally every day. Now you may see 3
or 4 each week -
mostly for migrating old cf sites to new asp.net or java
sites. And there is
no longer any CF classes advetised or held in nearly all
states - they
literally shut them down. I'm confident enough that the
comment "CF is dead"
is accurate.
r: Maybe you should be answering those questions, since you
seem to know
they're true, and I haven't heard of any such things.
I know the answers to all of those questions - becuase CF is
dying. If CF
were living, then none of those questions would have been
asked.
re: So you know they're not investing in one?
Yes, I know that. They will never spend that kind fo money on
coldfusion -
it just wouldn't be vaible for them. We're darned lucky that
still have
small team of enginners to write tags around the java
libraries and release
new versions. They are not actually going to start
"innovating" with CF in a
market like this - and I don't blame them.
"Fernis" <[email protected]> wrote in
message
news:[email protected]...
> >I never said you can't get help on the forums. Where
did you get that
> >from?
>
> If you claim didn't say that, and if you didn't even
mean that by saying
> "Forum averages about 3 new posts a day and has very
small community -
> very
> quiet.", why did you say such thing in the first place,
if it's totally
> irrelevant to all about getting help in the forums? So
what was your
> actual
> intention in the first place? Are you not reading what
other people are
> saying
> before responding? The rest of my post is really useless
compared to the
> finding that you just really do the trolling because you
like nit-picking.
> Unbelievable.
>
> >Why did O'Reilly pull their once popular CF book
from print and refuse to
> write any further CF books?
>
> Maybe they realized Ben Forta writes such a good books,
they felt ashamed?
> :-)
> I mean, if they were popular as you said.
>
> >No, its not not. Go here -
>
http://techfeed.net/blog/index.cfm/2007/8/22/Open-Letter-to-Tim-Buntel
> >- and see actual people tell you how wrong you are.
>
> From what I read, people are telling I'm right. So what
*you* say is
> downright
> silly.
>
> >But you seemed to be thing that I based my whole
argument that CF is weak
> >and
> dying
> >( is already dead in many places)
>
> CF has always been "dead" in many places. And it's been
dying for 10
> years -
> they say. So what's new? You just don't seem to
understand that random
> sites
> switching ColdFusion for something else doesn't mean
that at the same time
> there are likely new adopters of ColdFusion. You just
don't know about
> them,
> while you can more easily track if some of them go away.
You don't
> actually
> have anything but blind guesses about what's happening.
>
> I'm seeing more CF frameworks pop up as ever before. And
In Finland, I'm
> seeing more ColdFusion hosting appear than ever before.
>
> >Why did MM/Adobe pull an entire team of employees
out of Australia? Why
> >did
> >they stop printing ads in all of the trade
magazines? Why did MM push PHP
> >more than CF on their website?
>
> Maybe you should be answering those questions, since you
seem to know
> they're
> true, and I haven't heard of any such things.
>
> > Why don't they invest in an IDE to atract all those
developers out there
> that like a complete RAD platform?
> > So on and so forth???
>
> So you know they're not investing in one? And I thought
DreamWeaver would
> act
> as one? Or third party products like CFEclipse? Or
Adobe's IDE extensions
> for
> Eclipse? Sure, the CF IDE's lack behind the automation
and insight
> functionality of other IDEs, and that's something I'm
hoping for too...
> although I've always felt that strong IDEs are strictly
necessary only for
> programming languages where a huge number of
non-user-defined libraries
> and
> classes are to be referenced. The level of automation in
ColdFusion (lots
> of
> action with little code) make complex IDEs less
important than with most
> other
> languages.
>
> -Ari Ferneilus
> -
CFDocument pdf CF8.01 super slow~unless I remove dynamic image
Upgraded from CF7 to CF8.01 and all the hotfixes. Since the
upgrade, dynamic .pdfs are super slow. I commented out an image,
and now it loads faster. What changed in CF8.01 to cause problems
with including dynamic images in .pdfs? How do I get around this
and still use images? Here's my code..
<img src="file://///xxxDocServer/HiRes
Photos#Biography.File_Path#" width="119" height="153" />
I'm open to trying anything to speed this up.. Just don't
want to have to rollback to CF7
Help... anyone at Adobe have any ideas? Pretty
please??Make sure your image is in sRGB colorspace.
-
Do we have a fix for the justification bug in cfdocument for CF8?
Do we have a fix for the justification bug in cfdocument for CF8?
For IDocs it is [ABAP->Data Transfers|ABAP Connectivity;.
The rest...not sure. Maybe there as well, or XI? Other suggestions?
Thomas -
Security hotfix APSB11-04 - CF8 and log4j.properties
Hi,
I have been reviewing the Tech Notes for the security hotfix at http://kb2.adobe.com/cps/890/cpsid_89094.html which for CF 8.01 talks about backing up and replacing the log4j.properties file. I can't locate this on any of our CF 8.01 servers, so wondering if this is a mistake in the tech note and should have only applied to CF 9. Can I skip the step all together or do I still need to copy the file from the downloaded hotfix to the suggested location?
Thanks
MeintHi Meint,
My CF8.0.1 does not have log4j.properties file either tho CF9.0.1 has.
HTH, Carl. -
I'm using CF8 enterprise on Windows Server 2008 and CF8 developer on Windows Server 2003. I've never had problems getting images or cfcharts on my cfdocuments on my development server, but just yesterday got images to work on the production server by using file://ipaddress instead of the regular img src="img.jpg", but I still can't get the cfcharts to show up on the production server. With jpg and png the red x shows up, when I use flash, a blank box shows up. Does anyone have any hints?
The answer was here all along, I was just searching for the wrong things.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=graphing_10.html
http://forums.adobe.com/message/3233968
<cfloop from="1" to="5" index="i">
<cfmodule template="generateReportingGraphs.cfm" graphNum="#i#" dealer_id="#dealer_id#" month="#month#" year="#year#">
<img src="http://#ip_address#/portal/PROD/Forms/monthly_reports/#dealer_id#_chart_#i#.jpg">
</cfloop>
generateReportingGraphs:
<cfchart name="mychart" scalefrom="#min#" scaleto="#max#" showlegend="yes" title="Total Closing Inventory & Total Idle Capital" format="jpg" chartheight="#gheight#" chartwidth="#gwidth#">
<cfchartseries type="line" query="grabData" serieslabel="Total Inventory" valuecolumn="total_inventory" itemcolumn="xlabel"/>
<cfchartseries type="line" query="grabData" serieslabel="Idle Capital" valuecolumn="total_idle_capital" itemcolumn="xlabel"/>
</cfchart>
<cffile action="write" nameconflict="overwrite" file="#getdirectoryFromPath(getCurrentTemplatePath())##dealer_id#_chart_#graphnum#.jpg" output="#mychart#"> -
Possible cfdocument header/footer bug in CF8
All-
I'm experiencing a problem with header and footers containing
dynamic/
query variables in the header/footer text. The header and
footer are
sort of being cached or not being updated appropriately when
a query
variable is inserted into the content of the header or
footer. The
code below will generate a PDF with the header and footer
duplicating
the qryReps.rep_name from the last record across all document
sections/pages.....its not showing the showing the correct
qryReps.rep_name for
the particular record in that loop. SO, if the last record in
the
query is "John Doe", the header on EVERY PAGE shows "Header:
John
Doe". Anyone have any ideas??? Any input would be
appreciated!!!
NOTE: RUNNING ON CF8This bug has been fixed and a hotfix for this will be
released very soon. Stay tuned.
Maybe you are looking for
-
After deploying the project data is not being displayed
HI Experts, I have done my application using jdev 11.1.1.6 My application works great. when I deploy it from my system. When My Admin deploys it from his system then deployment go well and when he log in to see the pages some of the data displays and
-
Creating a Global Temporary Table on non-default TEMP tablespace.
Hello , I am using Oracle 11g. I have a procedure which create global temporary tables for its functionality. As the data which is going in the global temporary table , mean the data which is going in the default TEMP tablesapce is too huge ..... bil
-
HT3582 the camera icon is no longer on my iphone screen
My son has been playing with my phone again and i now do not have the camera icon. How do i get my camera back?
-
Archiving object EC_PCA_ITM
Hi, I need to archive data using archiving object EC_PCA_ITM. Now the condition is that in this archiving object, I need to restrict the data (to be archived) to company code 1030 (country US). As the company code field is not available in the select
-
Unable to increase display size in Yahoo Games Java applet; zoom doesn't work.
My father is vision impaired. He play texas hold em in Yahoo Games. Once the game java applet launches, he needs to make the card display larger. I can't find any way to do this. he's using a PC with Windows 7. == This happened == Every time Firefox