Report an issue

Found a bug you'd like to tell us about?
 

 Here’s what to do…Login, Select an ‘Issue Category’ from below and click on the "New Issues” button.

 Please note that support questions will not be handled here. If you need hands on technical support please take out a subscription.

Warning

JUser: :_load: Unable to load user with ID: 106

#86 – Rar upload problem

Posted in ‘ Ark Media’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 11 November 2015 10:07 GMT
artofmedia

While uploading some *.rar files it works perfect in Ark Media / Documents. But choosing another rar-file gives me "SyntaxError: Unexpected token N". 

I´ve tried to replicate the error by using different files, different RAR compress programs but can´t see a pattern on which files that is working or not. All files in the screen dump i compressed with Winrar and one of them is rejected. Size of the files doesn´t matter it works both with 2mb as 8 mb files. And I dont use any strange chars in filenames...

Any idea?

Custom Fields
Server type
Window
Web server type
Apache
ARK product version
1.7.5
Joomla! version
3.4.5
PHP Version
5.5.9-1ubuntu4.14
Web browser
Chrome
Errors log
SyntaxError: Unexpected token N
Steps to replicate the issue
While uploading some *.rar files it works perfect in Ark Media / Documents. But choosing another rar-file gives me "SyntaxError: Unexpected token N".
Attachment
Wednesday, 11 November 2015 11:45 GMT
paulc

Hi artofmedia,

Thank you for your ticket & the helpful screen shot. We have run some more tests with .rar packages and have not been able to reproduce any issues on Apache servers. However we have noticed that on Windows server's if you upload multiple files at once, Joomla can throw errors which cause the upload to display an error message. This is not localised to .rar files but all types so could you try the following on your system please:

  • Drag & drop multiple files into the drop area and click start upload to upload all at once. Keep trying this process till error is thrown, then refresh the page. Did the file that had an error on it actually upload regardless of the error?
  • Drag & drop multiple files of different files types such as images or .zip & .7z packages and see if the errors occur.
  • We were able to replicate an error when uplaoding 4 files at once, every other attempt.

Failing that could you confirm that you are running on a windows server & that you are using the steps I mentioned to upload files. As although we found an error it wasn't the same error that you have mentioned in your screenshot.

If you are able to link the issue to a specific file please can you send it to us via Dropbox or http://expirebox.com.

Regards,

Paul

Wednesday, 11 November 2015 12:06 GMT
artofmedia

Hi again,

I´ve tried to add multiples files as described and uploaded them. Same results as before.
Zip-files works and some rar-files.
They are not uploaded "regardless the error" when I refresh the page.

I´ve uploaded one of the files not working here: www.artofmedia.se/OLDswin10.rar
Could it be corrupt in some way? Could you please try to upload it on one of your pages to see if you can replicate the error that way?

-----------------------------------------------
SYSTEM INFORMATION

PHP Built On Linux apache13 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 Database Version 5.5.46-0+deb7u1 Database Collation latin1_swedish_ci PHP Version 5.5.9-1ubuntu4.14 Web Server Apache/2.4.7 (Ubuntu) WebServer to PHP Interface apache2handler Joomla! Version Joomla! 3.4.5 Stable [ Ember ] 22-October-2015 21:30 GMT Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36

 

 

Monday, 16 November 2015 10:08 GMT
artofmedia

Hi again, 

No news about above question?
Do you need any more information?

Regards 
Joakim

Monday, 16 November 2015 11:54 GMT

Hi Joakim,

Thank you for providing us with the zip file to test and for giving us your system information. We have tested this, with the file you provided and we were able to succesfully upload it. Now that we can see, that you are using Ubuntu, we will try testing again, in an Ubuntu test environment, to try and reproduce this issue.

Kindest Regards,

Louisa

Tuesday, 01 December 2015 06:38 GMT
paulc

Hi Joakim,

We're run some more tests and can't forsee any issues linked to Ubuntu, however we do now have some fixes related to the Upload process which we will include in an upcoming release of the Ark Media. When this version is available we will let you know so that we can confim whether this resolves your current issue.

Regards,

Paul

WebxSolution Ltd is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Copyright © 2009 - 2016 WebxSolution Ltd
Powered by JoomlaWired