- Posts: 13
- Thank you received: 0
OS Property support center
SOLVED!!! Error when exporting PDF with TCPDF
- Marc
- Topic Author
- Offline
- New Member
-
Less
More
10 years 5 months ago - 10 years 5 months ago #59906
by Marc
SOLVED!!! Error when exporting PDF with TCPDF was created by Marc
Hello.
I'm trying to use TCPDF. I followed the instructions and it was working. Now it's not working and I don't know why.
Could you please help me? This is one of my properties: rovirayjuncosa.com/index.php/venta/pisos...en-venta-en-gava-mar
Thanks.
I'm trying to use TCPDF. I followed the instructions and it was working. Now it's not working and I don't know why.
Could you please help me? This is one of my properties: rovirayjuncosa.com/index.php/venta/pisos...en-venta-en-gava-mar
Thanks.
Last edit: 10 years 5 months ago by Dang Thuc Dam.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13249
- Thank you received: 1729
10 years 5 months ago #59907
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Error when exporting PDF with TCPDF
Hi Marc,
The feature "PDF export" need quite big memory, so please increase value of PHP variable: memory_limit of your hosting to at least 256 MB (even higher - depend on your hosting) to make the function to work properly
Thanks
Dam
The feature "PDF export" need quite big memory, so please increase value of PHP variable: memory_limit of your hosting to at least 256 MB (even higher - depend on your hosting) to make the function to work properly
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Marc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
10 years 5 months ago #59910
by Marc
Replied by Marc on topic Error when exporting PDF with TCPDF
Hello Dan.
I updated my memory_limit until 512M but it didn't work.
The error printed is about an image, I don't know why.
Thanks.
I updated my memory_limit until 512M but it didn't work.
The error printed is about an image, I don't know why.
Thanks.
Please Log in or Create an account to join the conversation.
- Marc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
10 years 5 months ago #59920
by Marc
Replied by Marc on topic Error when exporting PDF with TCPDF
I found the solution.
After read the error log of Joomla I could find where the error was printed.
It was in a function called drawImage on file located at /components/com_osproperty/helpers/npdf/html2pdf.class.php
This function needs "allow_url_fopen" set to ON to read an URL correctly, and after move my new site to the final domain this option was disabled on php.ini
Hope It can helps to anyone who find the same error and sorry Dan to write as It was an error of your OsProperty Component.
Thanks.
After read the error log of Joomla I could find where the error was printed.
It was in a function called drawImage on file located at /components/com_osproperty/helpers/npdf/html2pdf.class.php
This function needs "allow_url_fopen" set to ON to read an URL correctly, and after move my new site to the final domain this option was disabled on php.ini
Hope It can helps to anyone who find the same error and sorry Dan to write as It was an error of your OsProperty Component.
Thanks.
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.