web-development-with-node-and-express icon indicating copy to clipboard operation
web-development-with-node-and-express copied to clipboard

Chapter 8 - problem with jquery-file-upload

Open J-Miao opened this issue 10 years ago • 4 comments

When I run the example code of this chapter, after I filled the form and uploaded png files, clicking the sumbit button will prompt to submit a file. It seems that the jquery-file-upload plugin has sent the request when uploading files. The form submission and the file upload are not synchronized.

J-Miao avatar Apr 07 '15 07:04 J-Miao

I am also getting the same issue, has anyone looked into it?

jsmasterathul avatar Aug 15 '15 12:08 jsmasterathul

It's been a while since I looked at this code, and I'm busy on another book right now; I will try to get to this, but it might not be until September. If anyone figures it out, I am happy to accept a community PR!

EthanRBrown avatar Aug 15 '15 16:08 EthanRBrown

anyone know how to fix this?

oldmannt avatar Apr 20 '18 07:04 oldmannt

I am also getting the same issue. Server is crashed. the messages are: fs.js:137 throw new ERR_INVALID_CALLBACK(); ^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:137:11) at Object.unlink (fs.js:939:14) ...... Someone said node version is high My node,js is v10.15.0

xh63hs avatar Jan 18 '19 07:01 xh63hs