0
Our hosting company got taken over last by a larger company this week. There has been some changes, and it seems that the timing is more than coincidental that a clients' invoice manager is not operating as it used to. Problems are as follows:

1. Invoice PDF's cannot be downloaded - button is greyed out
2. Invoice PDF's cannot be sent to client/destination email address - button is greyed out
3. When clicking download PDF - Joomla error is presented: 'No block-level parent found'

I suspect this is a dompdf issue? When the hosting company give me FTP access again, is it wise for me to install the latest version of dompdf?

Current set up is PHP7.0, tested this on 5.6 with the same problem. Joomla! 3.8.5 running. Is there anything the hosting company may have changed in terms of shared hosting permissions that have stopped the generation and emailing of PDF's?

Thankyou :)
Responses (8)
  • Accepted Answer

    Monday, October 15 2018, 10:28 AM - #Permalink
    0
    first thing you should check is that the HTML structure of the invoice template is correct (usually this error is caused by malformed HTML tags)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 15 2018, 10:37 AM - #Permalink
    0
    Germinal Camps wrote:

    first thing you should check is that the HTML structure of the invoice template is correct (usually this error is caused by malformed HTML tags)


    Hi Germinal thanks for the reply. I have checked the integrity of the HTML structure, but I can't see any changes that have occurred. All previous invoices created before server migration are also experiencing the same issue, so I'm not sure about this. As I cannot preview any PDF's due to the block-level parent error it's making it harder for me to diagnose if something has gone wrong with that. Also, quotations have the same issue, no ability to view or send PDF's. If the error was a html problem, surely this would be isolated to invoices only as they have a separate template to quotes?

    If you like I can paste the code used for the invoice template...

    Thanks for your help so far
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 15 2018, 10:54 AM - #Permalink
    0
    I don't know what can be causing this, then. I would need to go in and look at the code and start debugging on the server. However you need an active subscription for that..

    there definitely seems to be something on the new PHP installation causing some trouble, but it's impossible to say what it is without going into the code.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 15 2018, 11:48 AM - #Permalink
    0
    Germinal Camps wrote:

    I don't know what can be causing this, then. I would need to go in and look at the code and start debugging on the server. However you need an active subscription for that..

    there definitely seems to be something on the new PHP installation causing some trouble, but it's impossible to say what it is without going into the code.


    Fixed it. I had to enter the dompdf_config.inc.php file, and change def("DOMPDF_ENABLE_HTML5PARSER", true);
    require_once(DOMPDF_LIB_DIR . "/html5lib/Parser.php");

    to TRUE rather than false. This fixed the issue.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 15 2018, 11:53 AM - #Permalink
    0
    great!
    good job.
    The reply is currently minimized Show
  • Accepted Answer

    ARI
    ARI
    Offline
    Saturday, February 23 2019, 06:56 PM - #Permalink
    0
    Sorry, I'm a novice... Where do I find the dompdf_config.inc.php file,
    • Germinal Camps
      more than a month ago
      HI

      looks like you're using a very old version of Invoice Manager. This post is about the latest version of IM.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 05 2019, 04:49 PM - #Permalink
    0
    I'm a novice as well and need some assistance with this same issue. What information will you need from me to assist? Let me know. Thank you so much for your help.
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Friday, September 17 2021, 12:10 PM - #Permalink
    0
    ARI wrote:

    Sorry, I'm a novice... Where do I find the dompdf_config.inc.php file,


    I cannot find this file either (and I am using the latest version of IM)
    The reply is currently minimized Show
Your Reply