- Posts: 40
- Thank you received: 2
on renaming a file, renaming doesn't take place...
- thesilentman
-
Topic Author
- Offline
Less
More
11 years 11 months ago #178510
by thesilentman
on renaming a file, renaming doesn't take place... was created 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.
-- 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.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 11 months ago #178535
by Mohamed Thelji
Replied by Mohamed Thelji on topic on renaming a file, renaming doesn't take place...
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 ?
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.
- thesilentman
-
Topic Author
- Offline
Less
More
- Posts: 40
- Thank you received: 2
11 years 11 months ago #178682
by thesilentman
Replied by thesilentman on topic on renaming a file, renaming doesn't take place...
sent you a pm
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 11 months ago #178684
by Mohamed Thelji
Replied by Mohamed Thelji on topic on renaming a file, renaming doesn't take place...
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 ?
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