Posted: September 13, 2013 at 7:07 am
|
Hi I am trying to translate the invoice and I am facing some problems listed bellow (the “Invoice Payment Settings” in the gateways setting was activated BTW): 1. After inserting the Logo URL is not appearing, instead the PDF invoice is not created and I get the follow ERROR: “FPDF error: Can’t open image file: http://mydomain.com/~folder/logo.png” . But the logo exists and it was uploaded via ftp in the root. 2. Many labels in the Invoice are not translated and they are not in the language files, then I can not translate them with Poedit. 3. In the “Invoice Payment Settings”, the tag </br> or <br/> is not working. Please, help me to fix the problem. Thank you Fabio
|
|
September 13, 2013 at 11:52 am Hi, 1) Does the image have a transparent layer? If so, it wont work. If not can you post the full error code, ideally with the real url if that is ok. 2) We have a ticket outstanding to look into the reasonms why parts of the invoice do not translate. In the meantime, perhaps this post may assist. https://eventespresso.com/topic/localization-of-invoice/ Josh’s response should help translate those parts that are not being picked up. 3) No it does not work, please just press enter for a new line. |
|
Hi Thank you for the answer. Them items 2 and 3 are solved. The item 1 is not solved. I have already uploaded a jpg file and the error message is the same. Full URL: http://createwebnow.com/?download_invoice=true&admin=true®istration_id=1-5232380158b77 Error message: FPDF error: Missing or incorrect image file: http://184.107.192.10/~vaiterbr/logo-vaiter.jpg |
|
Your server may not have allow_url_fopen set to true in php.ini. You could try using a file path instead of the url. |
|
Hi Sidney The logo is stored in the root. What could be the path? I am, can you you give me an example please? I have tried / , ../ ../../ and it didn´t work |
|
Hi If it is stored in the root, then the path would be http://createwebnow.com/logo-vaiter.jpg |
|
It didnt work. I will try to: allow_url_fopen set to true in php.ini Thank you |
|
OK, let us know how it goes please. |
|
It worked. The only way is ONLY setting allow_url_fopen set to true in php.ini |
The support post ‘Invoice translation (2)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.