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

#   Problem with front-end big file upload

##

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 1 month ago [\#299160](#299160) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299160 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")* was created by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")*

-- HikaShop version -- : 3.5.1
-- HikaMarket version -- : 2.1.1
-- Joomla version -- : 3.8.6
-- PHP version -- : 5.6.20

Hello,
We are encoutering issues in the vendor dashboard : our vendors can't upload any big file.
In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%.
Our maximum size upload limit is ok (500 Mo).
The upload is by the way working fine in the back-end.
Many thanks
Marina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk1OTY5LXByb2JsZW0td2l0aC1mcm9udC1lbmQtYmlnLWZpbGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#299181](#299181) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299181 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

Hello,

Would it be possible to have more details about the context of the file upload ?

Is it for a product file ? Via a product custom field ?
Does the upload always stopped at the same "moment" ? Do you see any error message in the uploader or in the browser console log ?

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 1 month ago -  8 years 1 month ago [\#299199](#299199) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299199 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

> Is it for a product file ? Via a product custom field ?
> Does the upload always stopped at the same "moment" ? Do you see any error message in the uploader or in the browser console log ?

Yes it is for a product file, via the "files" section of the product modify page. (no custom field).

Here is an example with a zip file of 23Mo :
[img size=400px][ www.screencast.com/t/TcqTHXTKY](https://www.screencast.com/t/TcqTHXTKY)[/img]
The progress bar stopped at 53% after 30 seconds upload (we have a very fast fiber internet connection).
No error message in the brower console log nor in the uploader.

Here is what we have in the safe vendor folder :
[img size=200px][ www.screencast.com/t/nakLqXMsfH](https://www.screencast.com/t/nakLqXMsfH)[/img]

The file is splitted in equal size files of 8.3 Mo.

The number of files created varies according to the total size of the initial file.
Sometimes it suceeds to create the last file, sometimes not (like in this example).

Last edit: 8 years 1 month ago by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile").

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 1 month ago [\#299202](#299202) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299202 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

**Second issue .**

This time I used the "+" button, instead of previously the "download" button (the green arrow).

So this time the pdf file was uploaded correctly (in one file), not in the vendor folder but in the root folder (safe).

The problem is this time in the product page, a 404 page is displayed in the files area. The url mentioned by this 404 page is : [ www.site.com/compte-vendeur/product/file.../tmpl-component.html](https://www.site.com/compte-vendeur/product/file_entry/pid-36/cid-87/tmpl-component.html).
The product page url is : /compte-vendeur/product/edit/cid-36.html

If we click on "save" (or "apply"), and go back to the product page, nothing appears in the files area.
If after uploading I reload the page (without saving), the file appears in the files area.

If I delete the file, it does not appear anymore in the product page, but it still on the "safe" folder.

**Third issue :**

I did the same for a zip file, I saw the % of upload increasing until 100% and after that ... nothing.
The upload pop-up get reloaded (empty), there was nothing in the product page, nothing in the safe nor vendor folders, no error message.
I have this in the browser console :
[img size=600px ][ www.screencast.com/t/xqayxNOivoth](https://www.screencast.com/t/xqayxNOivoth)[/img]

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk1OTY5LXByb2JsZW0td2l0aC1mcm9udC1lbmQtYmlnLWZpbGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#299236](#299236) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299236 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

Hello,

I'm afraid that your explanations do not help me to understand the issue.

1 - HikaMarket (like HikaShop) cannot replace a file during the upload ; if the file already exists, it will add a suffix.
2 - HikaMarket use the same upload library than HikaShop.
3 - Even if you do not have an error in the console ; you might have a returned content by the uploader.

Right now, I suspect that a third party is added which affect the content returned by the ajax call.
It would explain why the library do not start the upload of the next chunk.

B - I cannot reproduce your issue for the missing "file_entry". If I call that URL for my local website (replacing values for pid and cid with one product id and one of it's file id), I right got some content.
If you click on save and the content is not correct, the file will be removed. But the ajax call for the files and image already assign the content with the product. Which mean that you can refresh the page (without saving) and the file should be there.

C - that information also make me think that a third party is altering the content of the ajax call by adding some extra content.

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 1 month ago [\#299275](#299275) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299275 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

> Jerome wrote: Hello,
> 1 - HikaMarket (like HikaShop) cannot replace a file during the upload ; if the file already exists, it will add a suffix.

So it is normal that several files for the same upload are generated in the folder (with different suffixes) ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk1OTY5LXByb2JsZW0td2l0aC1mcm9udC1lbmQtYmlnLWZpbGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#299276](#299276) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299276 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

Hello,

That behavior on the filename modification is also within HikaShop ; it just indicate that you're trying to upload a file which already exist in the server.
Now, since you do not have the issue in the backend and I cannot reproduce your issue in the front-end of test websites ; I do think that there is something which generate the issue. To confirm so I would need to see directly in your website (since we do not have the details about the ajax call response).

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 1 month ago [\#299328](#299328) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299328 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

Hello Jerôme,

I asked our developper (Teicee) to check if the problem(s) may come from our side and he found an issue (inconcistency between upload scripts of Hikashop and Hikmarket).
He did a patch that he shared here this morning : [ www.hikashop.com/forum/22-market-bug-rep...tibility.html#299325](https://www.hikashop.com/forum/22-market-bug-report/895995-front-end-file-upload-incompatibility.html#299325)

Actually, it did not solve entirely the problem, the progress bar goes to 100% now but files are not managed correctly (vendor rights management ? upload folder problem ??)

Where should I sent the accesses to our site ?

Many thanks

Marina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk1OTY5LXByb2JsZW0td2l0aC1mcm9udC1lbmQtYmlnLWZpbGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#299352](#299352) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with front-end big file upload](/forum/19-hikamarket/895969-problem-with-front-end-big-file-upload#299352 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6 -- PHP version -- : 5.6.20  Hello, We are encoutering issues in the vendor dashboard : our vendors can't upload any big file. In the case of a big pdf file (120 Mo), the file has been splitted into several files, and finally the upload stopped at 50%. Our maximum size upload limit is ok (500 Mo). The upload is by the way working fine in the back-end. Many thanks Marina")*

Hello,

HikaMarket 3.0 package contains modifications regarding the handling of uploads.
Please download HikaShop 3 in order to have these modifications. You can also see to integrate partially these modifications by updating the HikaMarket upload helper and the HikaMarket upload controllers (front and back).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODk1OTY5LXByb2JsZW0td2l0aC1mcm9udC1lbmQtYmlnLWZpbGUtdXBsb2FkP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.072 seconds

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