S
Asked
Hi,
I have problem to generate invoice in .pdf
I was add allow_url_fopen = 1 in php.ini but nothing.
Any idea ???
here is a screenshots
http://prntscr.com/wbl34p
http://prntscr.com/wbl452
Thank you
Stevica
I have problem to generate invoice in .pdf
I was add allow_url_fopen = 1 in php.ini but nothing.
Any idea ???
here is a screenshots
http://prntscr.com/wbl34p
http://prntscr.com/wbl452
Thank you
Stevica
- MSAnsweredHello,
500 are internal errors and could be due to various reason including server config, software versions and bad code. Please check your server error logs and let me know the error details so that I can suggest.
If you not sure about server error logs, you can enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and the try to download the pdf again to reproduce errors. Lastly check the latest error log in `app/logs/` folder.
Thank you - SAnsweredH
here is what I get after I enabled error log
http://prntscr.com/wcddgk - MSAnsweredI have no idea why are you getting the invalid character error. May I know your php version and the link to the installation with admin account to have look. I hope you have not modified any config/code/file.
- SAnsweredI have php73 version.
I did not change anything in config/code/file.
Here is what I find in error log
Version warning: Imagick was compiled against Image Magick version 1654 but version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0 - SAnsweredthis is from log file
/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php 3203 - SAnsweredI found it !!! In the name of Companies can not stay ( " )
- MSAnsweredThe ' and " might break the code that could result in errors. I am glad you have figured it out and thank you for sharing :)
- Login to Reply