[Skip to main content](#vessel-content)

#   PDF Invoice

##

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

1 month 2 weeks ago [\#373458](#373458) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  *[PDF Invoice](/forum/35-orders-management/910836-pdf-invoice#373458 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 5.4.8 -- PHP version -- : 8.3.33 -- Browser(s) name and version -- : Firefox 155.0.1 and Chrome 152.0.7977.83  I installed PDF Invoice 5.0.5. When going to Hikashop &gt; Orders, checking a single order, and clicking the Invoice button at the top, I receive a white screen the following error:  Undefined constant &quot;Com&#92;Tecnick&#92;Pdf&#92;Image&#92;IMAGETYPE&#95;SWC&quot;  There is no logo path set in Hikashop configuration page. I have tried adding one to see if this would resolve the issue, but it does not. I am using the Default invoice layout. I have tried switching to various layouts, but each product this error.  Please advise.")* was created by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")*

-- HikaShop version -- : 6.6.0
-- Joomla version -- : 5.4.8
-- PHP version -- : 8.3.33
-- Browser(s) name and version -- : Firefox 155.0.1 and Chrome 152.0.7977.83

I installed PDF Invoice 5.0.5. When going to Hikashop &gt; Orders, checking a single order, and clicking the Invoice button at the top, I receive a white screen the following error:

Undefined constant "Com\Tecnick\Pdf\Image\IMAGETYPE_SWC"

There is no logo path set in Hikashop configuration page. I have tried adding one to see if this would resolve the issue, but it does not. I am using the Default invoice layout. I have tried switching to various layouts, but each product this error.

Please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDgzNi1wZGYtaW52b2ljZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 month 2 weeks ago [\#373461](#373461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice](/forum/35-orders-management/910836-pdf-invoice#373461 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 5.4.8 -- PHP version -- : 8.3.33 -- Browser(s) name and version -- : Firefox 155.0.1 and Chrome 152.0.7977.83  I installed PDF Invoice 5.0.5. When going to Hikashop &gt; Orders, checking a single order, and clicking the Invoice button at the top, I receive a white screen the following error:  Undefined constant &quot;Com&#92;Tecnick&#92;Pdf&#92;Image&#92;IMAGETYPE&#95;SWC&quot;  There is no logo path set in Hikashop configuration page. I have tried adding one to see if this would resolve the issue, but it does not. I am using the Default invoice layout. I have tried switching to various layouts, but each product this error.  Please advise.")*

Hello,

Thank you for the report. The logo and the layout have nothing to do with it: on your server, PHP loads zlib as a separate extension, and in that case PHP does not define the IMAGETYPE_SWC constant the new PDF engine of the plugin relies on since 5.0.0. So the error comes up as soon as an invoice is generated, whatever the settings.

We've fixed it in PDF invoice 5.1.1, which the plugin now defines itself when PHP leaves it out. Please download it from your account and install it over your current version, your settings and layouts are kept. It should fix the blank page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDgzNi1wZGYtaW52b2ljZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.043 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
