Skip to main content

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

More
11 years 11 months ago #178510 by thesilentman
-- 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.

More
11 years 11 months ago #178535 by Mohamed Thelji
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.

More
11 years 11 months ago #178682 by thesilentman

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

More
11 years 11 months ago #178684 by Mohamed Thelji
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.130 seconds
Powered by Kunena Forum