-
Notifications
You must be signed in to change notification settings - Fork 29
Get UPLOAD_ERR_PARTIAL when upload image to PHP-Webkit #17
Comments
Thanks for the feedback. I will look into it as soon as I can. |
I am going to check it out tonight. If you can post some additional information on the bug it might help out in finding and fixing it. What OS where you using? I will be testing and attempting to fix uploading and related bugs in general. But if I can get the details of your case I will try to ensure that gets fixed as well. Thanks. |
Hi Brad, Regarding your questions. Here are some of my details: What OS where you using? > MacOSX Yosemite Was PHP packed with your project or where you using a stand alone install? > PHP 5.6 (all configurations, php.ini copied from AMPPS), I move the What version of PHP where you using? > PHP 5.6 What version of NW.js where you using? > Latest build of IO.js v12 What type of upload script (IE just a simple PHP upload, AJAX upload, > I am using Dropzone.js (not code with nodejs, just web embedded jquery) What file type was being uploaded? > Image/jpg What was the file size being upload? > Less than 1MB (around 560kB)
platform environmental variables is not auto detected by the phpinfo. I Regards, On Sat, Apr 11, 2015 at 7:08 AM, Brad Metcalf notifications@github.com
Loke Kok Keong |
The project originally started as a boilerplate for using the node-php NPM by @mkschreder within NW.js. lib/bridge.js is basically a php-webkit specific fork of this NPM. Since then it has been a matter of getting it to work as properly and it still has a lot of room for improvement as far as what ENV need to be set and how to be set. I just haven't been able to find and fix all the gotchas or take a moment to restructure that part of the code base. But it is something I have slowly been working on. If this is something you have an idea to improve I welcome suggestions or even a pull request. Additionally would using something like this commit help you? |
Hi,
Would like to know in what condition can overcome this error of UPLOAD_ERR_PARTIAL when trying to post image in NW.js app wrapped under PHP-webkit? I test in normal browser is fine, but when migrate the exact same HTML + PHP script to PHP-webkit it get the error of upload partial.
The text was updated successfully, but these errors were encountered: