ajax upload very slow

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 10 months ago #225777

-- url of the page with the problem -- : www.jouwnaambord.nl/naamborden/naamborde...met-eigen-afbeelding
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- Error-message(debug-mod must be tuned on) -- : no error message

Hi,

Since the last update to hikashop 2.6 the custom field with ajax upload is working very slow. For a file > 1Mb the uploadtime is too long and the progress bar isn't showing anything until the file is uploaded at the end. This is causing customers to hit the next button to soon and as a result a missing file. The same thing in the backend when uploading a samplefile for my customer. It takes to long to upload.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 10 months ago #225793

Hi,

Please edit the file "media/com_hikashop/js/opload.js" and replace

if(evt.lengthComputable)
By
if(!evt.lengthComputable)
It will fix the compute of upload progress and so, the display of the progress bar.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: michelpouli

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 10 months ago #225798

Hi Jerome,

Thanks again for your quick reply. Changed the code, it does work well now, thanks!

Michel.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum