WYSIWYG Image Uploading

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.
10/28/2011 11:17:17 AM
Gravatar
Total Posts 2239

WYSIWYG Image Uploading

Hi Joe,

We upgraded a client site the other day from 2.3.6.6 to 2.3.7.0 and since then they haven't been able to upload files using the WYSIWYG file manager.

We're able to upload files using the regular File Manager and the logs are being written to properly. There aren't any errors in the log concerning file uploads. The files do appear in the NeatUpload_Temp directory as .config files as they are being uploaded and then they disappear after the upload completes. This is when mojo moves the file to the final destination, but they never get there. They just go away.

We've searched the clients hosting space for the files we're uploading and we can't find them. We even did a search based on date, just in case they aren't being renamed from the .config.

We upgraded other sites to 2.3.7.0 on the same server using the same db server and they aren't having any issues at all.

Do you have any clues on what could be causing this problem?

Thanks,
Joe D.

10/28/2011 11:31:38 AM
Gravatar
Total Posts 18439

Re: WYSIWYG Image Uploading

Hey Joe,

Sorry I don't know why it would work in some installations and not others. You mighty try re-deploying the files.

Is the media folder where they are being uploaded? Is that mapped as a Virtual directory to a different location in the file system?

Does unchecking the box to resize the images affect it? I patched the release yesterday to fix a bug with resizing images.

Best,

Joe

10/28/2011 12:29:58 PM
Gravatar
Total Posts 2239

Re: WYSIWYG Image Uploading

Hi Joe,

It doesn't matter which folder we try to upload to, we get the same result (all of them are inside \data\sites\1\). None of their folders are a Virtual directory. Unchecking the resize image box doesn't affect it. We're using the very latest copy of the files you uploaded yesterday. I made sure to download it again yesterday.

I'll keep plugging away at it.

Thanks,
Joe
 

10/28/2011 12:43:58 PM
Gravatar
Total Posts 18439

Re: WYSIWYG Image Uploading

Other things to check.

try disabling NeatUpload see if that affects it.

make sure it is using the latest version of the editor as defined in the Web.config settings.

try each of the editors and see if that affects it

anything else about the installation that you can tell me may give clues. like is it a root site, multi site, does it happen in all features where you try it?

the skins shouldn't be a factor but I'd still try changing it.

Best,

Joe

10/31/2011 1:04:30 PM
Gravatar
Total Posts 2239

Re: WYSIWYG Image Uploading

Hi Joe,

I found the culprit. The "Quota" settings (listed below) in the web.config were blocking any further uploads when using the FileDialog.aspx page. The File Manager isn't using these "Quota" settings yet so that explains why uploads were working fine there.

I know the settings were in the web.config in 2.3.6.6 but I don't think they were used by the FileDialog.aspx page. Can you confirm?

At any rate, this client has nearly 30GB of data and over 60k files in their data\sites\1 directory so I upped the quota values and everything is fine again.

I managed to find this because I tried to create a new folder using the FileDialog and I received an error stating "Your permissions don't allow you to create any more folders" which prompted me to look for that string in the Resource.resx and then find it's resource name in the source.

Now for a feature request: can you add a similar message for any other scenarios when a quota is met?

Thanks,
Joe D.

10/31/2011 1:11:49 PM
Gravatar
Total Posts 2239

Re: WYSIWYG Image Uploading

Oops, forgot to list the quota values that I was speaking of.

  • <add key="UserFolderDiskQuotaInMegaBytes" value="300"/>
  • <add key="MediaFolderDiskQuotaInMegaBytes" value="6000"/>
  • <add key="AdminDiskQuotaInMegaBytes" value="12000"/>
  • <add key="UserFolderMaxSizePerFileInMegaBytes" value="10"/>
  • <add key="MediaFolderMaxSizePerFileInMegaBytes" value="30"/>
  • <add key="AdminMaxSizePerFileInMegaBytes" value="2000"/>
  • <add key="UserFolderMaxNumberOfFiles" value="1000"/>
  • <add key="MediaFolderMaxNumberOfFiles" value="10000"/>
  • <add key="AdminMaxNumberOfFiles" value="100000"/>
  • <add key="UserFolderMaxNumberOfFolders" value="50"/>
  • <add key="MediaFolderMaxNumberOfFolders" value="500"/>
  • <add key="AdminMaxNumberOfFolders" value="1000"/>

We didn't change all of them, just the ones that we felt were necessary.

Thanks,
Joe

 

10/31/2011 1:22:15 PM
Gravatar
Total Posts 18439

Re: WYSIWYG Image Uploading

Hi Joe,

I've logged an item for this in our project tracker.

Best,

Joe

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