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

#   attach Invoice

##

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

Less More

- Posts: 51
- Thank you received: 8
-
-

3 years 2 months ago [\#355250](#355250) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  *[attach Invoice](/forum/5-support-en-francais-french-support-/907022-attach-invoice#355250 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8 -- Browser(s) name and version -- : Brave  Bonjour,  j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.  Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit : Mise en page show&#95;order&#95;back&#95;invoice introuvable.  de mon côté en back end je peux lui imprimer sa facture. Auriez-vous svp une idée pour corriger ce problème?  Cordialement, Nicolas")* was created by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")*

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.4
-- PHP version -- : 8
-- Browser(s) name and version -- : Brave

Bonjour,

j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.

Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit :
Mise en page show_order_back_invoice introuvable.

de mon côté en back end je peux lui imprimer sa facture.
Auriez-vous svp une idée pour corriger ce problème?

Cordialement,
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MDIyLWF0dGFjaC1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 2 months ago [\#355253](#355253) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[attach Invoice](/forum/5-support-en-francais-french-support-/907022-attach-invoice#355253 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8 -- Browser(s) name and version -- : Brave  Bonjour,  j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.  Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit : Mise en page show&#95;order&#95;back&#95;invoice introuvable.  de mon côté en back end je peux lui imprimer sa facture. Auriez-vous svp une idée pour corriger ce problème?  Cordialement, Nicolas")*

Bonjour,

Pourriez-vous reproduire le souci après avoir activé l'option "debug" de la configuration ? Cela permettra d'avoir le message d'erreur complet pour mieux comprendre d'où vient le problème.

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

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

Less More

- Posts: 51
- Thank you received: 8
-
-

3 years 2 months ago [\#355254](#355254) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  Replied by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")* on topic *[attach Invoice](/forum/5-support-en-francais-french-support-/907022-attach-invoice#355254 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8 -- Browser(s) name and version -- : Brave  Bonjour,  j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.  Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit : Mise en page show&#95;order&#95;back&#95;invoice introuvable.  de mon côté en back end je peux lui imprimer sa facture. Auriez-vous svp une idée pour corriger ce problème?  Cordialement, Nicolas")*

Bonjour,
merci de votre réponse, ci-après le log:
Call stack
\# Function Location
1 () JROOT/libraries/src/MVC/View/HtmlView.php:420
2 Joomla\\CMS\\MVC\\View\\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com\_hikaserial/helpers/helper.php:959
3 hikaserialView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\\CMS\\MVC\\View\\HtmlView-&gt;display() JROOT/administrator/components/com\_hikaserial/helpers/helper.php:808
5 hikaserialView-&gt;display() JROOT/components/com\_hikaserial/views/orderserial/view.html.php:18
6 orderserialViewOrderserial-&gt;display() JROOT/administrator/components/com\_hikaserial/helpers/helper.php:233
7 hikaserial::getLayout() JROOT/plugins/hikashop/serials/serials.php:358
8 plgHikashopSerials-&gt;onAfterOrderProductsListingDisplay() JROOT/libraries/src/Plugin/CMSPlugin.php:284
9 Joomla\\CMS\\Plugin\\CMSPlugin-&gt;Joomla\\CMS\\Plugin\\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
10 Joomla\\Event\\Dispatcher-&gt;dispatch() JROOT/libraries/src/Application/EventAware.php:111
11 Joomla\\CMS\\Application\\WebApplication-&gt;triggerEvent() JROOT/plugins/hikashop/attachinvoice/attachinvoice/invoice.php:455
12 require() JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:99
13 plgHikashopAttachinvoice-&gt;\_getPDFInvoice() JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:252
14 plgHikashopAttachinvoice-&gt;onHikashopBeforeDisplayView() JROOT/libraries/src/Plugin/CMSPlugin.php:284
15 Joomla\\CMS\\Plugin\\CMSPlugin-&gt;Joomla\\CMS\\Plugin\\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
16 Joomla\\Event\\Dispatcher-&gt;dispatch() JROOT/libraries/src/Application/EventAware.php:111
17 Joomla\\CMS\\Application\\WebApplication-&gt;triggerEvent() JROOT/administrator/components/com\_hikashop/helpers/helper.php:2800
18 hikashopView-&gt;display() JROOT/components/com\_hikashop/views/order/view.html.php:24
19 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
20 Joomla\\CMS\\MVC\\Controller\\BaseController-&gt;display() JROOT/administrator/components/com\_hikashop/helpers/helper.php:2552
21 hikashopController-&gt;display() JROOT/components/com\_hikashop/controllers/order.php:258
22 orderController-&gt;invoice() JROOT/libraries/src/MVC/Controller/BaseController.php:678
23 Joomla\\CMS\\MVC\\Controller\\BaseController-&gt;execute() JROOT/administrator/components/com\_hikashop/helpers/helper.php:2530
24 hikashopController-&gt;execute() JROOT/components/com\_hikashop/hikashop.php:88
25 require\_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
26 Joomla\\CMS\\Dispatcher\\LegacyComponentDispatcher::Joomla\\CMS\\Dispatcher\\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
27 Joomla\\CMS\\Dispatcher\\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
28 Joomla\\CMS\\Component\\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
29 Joomla\\CMS\\Application\\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
30 Joomla\\CMS\\Application\\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
31 Joomla\\CMS\\Application\\CMSApplication-&gt;execute() JROOT/includes/app.php:61
32 require\_once() JROOT/index.php:32

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MDIyLWF0dGFjaC1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 2 months ago [\#355257](#355257) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[attach Invoice](/forum/5-support-en-francais-french-support-/907022-attach-invoice#355257 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8 -- Browser(s) name and version -- : Brave  Bonjour,  j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.  Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit : Mise en page show&#95;order&#95;back&#95;invoice introuvable.  de mon côté en back end je peux lui imprimer sa facture. Auriez-vous svp une idée pour corriger ce problème?  Cordialement, Nicolas")*

Hi,

Thanks. I think it comes from the last update we did to the PDF invoice plugin, combined with the use of HikaSerial.
Edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php via FTP and change the line: Code:

$app-&gt;triggerEvent('onAfterOrderProductsListingDisplay', array(&amp;$order, 'order_back_invoice'));

to: Code:

$mode = 'order_front_show'; if(hikashop_isClient('administrator')) $mode = 'order_back_invoice'; $app-&gt;triggerEvent('onAfterOrderProductsListingDisplay', array(&amp;$order, $mode));

It should hopefully prevent HikaSerial from trying to load the wrong view file.
Let me know how it goes so that we can include the patch on our end.

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

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

Less More

- Posts: 51
- Thank you received: 8
-
-

3 years 2 months ago [\#355259](#355259) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  Replied by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")* on topic *[attach Invoice](/forum/5-support-en-francais-french-support-/907022-attach-invoice#355259 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8 -- Browser(s) name and version -- : Brave  Bonjour,  j'utilise également HikaSubscription 4.0.2 et attachInvoice (re)acheté hier.  Quand un client se connecte à l'espace 'mon compte' sur le front end du site pour imprimer la facture correspondant à son achat, il s'ensuit une page d'erreur qui dit : Mise en page show&#95;order&#95;back&#95;invoice introuvable.  de mon côté en back end je peux lui imprimer sa facture. Auriez-vous svp une idée pour corriger ce problème?  Cordialement, Nicolas")*

super,

ça fonctionne, merci de la résolution rapide du pb

++

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3MDIyLWF0dGFjaC1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) 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.047 seconds

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