Skip to main content

File not found on downloadable link

2 years 10 months ago - 2 years 10 months ago #357727 by plieftinkpride
-- 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
Code:
file_pos=2
, all other non working cards have:
Code:
file_pos=5
,
Code:
file_pos=7
or
Code:
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 www.hikashop.com/forum/15-general-talk-a...wnloadable-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: 2 years 10 months ago by plieftinkpride.

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

2 years 10 months ago #357734 by nicolas
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.

2 years 10 months ago #357741 by plieftinkpride
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.

2 years 10 months ago #357742 by nicolas
Hi,

The fix also apply to existing orders.

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

2 years 10 months ago #357746 by plieftinkpride
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.

2 years 10 months ago #357759 by nicolas
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.

2 years 10 months ago #357773 by plieftinkpride
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.

2 years 10 months ago - 2 years 10 months ago #357779 by plieftinkpride
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: 2 years 10 months ago by plieftinkpride.

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

2 years 10 months ago #357776 by nicolas
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.409 seconds
Powered by Kunena Forum