on renaming a file, renaming doesn't take place...

  • Posts: 40
  • Thank you received: 2
10 years 2 weeks ago #178510

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.18
-- Browser(s) name and version -- : any

Here's how to reproduce.

1) Attach some file to a product.
2) After that, edit its file-name through the edit file form.
3) Try do download it through the frontend => this results in "file not found" error
4) Check file in Hikashop's upload/safe directory => Still old file name...
5) rename the file directly => Download works again.

Conclusion: the form does not really rename the file, but only the database entry.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 2 weeks ago #178535

Hello,
I just tested it and it worked fine for me, can you tell me where are you exactly trying to download your product file ?

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

  • Posts: 40
  • Thank you received: 2
10 years 2 weeks ago #178682

sent you a pm

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

  • Posts: 12953
  • Thank you received: 1778
10 years 2 weeks ago #178684

Note that the modification of product file name shouldn't affect the download path to your product file because only the file ID is used : "product/download/file_id-39".
Can you show me an example of a link which doesn't work ?

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

Time to create page: 0.102 seconds
Powered by Kunena Forum