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

#   Ajax file - custom field doesn't complete upload

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago -  9 years 8 months ago [\#260915](#260915) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#260915 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")* was created by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")*

-- HikaShop version -- : 3.0.0

Hi
I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached).
The normal "files area" works just fine if I drop the same files in that.

Can you confirm this bug?

EDIT: The file IS uploaded to the media/com_hikashop/upload/safe folder, but upload doesn't complete, so the file is never "registered" with the product.

- [ ![Skrmbillede2017-01-31kl.11.19.40.png](/forum/attachment/35955) ](/forum/attachment/35955 "...l.11.19.40.png") [ ](/forum/attachment/35955?download=1 "...l.11.19.40.png")

Last edit: 9 years 8 months ago by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 8 months ago [\#260917](#260917) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#260917 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Hi,

So I did a test on my end but I didn't get that behavior.
I actually found another bug with custom fields of the type ajax file/image and the table "item" which I fixed and added the patch to the install package on our end.
If your custom field is of that table, then it might help.
Otherwise, it's likely not a bug of the 3.0.0 but simply a problem with the permissions preventing HikaShop from uploading the file or moving it to the destination folder or something.
Try to download the install package on our website again and install it on your website.
Check that the HikaShop's upload folder permissions and the ones of the tmp folder of Joomla and PHP are correct too.
If you still have the problem after that, could you provide a screenshot of the settings of your custom field so that we can try to reproduce the problem in close conditions to what you have ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago [\#260988](#260988) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#260988 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

I've updated with the latest hikashop available on download. Issue remains.
Please see this video of the issue: [ dl.dropboxusercontent.com/u/2592749/hika...\_ajax\_file\_issue.mp4](https://dl.dropboxusercontent.com/u/2592749/hikashop_ajax_file_issue.mp4)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 8 months ago [\#261017](#261017) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261017 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Hi,

See why we tell you to provide as much information as possible when you post a new thread.
The issue you have only happens with a custom field of the table "product" while we tested with a custom field of the table "item" (the most used one for ajax file/image custom fields). That's why we couldn't reproduce the problem.
Thanks to the settings of the custom field in the video, I could reproduce the problem and fix it. I added the patch to the install package on our end so you can download it again and install it on your website in order to get that fixed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago [\#261071](#261071) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261071 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Thanks - seems to be working now. It is, however, not possible to link multiple files in the Ajax File field, like with product files?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago -  9 years 8 months ago [\#261072](#261072) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261072 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Another thing I noticed - I have translated some of my custom fields in a language override. They're still translated in frontend but no longer in backend?

I also noticed, that even though I have "Quantity field on 'Add to cart' button" set to no, I still get a quantity field on my product page. Menu item set to inherit on Quantity field - even tried setting it to no. Still displaying the quantity field?

Last edit: 9 years 8 months ago by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)
-

9 years 8 months ago [\#261075](#261075) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261075 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Hi,

1 - That's right, the "file" custom field just allow to upload one single file.
Maybe an option will be added in the future to allow multiple file but some restrictions should be added too.

2 - Which setting are you talking about exactly ?
Can you provide a screenshot of your configuration ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago -  9 years 8 months ago [\#261188](#261188) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261188 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

will get back with screenshots - do you have an idea about this:

Another thing I noticed - I have translated some of my custom fields in a language override. They're still translated in frontend but no longer in backend?

What could cause this issue? I mean, the translation works in frontend, but not in backend for the same custom fields?

If I debug language in backend, I see other language constants marked like this: **Label** whereas my custom fields have ??Label??
From Joomla documentation: (text surrounded by pairs of question marks) indicates that the string is translatable but no match was found in the language definition file.

EDIT: My bad!!! Had switched backend language, so was missing the translated strings. So stupid!

Last edit: 9 years 8 months ago by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 8 months ago [\#261194](#261194) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261194 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

Hi,

We would also need more information for that issue. Could you do a screenshot of the custom field settings, of the translation overrides for it, and of the place in the backend where that happens ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 8 months ago [\#261256](#261256) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Ajax file - custom field doesn't complete upload](/forum/3-bug-report/888584-ajax-file-custom-field-doesnt-complete-upload#261256 "-- HikaShop version -- : 3.0.0  Hi I've created a custom field of type ajax file. Whenever I drop files (pdf) to the ajax file drop area, they never completes (see attached). The normal &quot;files area&quot; works just fine if I drop the same files in that.  Can you confirm this bug?  EDIT: The file IS uploaded to the media/com&#95;hikashop/upload/safe folder, but upload doesn't complete, so the file is never &quot;registered&quot; with the product.")*

No issue regarding the translation of the custom fields. Was a simple mistake by me. Had switched backend language, so was missing the translated strings in the active backend language...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODg1ODQtYWpheC1maWxlLWN1c3RvbS1maWVsZC1kb2VzbnQtY29tcGxldGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.465 seconds

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

[](#top)
