i have this error before click to upload button , on 2 different drupal installation ? with the 2 version ?

Comments

ilya1st’s picture

2 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.

ilya1st’s picture

6.x-1.2 works. tested now. in dev - do not know - now make some fixes there :)

ilya1st’s picture

Status: Active » Closed (fixed)

fixed now in cvs -dev branch.

phildu’s picture

sorry 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

ilya1st’s picture

Assigned: Unassigned » ilya1st
Priority: Normal » Minor
Status: Closed (fixed) » Postponed (maintainer needs more info)

>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

ilya1st’s picture

hmmm. 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.

ilya1st’s picture

added 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.

phildu’s picture

well 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.

ilya1st’s picture

have 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.

phildu’s picture

this 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

ilya1st’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Postponed

max_input_time -1 -1 in phpinfo()
hmmm... :-)
webserver misconfiguration?

i try with the 6.14

6.20 may differ + modules

phildu’s picture

Category: support » bug
Status: Postponed » Postponed (maintainer needs more info)

for the 6.14 it 's for your module

ilya1st’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

try 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

  $chunk      = @intval($_POST['chunk']);
  $chunks     = @intval($_POST['chunks']);
  // form the too smart assholes :-)
  if ($chunk >= $chunks) {
    _advupload_error_die(610, $_POST);
  }

add before line with $chunk = @intval($_POST['chunk']); following code:

error_log(var_export($_POST, TRUE) );error_log(var_export($_GET, TRUE) );

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.

ilya1st’s picture

Category: bug » support
Status: Closed (cannot reproduce) » Postponed (maintainer needs more info)

reopen but as support request

pribeh’s picture

Hi, 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.

ilya1st’s picture

the 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

pribeh’s picture

http://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.

ilya1st’s picture

flash 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 :)

ilya1st’s picture

I 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.

phildu’s picture

I 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

phildu’s picture

I 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

phildu’s picture

I 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

ilya1st’s picture

works 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

ilya1st’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

you 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.

pribeh’s picture

Hi Ilya1st, I will report any success I have debugging this. I will now take a look at using this module again today.

ilya1st’s picture

most 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