jQuery File Upload error parseMetaData

Asked

Viewed 1,144 times

-1

This morning the jquery File Upload stopped working in all the places I use, I have a local base and another online, but both have the same error: Uncaught Typeerror: Cannot read Property 'parseMetaData' of Undefined jquery.fileupload-image.js:262

I tried to download the site: https://github.com/blueimp/Bootstrap-Image-Gallery

but until the last version that is available download presenting the same problem, anyone would know why? some jquery file has updated and stopped working sera?

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="js/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="http://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
<script src="js/load-image.min.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="http://blueimp.github.io/JavaScript-Load-Image/js/load-image.min.js">    </script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="http://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- blueimp Gallery script -->
<script src="http://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="js/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="js/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="js/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="js/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="js/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="js/jquery.fileupload-validate.js"></script>
<!-- The File Upload user interface plugin -->
<script src="js/jquery.fileupload-ui.js"></script>
<!-- The main application script -->
<script src="js/main.js"></script>
  • Renan, the file jquery.fileupload-image is not from the library Bootstrap-Image-Gallery. Try to download a new version on her website: https://github.com/blueimp/jQuery-File-Upload/tags. If not, it could include the configuration code of the same?

  • Sorry, I put the wrong link, was to have put what you sent me, in case it is possible could you download and test? Until the standard is giving this error, I tried to download from the site and run without making any changes, however the problem persists

  • Could you add your question how you made the inclusion and which order of the scripts?

  • sorry wakim, but do not know how to put the code in the post. I put however it is not appearing

  • 2

    Renan, Edite (http://answall.com/posts/32570/edit) your question and add the code as you normally would for common text and ident using 4 spaces.

  • Walkim, I’ve already edited

  • 1

    Renan, I noticed that some scripts are duplicated, do a cleanup. And if you can not use the scripts straight from github, it is not a good practice. Download resources to your server/machine.

  • Wakim, I solved the problem, so it looks like the ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js , is having trouble just switched to the version ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js , and everything is back up and running, thank you very much for your help!

  • Create an answer with your solution and accept it. It will help other people who have the same problem.

Show 4 more comments

1 answer

1


Problem solved.

The problem was in the jquery version. Just switch from version 1.11.0 to 1.11.1

example:

ajax.googleapis.com/ajax/libs/jquery/1.11.0

for:

ajax.googleapis.com/ajax/libs/jquery/1.11.1
  • Renan, do not forget to mark your answer as correct. The way it is an inattentive person would not know that the question is solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.