Shared files - nothing uploads

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/17/2014 2:07:19 PM
Gravatar
Total Posts 55

Shared files - nothing uploads

I just upgraded to 2.4.0.3 and I am now having an issue with uploading files. I'm using the Shared Files module which worked before the upgrade. Now I can select the file to upload and press the upload button. Everything seems to work (no errors) but the file doesn't show up in the file list. I looked at the log file and no errors in there that I can see relating to a system issue. Any ideas?

4/17/2014 2:13:13 PM
Gravatar
Total Posts 18439

Re: Shared files - nothing uploads

what version did you upgrade from?

did you use the new Web.config or tried to keep your old one? you must use the new one and restore any customizations such as machinekey from the old one to the new one.

are there any javascript errors happening on the page? use the web browser dev tools to check the console for script errors. any script erros even ones unrelated to the file upload will cause it to fail.

4/17/2014 2:23:36 PM
Gravatar
Total Posts 55

Re: Shared files - nothing uploads

I'm not sure what the version was before but it was over a year old.

I used the new included web.config file. I also tried the fully trusted web.config with no luck. Copied over machinekey.

Not sure what you mean by web browser dev tools?

4/17/2014 2:34:34 PM
Gravatar
Total Posts 55

Re: Shared files - nothing uploads

Found the Developer Tools in FireFox. On this page all I have is the shared files content item added.

This is what I see in the developer tool:

GET http://staffzone.cccsd.org/BOE/board-packets.aspx [HTTP/1.1 200 OK 125ms]
GET http://staffzone.cccsd.org/BOE/csshandler.ashx [HTTP/1.1 200 OK 47ms]
TypeError: $ is undefined jquery.iframe-transport.js:38
TypeError: $ is undefined jquery.fileupload.js:33
ReferenceError: jQuery is not defined ScriptResource.axd:128
ReferenceError: $ is not defined board-packets.aspx:539
ReferenceError: $ is not defined board-packets.aspx:552
ReferenceError: $ is not defined board-packets.aspx:555
GET http://staffzone.cccsd.org/Data/Sites/6/skins/mitchinson-business3/pagebg-2.png [HTTP/1.1 404 Not Found 32ms]
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery.min.js:3

 

4/17/2014 2:43:13 PM
Gravatar
Total Posts 18439

Re: Shared files - nothing uploads

there is only 1 web.config in the package these days if you used one named fulltrust then its an old one, you must use the new one which has no references to NeatUpload and its a good idea to delete the Brettle.Web.NeatUpload.dll from the bin folder just to make sure it is n't interfering.

See also the article Supporting Large File Uploads which has all the information I know for troubleshooting upload problems.

all web browsers have built in dev tools, how you get to it depends on which browser you are using, IE for example the F12 key opens dev tools, then you need to look in the console for script errors

good idea to review important skin changes because old skins probably need the jquery migrate plugin enabled to fix script errors. any script error on the page even if unrelated to the new file uploader will break it.

you might also try uploading on our demo site to see how it is supposed to work to better know what it is not doing on your site

4/17/2014 2:48:49 PM
Gravatar
Total Posts 18439

Re: Shared files - nothing uploads

the problem is something with your skin, it has old versions of jquery and jqueryui and they are loaded at the bottom of the page when they should be at the top, the file uploader depends on jquery and it must be loaded first

I suggest copy one of the newer skins from /Data/skins into /Data/Sites/1/skins and try that, and then see about what needs to be fixed in your old skin.

4/17/2014 3:09:07 PM
Gravatar
Total Posts 55

Re: Shared files - nothing uploads

It is the skin causing the problem. I copied over the skins included with the update and tried a few. Found one that works. Might have to use the master.layout change to get past this for now. Thanks for your quick response and assistance.

You must sign in to post in the forums. This thread is closed to new posts.