mantis cant upload certain images

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
falvarez
Posts: 1
Joined: 10 May 2018, 17:45

mantis cant upload certain images

Post by falvarez »

Hi forum, i'm having some issues with uploading images and files.

Some upload correctly, but others fail with error 500 while calling bugnote_add.php, the response is:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
  <head>
    <title>500 Internal Server Error</title>
  </head>
  <body>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
    <p>Please contact the server administrator at webmaster@solidatec.com to inform them of the time this error occurred, and the actions you performed just before this error.</p>
    <p>More information about this error may be available in the server error log.</p>
  </body>
</html>
Mantis log level is set to LOG_ALL, but nothing get printed when performing this action. Other actions do log correctly.

The line in which it fails is 1385 of dropzone-4.3.0.js (it used the minifyed version, but I changed it to the normal, so I could see the line).

And that line is this return:

Code: Select all

Dropzone.prototype.submitRequest = function(xhr, formData, files) {
    return xhr.send(formData);
};
File names and sizes are standard.

I updated dropzone and mantis.

In case anyone feels like trying this in their mantis implementation and let me know the outcome: Has anyone ever seen something like this?

Ideas of what to try are more than welcome!

Thanks in advance.

Best regards,
Federico.
Post Reply