Skip navigation
xaliver
Currently Being Moderated

CFdocument

Mar 11, 2007 7:34 AM

hello,

I have a problem with the creation of pdf. My acpplication functioned very well and generated pdf without problem with cfdocument. And for 2 days, the pdf have not been any more to create. When I call my page plus nothing this master key. My navigator functions, but nothing. I does not include/understand! No change was to realize. It is very bizzard…

Somebody with a track?

Thank you in advance for your answers and sorry for my bad English
 
Replies
  • Currently Being Moderated
    Mar 11, 2007 3:39 PM   in reply to xaliver
    Do you have MX version 7, 7.0.1 or 7.0.2? And your browser and web server?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2007 11:12 PM   in reply to xaliver
    Have you installed the latest update for MX7.0.2? You should also realize that an error in your code may cause the cfdocument tag to malfunction.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2007 8:29 AM   in reply to xaliver
    Could we see the code you use to create the PDF

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2007 11:25 AM   in reply to xaliver
    I don't think it's good to have a query inside the cfdocument tag. Place the query qFournisseur above the cfdocument tag.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2007 12:44 PM   in reply to xaliver
    Any changes when you remove all links to external files, for example, <link...>? Can you create this simple Macromedia example:

    <cfdocument format="pdf">
    <p>This is a document rendered by the cfdocument tag.</p>
    <table width="50%" border="2" cellspacing="2" cellpadding="2">
    <tr>
    <td><strong>Name</strong></td>
    <td><strong>Role</strong></td>
    </tr>
    <tr>
    <td>Bill</td>
    <td>Lead</td>
    </tr>
    <tr>
    <td>Susan</td>
    <td>Principal Writer</td>
    </tr>
    <tr>
    <td>Adelaide</td>
    <td>Part Time Senior Writer</td>
    </tr>
    <tr>
    <td>Thomas</td>
    <td>Full Time for 6 months</td>
    </tr>
    <tr>
    <td>Michael</td>
    <td>Full Time for 4 months</td>
    </tr>
    </table>
    </cfdocument>
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 20, 2007 5:41 PM   in reply to xaliver
    Could you find a solution? We are facing exactly the same problem
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 22, 2007 6:55 AM   in reply to xaliver
    Is it possible that it is my includes external files which pose a problem (CSS)?

    Yes, even simple, often negligible, html errors and errors in included files may cause the cfdocument tag to falter. An example in your code is that you do not put the link tag within HTML head tags. What happens when you comment out the lines involving included files?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 23, 2007 1:12 PM   in reply to xaliver
    Do a test without any included files. If that works, reintroduce the link tag like this

    <head>
    <link >
    </head>

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 24, 2007 11:08 AM   in reply to xaliver
    Remove the cfdocument and cfdocumentitem tags. Run the page. What happens?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 25, 2007 8:16 AM   in reply to xaliver
    >> What happens?

    > It is ok, my page is correct, not error. All is there, even the references
    > to the images via the CSS


    What I mean is, do you get any problems similar to the ones you get with cfdocument? For example, does Coldfusion take long to process the page?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 27, 2007 10:21 PM   in reply to xaliver
    Yes, there is a problem. Could you show us all of the code? If not, I could privately have a look at it.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2007 5:04 AM   in reply to xaliver
    OK, Xaliver. I'm looking into it.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 29, 2007 2:08 AM   in reply to BKBK
    I have some suggestions for you. Where can I post them?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points