Re: [openupload-devel] download are incomplete
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2009-05-07 23:34:57
|
> > These files vary from 1k to 500k and they all upload within a few seconds. The website reports the correct size > after upload and writes the correct size into the db, but never writes a file to /data or /data/tmp > > The last thing that I had done was to set up clamav and run some manual scans and I use the /data directory and > I wonder if this may have caused a problem. > It might be, but don't think so. I opt for a $CONFIG['multiupload'] value equal to 0, (I have tested it and get the same result as you have) this naming might be misleading, but it means how many files can be uploaded and a value of 0 means NO FILE. It should be bigger or equal to 1 (yes I'll need a check and default to at least 1) The fact that uploads are "fast" is a bit odd though. Also PHP should report if there was a partial transfer or an upload error. If nothing else helps and if you have some PHP knowledge I'd go for a few debug lines in the files.inc.php, something like insert this lines at the beginning of function uploadOptions( echo '<pre>'; print_r($_FILES); echo '</pre>'; exit; then move the "exit;" line and place it before the $this->nextStep(app()->step); this should stop the upload right after the file should be moved to the /data/tmp directory and tell you the files details PHP passes to Open Upload. and if nothing displays try before all the redirect and so on Alessandro |