Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sam 184 posts 209 karma points
    Jan 29, 2011 @ 12:34
    Sam
    0

    Http error on gecko uploadify

    Hi everyone,

    I keep getting this error, I'm running umbraco version 4.5.2 on .net4. Any ideas what might be causing this? I thought geckouploadify worked on any version?

    This happens immediately after the progress bar gets to 100% on images of different size. I also tried on different folders but the same error. I have uninstalled and reinstalled. I recently went from umbraco version 4.0.4.2 to 4.5.2. Whether that has caused the problem I'm not sure.

    Thanks in advance if anyone can cast some light on this :)

    Sam.

  • Eran Meir 401 posts 543 karma points
    Jan 29, 2011 @ 15:09
    Eran Meir
    0

    can you check with ELMAH whats the error you're getting?

  • Sam 184 posts 209 karma points
    Jan 29, 2011 @ 15:23
    Sam
    0

    Thanks Eran but not sure I know what that is or how to implement it.

    Sam.

  • Eran Meir 401 posts 543 karma points
    Jan 29, 2011 @ 15:29
    Eran Meir
    0

    i recommend plug it in your website so you can figure out the errors you get from gecko and from future erros 

    http://code.google.com/p/elmah/

    after you install it try uploading again the files and see the errors you get using ELMAH :)

  • Sam 184 posts 209 karma points
    Jan 29, 2011 @ 16:03
    Sam
    0

    Thanks Eran,

    I tried that but got a server error when refreshing my website. I followed instructions on how to install but obviously I did something wrong. I was unsure about:

    1) Regarding the DLL files (elmah/bin/net-2.0/Release/DLL-FILES-IN-HERE) - do I need ALL of these in my umbraco /bin/ folder.

    2) In the web.config, I wanted an xml log rather than SQLite.

    http://our.umbraco.org/wiki/how-tos/use-elmah-with-umbraco

    Is this line correct in the <connectionStrings> settings if I wanted to use XML instead?

    <add name="ELMAH.SQLite" connectionString="Data Source=~/data/errors.s3db"/>

    I messed up somewhere, will try again later when I've got more time.

    Sam.

  • Eran Meir 401 posts 543 karma points
    Jan 29, 2011 @ 17:45
    Eran Meir
    0

    you need the elmah dll

    try playing with it a bit more, if you still having problems just message here i'll try to help

  • Peter Norbeck 7 posts 27 karma points
    Feb 02, 2011 @ 19:00
    Peter Norbeck
    0

    Hello Sam

    I've often password protect the webbroot of sites that i develop on shared hosts. That always makes the Http Error problem with gecko uplodify appear. So if you've manually created password protection somewhere you could check that.

    Peter

     

  • Sam 184 posts 209 karma points
    Feb 02, 2011 @ 19:31
    Sam
    0

    Hi Peter,

    I have checked and I have 'No Protected directories' for my domain. Not sure what to try next?! This has only just started happening, gecko worked fine about a week ago, I'm trying to retrace what I've done since then.

    Sam.

  • Sam 184 posts 209 karma points
    Feb 03, 2011 @ 19:15
    Sam
    1

    Hi Everyone,

    Ok, I have narrowed it down to the following section of my web.config file. Without this section, gecko uploadify works, with it, it doesn't and I get the HTTP error.

    <!-- SEO: Force lower-case for URLs -->
    <!-- exclude umbraco folder, and all static requests to images, css, js and axd resource files -->
    <rule name="LowerCaseRule1" stopProcessing="true">
    <match url=".*[A-Z].*" ignoreCase="false" />
    <conditions>
    <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
    <add input="{URL}" pattern="^.*\.(axd|asmx|css|js|jpg|jpeg|png|gif|mp3)$" negate="true" ignoreCase="true" />
    <add input="{URL}" pattern="/Base" negate="true" />
    <add input="{URL}" pattern="cdv=1" negate="true" />
    </conditions>
    <action type="Redirect" redirectType="Permanent" url="{ToLower:{URL}}" />
    </rule>

    The guilty code above. I got this from Mikes blog here:

    http://umbraco.miketaylor.eu/2010/11/03/url-rewriting-and-seo/

    ...and, once again. I don't really understand what the code means. Could anybody explain why this would cause gecko uploadify not to work? Thanks in advance :)

    Sam.

  • Jonathan Mahoney 2 posts 23 karma points
    Jun 24, 2011 @ 15:01
    Jonathan Mahoney
    1

    Hi there,

    The HTTP POST that this package makes goes to the usercontrols folder... the rule you have will generate a 301 redirect when that request is sent due to some capital letters being in the path.

    Within the conditions element of that config block you should be able to add the following:-

                            <add input="{REQUEST_URI}" pattern="usercontrols" negate="true" />

Please Sign in or register to post replies

Write your reply to:

Draft