Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fine Uploader 5.16.2] Error when attempting to parse xhr response text (Unexpected token < in JSON at position 0) #13

Open
EwaMakowska opened this issue Nov 29, 2019 · 0 comments

Comments

@EwaMakowska
Copy link

EwaMakowska commented Nov 29, 2019

Maybe someone can help me solve this error?

my configuration:

const uploaderConfig = {
	language: "en",
	itemLimit: 1,
	uploadFileUrl: 'http://localhost:8080/upload/',
	deleteFileUrl: 'http://localhost:8080/upload/',
	showMessage: (vue, message) => {
		console.log("???", vue, message);
		
		vue.$dlg.alert(message, {messageType: 'error'});
	}
}
            ....
            <v-uploader
              :multiple="true"
              buttonText="zmień avatar"
              @done="uploadDone"
            ></v-uploader>
            ....

               methods: {
                  uploadDone(files) {
                        if (files && Array.isArray(files) && files.length) {
                            console.log("????????//",files);
                         }
                    }
               },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant