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

#   PDF plug in fails

##

- **[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")**
- [![iafdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33126-iafdesign "View iafdesign's Profile") Topic Author
- [ Offline](/forum/user/33126-iafdesign)

Less More

- Posts: 33
- Thank you received: 0
-
-

4 years 3 months ago [\#343317](#343317) by [iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")  *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343317 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")* was created by *[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.5
-- PHP version -- : 8.0.1
-- Browser(s) name and version -- : Vivaldi
-- Error-message(debug-mod must be tuned on) -- : cannot find media/com_hikashop/images/icons/icon-48-order.png

I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com_hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

4 years 3 months ago [\#343320](#343320) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343320 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")*

Hi,

Can you activate the "debug" setting of the joomla configuration and try again ? Please provide the exact full error message.

Are you sure that the error message is not "Unable to get the size of the image". It's a common issue with the PDF plugin. For example:
[ www.hikashop.com/support/forum/5-support...g/340607.html#340607](https://www.hikashop.com/support/forum/5-support-en-francais-french-support-/904201-pdf-invoice-inserer-un-petit-logo-jpg-ou-png/340607.html#340607)
This usually happens when either the web server is blocking access to the image because fo the user-agent provided by the plugin when retreiving the image ( [ geekflare.com/block-unwanted-requests/](https://geekflare.com/block-unwanted-requests/) ), or the web server doesn't allow PHP to establish connections to the outside ( [ serverfault.com/a/388720](https://serverfault.com/a/388720) ).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")**
- [![iafdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33126-iafdesign "View iafdesign's Profile") Topic Author
- [ Offline](/forum/user/33126-iafdesign)

Less More

- Posts: 33
- Thank you received: 0
-
-

4 years 3 months ago [\#343338](#343338) by [iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")  Replied by *[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")* on topic *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343338 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")*

Thank you for your reply. I've activated the Debug mode and created another order, then in the back end I set the order to confirmed. The error message is 'Could not access file: [ vegetablediary.co.uk/media/com\_hikashop/...es/icon-48-order.png](https://vegetablediary.co.uk/media/com_hikashop/images/icon-48-order.png)'. I've attached a screenprint of the error and also one of some errors that appeared when I created the order, they appeared when adding products to the shopping cart.

- [ ![2022-07-1910.04.14vegetablediary.co.ukbc61ab17404c.png](/forum/attachment/55267) ](/forum/attachment/55267 "...61ab17404c.png") [ ](/forum/attachment/55267?download=1 "...61ab17404c.png")
- [ ![2022-07-1910.02.48vegetablediary.co.uk4fef185c18f4.png](/forum/attachment/55268) ](/forum/attachment/55268 "...ef185c18f4.png") [ ](/forum/attachment/55268?download=1 "...ef185c18f4.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

4 years 3 months ago [\#343339](#343339) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343339 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")*

Hi,

That's an image which is by default in HikaShop.
Did you delete that image ?
Could you restore it ?
If you download the install package of Hikashop on our website, you can find the image in media/images/icons/icon-48-order.png in the zip.
And if the image is already there, it means that you have something else on your web server blocking access to that file, like a htaccess rule, or a web server configuration rule.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")**
- [![iafdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33126-iafdesign "View iafdesign's Profile") Topic Author
- [ Offline](/forum/user/33126-iafdesign)

Less More

- Posts: 33
- Thank you received: 0
-
-

4 years 3 months ago [\#343353](#343353) by [iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")  Replied by *[iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")* on topic *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343353 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")*

Thank you for your prompt reply.
The file is definitely visible on the server and I've tried adding the filename to the htaccess file to avoid it being blocked. I've worked around the problem by commenting out the reference to the icon image in the email text and it now produces the PDF correctly.

One other question is it possible to edit the PDF invoice text?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

4 years 3 months ago [\#343355](#343355) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF plug in fails](/forum/35-orders-management/904745-pdf-plug-in-fails#343355 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.1 -- Browser(s) name and version -- : Vivaldi -- Error-message(debug-mod must be tuned on) -- : cannot find media/com&#95;hikashop/images/icons/icon-48-order.png  I've just bought the PDF plugin for invoices, but when I test it out I get an error message that media/com&#95;hikashop/images/icons/icon-48-order.png can't be found. The file is in the folder and I've added the folder to Admin Tools in case that was blocking access but I still can't get it to work.")*

Hi,

Yes.

Texts use translation keys, so you can use translation overrides to modify them:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
Otherwise, for more complex modifications, you can edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php to change the PDF rendering.

The following user(s) said Thank You: [iafdesign](/forum/user/33126-iafdesign "View iafdesign's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0NS1wZGYtcGx1Zy1pbi1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.212 seconds

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

[](#top)
