SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Still No Logo on invoices!
- This topic has 5 replies, 2 voices, and was last updated 2 years, 2 months ago by FreakWent.
-
AuthorPosts
-
July 1, 2022 at 10:41 pm #1693FreakWentParticipant
OK check this out:
Print preview is instant and shows the logo.
phpinfo() shows MAX memory is 128M.
allow_url_fopen is on
allow_url_include is on
gs is shown as enabled, version 2.3.3I get the same red x in a square on the PDF, even when using the factory logos that ship with SI.
si log says:
2022-07-02T15:23:42+10:00 DEBUG (7): Export::getData() module:[invoice]
2022-07-02T15:23:42+10:00 DEBUG (7): Export::getData() – file_name[Tax_Invoice_494]
2022-07-02T15:23:42+10:00 DEBUG (7): Export::getData() – logo[<REDACTED>/templates/invoices/logos/simple_invoices_logo.png]
2022-07-02T15:23:42+10:00 DEBUG (7): Export::getData() – templatePath[templates/invoices/user_test/template.tpl]
2022-07-02T15:23:42+10:00 DEBUG (7): Export::showData() – format[pdf]
2022-07-02T15:23:42+10:00 DEBUG (7): Pdf::generate() – pdfname[Tax_Invoice_494.pdf] destination[D]
2022-07-02T15:23:42+10:00 DEBUG (7): Pdf::generate() – Before WriteHTML— note the three minute delay here —
2022-07-02T15:26:47+10:00 DEBUG (7): Pdf::generate() – Before Output
2022-07-02T15:26:47+10:00 DEBUG (7): Pdf::generate() – returning NULL
2022-07-02T15:26:47+10:00 DEBUG (7): index.php – Before export exit
2022-07-02T15:26:47+10:00 DEBUG (7): Pdf::generate() – Before Output
2022-07-02T15:26:47+10:00 DEBUG (7): Pdf::generate() – returning NULL
2022-07-02T15:26:47+10:00 DEBUG (7): index.php – Before export exitApache error log:
[02-Jul-2022 15:23:42 ] PHP Deprecated: The each() function is deprecated.
[02-Jul-2022 15:23:42 ] PHP Notice: Undefined index: attribute_json in html/tmp/template_c/a38dac53117a6f744b22f3e07e880e53bdc61f84_0.file.template.tpl.php on line 339Does anyone think that the attribute_json is the problem?
July 2, 2022 at 1:20 pm #1694RRowleyParticipantThe attribute error has nothing to do with the logo. I have the same issue on my windows system that you do. However, on my live website, hosted on a Linux domain server, I do not have a problem. So while I haven’t resolved the issue, I think it has to do more with PDF generation on my XAMPP setup; possibly because it doesn’t have an SSL implementation. That is, the logo URL used, uses https and not http. This is something I’ll test later to see if that is the case.
July 7, 2022 at 2:14 am #1697FreakWentParticipantThanks RRowley, very helpful — seems so daft to check the weblogs, because I know the logo can be loaded, and yet, *pow*, access_log has no entry of a connection from the php to download the logo.
This is now a network web client/server problem, and I can fix those. Maybe the PHP doesn’t like the SSL cert, but I’ll figure it out somehow.
Thanks again!
July 7, 2022 at 2:24 am #1698FreakWentParticipantand… wget timed out as well. Fixed — now wget doesn’t like the cert, but exits quickly; and so does the PDF export.
One step closer….
July 7, 2022 at 3:34 am #1699FreakWentParticipantI broke it, my export attempts have “unknown modifier ‘utilDate'”
O well, reinstall.
July 8, 2022 at 5:56 pm #1701FreakWentParticipantSorted.
My web server (sme server, https:// koozali-dot-ca) won’t accept connections originating from itself, it’s pretty tightly hardened.
Once I got that changed, all is perfect. Thanks for the hint @RRowley, it made me look past PHP to other parts of the system.
Have a great day!
-
AuthorPosts
- You must be logged in to reply to this topic.
Recent Comments