Announcement

Collapse
No announcement yet.

Printing to pdf results in a blank page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Printing to pdf results in a blank page

    Hi,
    I´m sorry, I have only questions and can´t help to fix other issues

    I want to print to pdf. I have created a template and a blank page opens when I print.
    I think the error is somewhere on the server, which I could fix via php.ini. In another topic the problem was solved in the settings of the "open_basedir".
    However, there is not the correct setting for the "open_basedir". Can someone please tell me what I should enter there?
    To be on the safe side, I've included the log file below.
    Thanks for the help
    McBrumm

    espo-2021-06-19.log

  • #2
    I think , the settings on "open_basedir" ist not the problem

    Comment


    • #3
      could you post your template code. This would be the first place to look, if there is something wrong.

      Comment


      • #4

        I generate the template with Administration --> PDF Templates --> Templates ---> Create Template
        Click image for larger version

Name:	1.PNG
Views:	468
Size:	56.1 KB
ID:	71827
        Last edited by McBrumm; 06-19-2021, 12:55 PM. Reason: add screenshot

        Comment


        • #5
          Open edit template and go to code view (</>). The editor sometimes adds strange tags, that you cannot see in the WYSIWYG editor.

          Comment


          • #6
            No, there are no strange tags

            Comment


            • #7
              This looks all ok, and it should, because it is the most simple tags and that should work. I guess, there is really something missing in the server configuration. The log file in this case does not help a lot.
              Do you use espoCRm on a local stack or in a hosting/server?

              Comment


              • #8
                Originally posted by shalmaxb View Post
                ...guess, there is really something missing in the server configuration....
                this could explain my problems to install version 6.x.x.


                i use crm on my homepage
                if it is necessery i could post phpinfo as a pdf, maybe somebody find the failure
                Last edited by McBrumm; 06-20-2021, 02:05 PM.

                Comment


                • #9
                  it took time.... but i solved it. It was a setting in my php configuration

                  Comment


                  • #10
                    Good to hear that. Could you tell, what configuration you had to change. Could be helpful for others.

                    Comment


                    • #11
                      I would.... if I could
                      I changed and switch on / off some settings at the same time. I can´t say, which setting was the right one :-)

                      Comment

                      Working...
                      X