Coder Social home page Coder Social logo

Comments (4)

craigdietrich avatar craigdietrich commented on July 22, 2024

Hi @crism,

The file in question is relatively small, but it is over 1 meg which is kind of large for a web image. It could be that your webserver is blocking uploads for files larger than a Megabyte. (I'd be surprised if this was the case, though, as, 2, 8, or 128 megs are typically the default.)

If you're familiar with the Web Inspector in your browser, or Firebug for Firefox: both will reveal the requests sent to the server with the file payload. In the event that it fails, you should be able to expand the request and see if there's any information that can be gleaned from the return. For example, there might be PHP error in the return content from Scalar. I don't think we have it set up to fail gracefully, but file uploads are typically a little off in their error handling anyways so it could be the server is not reporting to Scalar correctly, and Scalar is thus throwing a generic PHP error.

If neither of these apply, can you send a note to us here: http://scalar.usc.edu/contact with details (attn: Craig)? I'm sure we can get this worked out!

from scalar.

crism avatar crism commented on July 22, 2024

@craigdietrich: Our limit is currently set to 2 MB. The troublesome file is successfully uploaded to the server—it can be seen on the server filesystem, and a thumbnail is created (though identical to the original). A larger file (1.6 MB) succeeds, as well; there’s something odd about this one. At a minimum, though, the error handling should be more robust. There’s nothing in the server error logs; whatever is breaking does so silently.

I’ll drop a note at the ANVC contact page, too.

from scalar.

craigdietrich avatar craigdietrich commented on July 22, 2024

@crism Okay let's follow up through the contact page! (I'll close this ticket for now.)

from scalar.

crism avatar crism commented on July 22, 2024

Hi, @craigdietrich—I never got any followup from this conversation.

from scalar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.