Problems with generating PDF's and send e-mails

Hello,

Sinds a few weeks i have problems with generating PDF’s and send e-mails to costumers.

I use the latest version.

Who can help me?

Is it latest version 1 or latest version 2? Then check your logs and your mail logs to see if there are any errors.
What are exactly the problems with creating PDF?

You can start by telling us more about the problem you experiencing, What is happening? Are you seeing a message? No message? No display? Wrong display? Not emailing? … ???

Take the time to ask a proper question - someone will take the time to answer.

1 Like

Hello,

When in press download / view invoice, he opens and then load ( he still hang on load the pdf )

No error, no white page only loading

Second problem when i sometimes want send a mail, he said there is an error occured refresh the page…

In both cases please make a screenshot of the screen you are seeing, even the loading part.
We need to know exactly where you pressed which button tl view/download the invoice.
A screenshot can help a lot with that.

With the second error, that the error occurred we definitely need a screenshot

When i send an e-mail.
this is excactly when i open an pdf

open up the chrome developer tools by pressing F12 on your keyboard. You see the action that is run, most likely a red line

OK, What you want to do here is turn on debug mode so that you can get more information about this error.

Find the file ipconfig.php in the root directory and change the debug line

The line will read

# Having problems? Enable debug by changing the value to 'true' to enable advanced logging
ENABLE_DEBUG=false

Change this to

# Having problems? Enable debug by changing the value to 'true' to enable advanced logging
ENABLE_DEBUG=true

and go to your screens again.

This will create a file with a name showing the current date in the directory
“applications/logs”

This file will give you heloful information to find the problem.

1 Like

Debug:

iERROR - 2019-01-02 15:00:42 --> Severity: Warning --> unlink(/home/mdsolu1q/public_html/administratie/uploads/temp/mpdf): Is a directory /home/mdsolu1q/public_html/administratie/application/helpers/mpdf_helper.php 117

ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-02 17:20:01 --> Could not find the language line “annual”
ERROR - 2019-01-18 20:01:10 --> Severity: Notice --> Undefined index: HTTP_REFERER /home/mdsolu1q/public_html/administratie/application/modules/payments/views/modal_add_payment.php 25

@UnderDog
No red lines or something…

This error was posted before with a solution, I can recall. Search the forum.

In general: i think the translation for ‘annual’ is missing in your language file.
Educated guess: there’s lots of italian users that have translation problems, but just search the entire forum.
On your server look in /application to see if you see any language file or directory that you can use to translate that missing word

This error below is from an earlier version, and has been fixed.
That code does not exist anywhere in the state file.

You should upgrade to the latest version.

References :

https://community2.invoiceplane.com/t/topic/4663

1 Like