File not found on downloadable link

  • Posts: 13
  • Thank you received: 1
  • Hikaserial Standard Hikashop Business
11 months 5 days ago #357727

-- url of the page with the problem -- : webshop.thepride.nl/
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.0.2
-- PHP version -- : 8.1.24
-- Browser(s) name and version -- : FireFox 120.0
-- Error-message(debug-mod must be tuned on) -- : It does not provide a error, except file not found.

Hi There,


So, we've got our hikashop and hikaserial running smoothly, e-tickets are being sold, but, so now and then there comes a customer complaint that they could not download their e-tickets.

In the example below, you see that there are 4 e-tickets purchased, so far, so good.



When i click the Download button on one of the tickets, it states "File not found", it does that with 3 tickets, 1 ticket is working.

If i take a look at the HTML code which is behind the Download buttons i see:




The strange thing here is, the working e-ticket got HTML ending with
file_pos=2
, all other non working cards have:
file_pos=5
,
file_pos=7
or
file_pos=8

When i manually change the code to file_pos=1, 3, or 4, then it works, and i got the proper e-tickets.


This is on the admin part of hikashop, but the e-mail to the customer also got 1 out of 4 e-tickets and the customer order page also have 1 working e-ticket download button.

This is the same question as asked in https://www.hikashop.com/forum/15-general-talk-about-hikaserial/907472-file-not-found-on-downloadable-link.html , but it doesn't seem to be a HikaSerial issue.

How can this be solved?


Like to hear from you,

Kind regards,
Patrick Lieftink

Last edit: 11 months 5 days ago by plieftinkpride.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 months 4 days ago #357734

Hi,

I've made a patch in HikaShop which should hopefully help.
Download again the install package of HikaShop 5.0.2 on our website and install it on yours in order to get the patch.

The following user(s) said Thank You: plieftinkpride

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 1
  • Hikaserial Standard Hikashop Business
11 months 4 days ago #357741

Hi Nicolas,


Thanks for your update, i've installed the latest version.
Does this fix only apply on new orders, or does it also work on existing orders?


Kind regards,

Patrick Lieftink

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 months 4 days ago #357742

Hi,

The fix also apply to existing orders.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 1
  • Hikaserial Standard Hikashop Business
11 months 4 days ago #357746

Hi Nicolas,


In that case, the fix is not working, i still see that the file_pos fields are 5, 2, 7 and 8.


Kind regards,
Patrick Lieftink

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 months 4 days ago #357759

Hi,

I'm not able to reproduce the issue on my end on my local test server.
So I'll need a backend access and a FTP access in order to look at the situation.
Could you provide that via our contact form ?
www.hikashop.com/support/contact-us.html
Please include a link to this thread for reference in your message

The following user(s) said Thank You: plieftinkpride

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 1
  • Hikaserial Standard Hikashop Business
11 months 3 days ago #357773

Hi Nicolas,


I've send the details via the contact form.


As example you can take order: T4L01


Kind regards,

Patrick Lieftink

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 1
  • Hikaserial Standard Hikashop Business
11 months 3 days ago #357779

Hi Nicolas,


I see that the file_pos is now incrementing, what did you do? Or is it magic..?




Thanks again,

Kind regards,
Patrick

Last edit: 11 months 3 days ago by plieftinkpride.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 months 3 days ago #357776

Hi,

Thank you.
I've made another patch which fixes the problem.
It seems to work fine on your website now.
I've also added the patch to the install package available on our website so for anyone with the issue, you can download again the install package of HikaShop on our website and install it on yours to get the patch.

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum