Closed (cannot reproduce)
Project:
Advanced upload pages
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
17 Jan 2011 at 14:29 UTC
Updated:
18 Jun 2011 at 19:55 UTC
i have this error before click to upload button , on 2 different drupal installation ? with the 2 version ?
Comments
Comment #1
ilya1st commented2 version must work. error was with 1 version.
your browser, your PHP version?
I've tested with flash only because have no gears no silverlight now
Check stable version - it must work.
Comment #2
ilya1st commented6.x-1.2 works. tested now. in dev - do not know - now make some fixes there :)
Comment #3
ilya1st commentedfixed now in cvs -dev branch.
Comment #4
phildu commentedsorry but i have retried with the 2 version in my two instalation
the message is still ; There was wrong response from the server. That's why some files cannot be uploaded. Refresh page and try again or contact site administrator. Additional information from server: Wrong chunk number Error occured while uploading following file: Capture d’écran 2010-09-30 à 15.54.56.png
firefox 3.6.8
PHP Version 5.2.14
Comment #5
ilya1st commented>d’écran 2010-09-30 à 15.54.56.png
hmmm. rename file. that's because non _a-zA-Z0-9 symbols in file name. you're trying name file in your locale :)
there is such bug but it's in plupload flash module - there are some encoding issues.
Ok. reopen
Comment #6
ilya1st commentedhmmm. i'v just created file with such name - all works fine.
can you play around advupload.pages.inc - 'runtimes' => 'flash,silverlight,gears',
I want to know what the runtime do you use.
Comment #7
ilya1st commentedadded transliteration module support, some cleanup. see cvs.
need more info on your problem.
system locale(locale apache/php run), your user locale, your browser locale, etc.
Comment #8
phildu commentedwell i have try with safari and firefox on a mac and the latest version of flash.
the name is not the problem i have try with a sample.jpg
apache is the 2.2 version
and with the today version of the module.
Comment #9
ilya1st commentedhave your tried 6.x-1.3?
i need your phpinfo() values, locales also imagefield/filefield settings. looks like there is not enough info to reproduce the bug.
Comment #10
phildu commentedthis is the phpinfo off my last clean install
http://ww2.suividepose.com/info.php
with the minimum used modules
http://ww2.suividepose.com/modules/used
and the same error :(
on firefox / safari on a mac
you cant upload here : http://ww2.suividepose.com/advupload/page_multinode
and check settings here : http://ww2.suividepose.com/admin/settings/advupload
i try with the 6.14
Comment #11
ilya1st commentedmax_input_time -1 -1 in phpinfo()
hmmm... :-)
webserver misconfiguration?
6.20 may differ + modules
Comment #12
phildu commentedfor the 6.14 it 's for your module
Comment #13
ilya1st commentedtry with 6.20 please.
I've tested module in 3 different places - all working.
also value max_input_time -1 is not correct.
At least you can see lines in 91-96 in advupload.json.inc file
add before line with
$chunk = @intval($_POST['chunk']);following code:Try again upload file and see in error.log of apache webserver some outout which may be will help solve problem on your server and possible add some workaround there.
On my home server all works, on development server too. And on client hosting works too. 3 different places.
Also awaiting issues from more experienced users.
Comment #14
ilya1st commentedreopen but as support request
Comment #15
pribeh commentedHi, I'm experiencing the same problem. I'm going to try reinstalling the module. The odd thing is that I have plupload working just fine with the plupload module. I'm trying to get your module working of course due to the advanced nature of it. Thanks for your the contribution.
Comment #16
ilya1st commentedthe same - phpinfo values, etc.
I need more info.
There is upload error number inside upload handler (advupload.json.inc) and it's easy find there string error happens and give me more data - i need $_POST var_dump there when it's happens too
Comment #17
pribeh commentedhttp://dev.londonfuse.ca/infoya.php
I get the following with firebug console on a file upload attempt:
s is undefined
(function(){var c=0,h=[],j={},f={},a={...}}});g({success:true})}})})(plupload); pluplo...in.js?x (line 1)
I've also noticed that right off the bat that the "drag and drop" feature is missing from the plupload form. I'm not sure what that may indicate.
Comment #18
ilya1st commentedflash makes json POST requests to upload chuncks thats why here firebug will not help you - you must make error logging from json handler there to see what's wrong.
looking sorted diffs between phpinfos now :)
Comment #19
ilya1st commentedI see differences - PHP used as cgi.
we use usually as module.
2phildu, 2pribeh you booth use php-cgi version.
I need some time to test with it.
pribeh - nothing criminal in config :)
phildu - some values wrong :)
So I need some time to setup php-cgi and configure for tests. Thanks for this report
UPDATE: fcgi works fine.
Comment #20
phildu commentedI have tried again this morning with
module 6.17
drupal 6.20
max input time 60
and .... same problem
i'have see you'r going to try with in php cgi , have news ?
thank's
Comment #21
phildu commentedI have tried again this morning with
module 6.17
drupal 6.20
max input time 60
and .... same problem
i'have see you'r going to try with in php cgi , have news ?
thank's
Comment #22
phildu commentedI have tried again this morning with
module 6.17
drupal 6.20
max input time 60
and .... same problem
i'have see you'r going to try with in php cgi , have news ?
thank's
Comment #23
ilya1st commentedworks with cgi on my laptop and on my server.
2phildu all possibe reasons I thought are wrong. better soluton - to debug script on your hosting.
I thing some php settings+json handler issues but cannot cautch them on hostings I have access to
Comment #24
ilya1st commentedyou cannot give additional info as described above, i guess. or debug module yourself on your hosting.
or pay somebody to make this debug job. or there are some other reasons.
code works on my 4 different sites on diferent hosts also there is 40 other installs and nobody write about problems.
Resume.
Can not reproduce. Close.
Comment #25
pribeh commentedHi Ilya1st, I will report any success I have debugging this. I will now take a look at using this module again today.
Comment #26
ilya1st commentedmost things module does via json calls. so you need php configured write errors to log and see what's there if something wrong.
As most of people I mae mistakes to so if there ar errors - the faster way find place in code - see logs.
With both advimage and advupload I have to look of command "tail -F /var/log/apache2/error.log" output while write code for modules. :)
I'm going make some clean up with releases. see issues. after that port to D7