Problems with generating PDF's and send e-mails


#1

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?


#2

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?


#3

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.


#4

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…


#5

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


#6

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


#7


#8

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


#9

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.


#10

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…


#11

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


#12

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


#13

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 :