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
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
-
Accepted Answer
0Germinal 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 -
Accepted Answer
0I 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. -
Accepted Answer
0Germinal 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 -
Accepted Answer
0Sorry, I'm a novice... Where do I find the dompdf_config.inc.php file,-
Germinal Campsmore than a month agoHI
looks like you're using a very old version of Invoice Manager. This post is about the latest version of IM.
-
-
Accepted Answer
0I'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.-
Germinal Campsmore than a month agohave you uploaded the DomPDF library? see the installation instructions: https://www.joomlathat.com/documentation/invoice-manager/installation
-
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »