CuteEditor v6.0, "CuteEditorTempPath" not working

Last post 06-14-2012, 8:54 AM by jtruxon. 4 replies.
Sort Posts: Previous Next
  •  06-13-2012, 4:03 AM 73883

    CuteEditor v6.0, "CuteEditorTempPath" not working

    Hi,
     
    I'm running my application in a shared hosting environment for the first time, and am encountering errors with uploads. 
    I've added the key <add key="CuteEditorTempPath" value="D:\[actual path to web root]\CuteEditorTemp" />, and i've tried <add key="CuteEditorTempPath" value="~/CuteEditorTemp" />, and i'm still receiving the 'access denied to C:\Windows\Temp' error when trying to upload images.   Is there somewhere i can try to hard-code the temp directory, just to get a proof-of-concept working?
     
    thanks!
    james
  •  06-13-2012, 7:40 AM 73884 in reply to 73883

    Re: CuteEditor v6.0, "CuteEditorTempPath" not working

    Hi jtruxon,
     
    Please create a folder name "uploadertemp" under the root of your site, then do the setting below in your web.config, does it work?
     
    <appSettings>
       <add key="CuteEditorTempPath" value="~/uploadertemp" />
    </appSettings>
     
    Regards,
     
    Ken 
     
  •  06-13-2012, 9:34 AM 73886 in reply to 73884

    Re: CuteEditor v6.0, "CuteEditorTempPath" not working

    Kenneth -
     
       Thanks for the quick reply - I added the line "  <add key="CuteEditorTempPath" value="~/uploadertemp" />"
    to my web.config, closed the app, reopened it, attempted to upload an image using the ImageGallery link, and got the following response:
     
     
    Basically, I haven't yet been able to demonstrate in any way that the editor is making use of that AppSettings entry.  The debugging process is complicated by the fact that this is being served from a shared hosting environment, but I think that if I could even get to the point of seeing an error reading "Access to path c:\blahblahblah\uploadertemp is denied", I could figure it out from there.   
     
    Thanks for your help!
     
    --james
  •  06-14-2012, 7:12 AM 73887 in reply to 73886

    Re: CuteEditor v6.0, "CuteEditorTempPath" not working

    Hi jtruxon,
     
    I think your version is too old. Can you try the latest version? 
     
    This setting should added after version 6.0.
     
    Latest version download url: http://www.cutesoft.net/downloads/folders/21904/download.aspx
     
    Regards,
     
    Ken 
  •  06-14-2012, 8:54 AM 73888 in reply to 73887

    Re: CuteEditor v6.0, "CuteEditorTempPath" not working

    Ahh - that would explain it.  I use 6.0 because of bugs that were introduced in 6.1, and I don't have time to thoroughly test the newest versions in my application.    I'll work around the issue.    Thanks for your help!
     
    --james
View as RSS news feed in XML