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

#   Issue with Serial Stats in HikaMarket Frontend

##

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

Less More

- Posts: 128
- Thank you received: 2
-
-

10 years 3 months ago [\#247462](#247462) by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")  *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#247462 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")* was created by *[sabroso](/forum/user/38789-sabroso "View sabroso's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : INVALID_DATA

Hi there,

I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.

In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID_DATA.

In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).

In the backend the vendors have all the permits enabled in the “Default Store Access”.

Any idea what might be going wrong?

- [ ![2016-08-11-143713&#95;1366x768&#95;scrot-edited.png](/forum/attachment/32985) ](/forum/attachment/32985 "...rot-edited.png") [ ](/forum/attachment/32985?download=1 "...rot-edited.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247467](#247467) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#247467 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

The message "INVALID_DATA" is provided by HikaSerial.
That can happen if there is no "product_id" or "pack_id" parameter ; If the pack or the product do not belong to the vendor.

I can see the "edit" button for the pack, so can you please confirm that the product with id " 3 "is right assigned to the vendor you're currently using ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 128
- Thank you received: 2
-
-

10 years 3 months ago [\#247609](#247609) by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")  Replied by *[sabroso](/forum/user/38789-sabroso "View sabroso's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#247609 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

Yes, product with ID=3 and the rest of the products are correctly assigned to the vendor I am logged in with when showing the screenshot.

The same error message occurs when trying to see the stats for the other products as well.

Can you reproduce the error?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247636](#247636) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#247636 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

I am not able to reproduce the issue.
In my test website, I have a vendor with pack and products. I can display the stats with that vendor.
When I implemented the feature in HikaSerial, I perform these tests. That's why I am surprise of your problem.
So I think that I'll need an access to your website to check the data. But if you are still under "localhost", it will be difficult.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 128
- Thank you received: 2
-
-

10 years 2 months ago [\#249811](#249811) by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")  Replied by *[sabroso](/forum/user/38789-sabroso "View sabroso's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#249811 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

I did more troubleshooting on this issue and I found out the following:

- The issue appears when there are more than 1 product linked with a particular Pack of serials.

- If I only have one product linked with a particular pack then the stats show fine.

- Please see the attachment for further clarity

Is this the way it is supposed to work? So, if we want to see the detailed serial stats for one product in the front end of Hikamarket, then we need to create one pack per product?

Please advise, thanks!

- [ ![2016-09-14-122657&#95;1366x768&#95;scrot-edited.png](/forum/attachment/33419) ](/forum/attachment/33419 "...rot-edited.png") [ ](/forum/attachment/33419?download=1 "...rot-edited.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249819](#249819) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#249819 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

Thanks !

Please edit the file "administrator/components/com_hikaserial/classes/pack.php" and replace the line Code:

$vendorPackCache[$vendor_id][$pack_id] = ((int)$db-&gt;loadResult() == 1);

By Code:

$vendorPackCache[$vendor_id][$pack_id] = ((int)$db-&gt;loadResult() &gt; 0);

And it will fix the issue for the vendor pack detection.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 128
- Thank you received: 2
-
-

10 years 2 months ago [\#249843](#249843) by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")  Replied by *[sabroso](/forum/user/38789-sabroso "View sabroso's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#249843 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

Thanks, that sorts out the issue.

Will that change be applied to future versions of Hikaserial?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249844](#249844) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issue with Serial Stats in HikaMarket Frontend](/forum/22-market-bug-report/885977-issue-with-serial-stats-in-hikamarket-frontend#249844 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : INVALID&#95;DATA  Hi there,  I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.  In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID&#95;DATA.  In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).  In the backend the vendors have all the permits enabled in the “Default Store Access”.  Any idea what might be going wrong?")*

Hi,

Yes, it will.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.065 seconds

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