[Skip to main content](#vessel-content)

#   File Not Found message

##

- **[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")**
- [![raggatt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6437-raggatt "View raggatt's Profile") Topic Author
- [ Offline](/forum/user/6437-raggatt)

Less More

- Posts: 29
- Thank you received: 1
-
-

13 years 10 months ago -  13 years 10 months ago [\#80539](#80539) by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")  *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80539 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")* was created by *[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")*

Greetings,

I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE_SERIES.zip on my hard drive becomes entire_series_1683134615.zip. Please see attached screenshot.

I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.

But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message "File Not Found".

If I leave the filename alone, with the _(random number) at the end, it downloads okay.

Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?

I hope this question is clear and makes sense. Thank you.

- [ ![filename.jpg](/forum/attachment/7394) ](/forum/attachment/7394 "filename.jpg") [ ](/forum/attachment/7394?download=1 "filename.jpg")

Last edit: 13 years 10 months ago by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")**
- [![raggatt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6437-raggatt "View raggatt's Profile") Topic Author
- [ Offline](/forum/user/6437-raggatt)

Less More

- Posts: 29
- Thank you received: 1
-
-

13 years 10 months ago -  13 years 10 months ago [\#80575](#80575) by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")  Replied by *[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80575 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Using Filezilla, I just looked in the folder media/com_hikashop/upload/safe/
There are a bunch of files in this folder, which are .pdf and .zip files uploaded as previous product drafts.
If I delete all of the files in this folder, and upload the latest drafts of my documents again so they're the only ones in this folder, will this resolve the issue?

Last edit: 13 years 10 months ago by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 10 months ago [\#80588](#80588) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80588 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

You should delete all the files there and upload them again on the products edition page and they will have the correct name. Then, if you need to update the files, you can directly overwrite them in that folder via FTP.

The following user(s) said Thank You: [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")**
- [![raggatt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6437-raggatt "View raggatt's Profile") Topic Author
- [ Offline](/forum/user/6437-raggatt)

Less More

- Posts: 29
- Thank you received: 1
-
-

13 years 10 months ago [\#80621](#80621) by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")  Replied by *[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80621 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Thanks very much for your reply.

Can you also tell me if there is a way to choose the file ID number, which is usually automatically assigned? I'd like the file ID numbers to be in consecutive order, without the big gaps in between them caused by deleted files.

Thanks again!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#80638](#80638) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80638 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Hi,

The file number is generated in the HikaShop core, it uses a random number.
If you want to change this logical, you should edit the HikaShop core.
Modifying HikaShop core file is not really recommended because, you would loose your modification with updates (or you would not be able to update).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")**
- [![raggatt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6437-raggatt "View raggatt's Profile") Topic Author
- [ Offline](/forum/user/6437-raggatt)

Less More

- Posts: 29
- Thank you received: 1
-
-

13 years 10 months ago -  13 years 10 months ago [\#80735](#80735) by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")  Replied by *[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80735 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Thanks for your reply Jerome.

I'm not sure if I worded my question correctly. I was asking about the number shown in the attached screenshot, which is applied to each upload in consecutive order (not random). This is a different number the one I first asked about above.

Does this change your answer, regarding being able to change this File ID number?

Thanks again for your help!

- [ ![File&#95;ID&#95;Number.jpg](/forum/attachment/7417) ](/forum/attachment/7417 "...&#95;ID&#95;Number.jpg") [ ](/forum/attachment/7417?download=1 "...&#95;ID&#95;Number.jpg")

Last edit: 13 years 10 months ago by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#80763](#80763) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80763 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Hi,

Ah, this one !
The "ID" number is managed by the database. You could change them using a database manager like PhpMyAdmin. But you would have to be carefull because, if you change a file_id, you would have to change all references in the database.
MySQL does not support "cascade constraints" (Foreign Keys) like MsSQL or PGSQL.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")**
- [![raggatt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6437-raggatt "View raggatt's Profile") Topic Author
- [ Offline](/forum/user/6437-raggatt)

Less More

- Posts: 29
- Thank you received: 1
-
-

13 years 10 months ago [\#80841](#80841) by [raggatt](/forum/user/6437-raggatt "View raggatt's Profile")  Replied by *[raggatt](/forum/user/6437-raggatt "View raggatt's Profile")* on topic *[File Not Found message](/forum/2-general-talk-about-hikashop/76460-file-not-found-message#80841 "Greetings,  I'm selling downloadable PDF documents, which are in ZIP files. When I upload a ZIP file, an underscore and random number are added to the end of the filename (capital letters are also changed to lowercase) For example, the ZIP file named ENTIRE&#95;SERIES.zip on my hard drive becomes entire&#95;series&#95;1683134615.zip. Please see attached screenshot.  I've changed the filename in the upload window (shown in the screenshot) so when people download the file, the name doesn't have the long random number at the end of it. When I do, it appears to be saved successfully and the filename appears as intended on the back end product page.  But, when doing a test buy, and clicking on the download link (either in the email sent to the buyer, or the Order No. page on my website front end) I get the message &quot;File Not Found&quot;.  If I leave the filename alone, with the &#95;(random number) at the end, it downloads okay.  Can you please tell me how can I change the filename, to get rid of the random number, and have it still download as it should?  I hope this question is clear and makes sense. Thank you.")*

Oh, too bad! But, as always, I appreciate your reply and help. Thank you very much!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDYwLWZpbGUtbm90LWZvdW5kLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.075 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
