Hi
I am using firefox latest version, i am using pluploadque widget files. when we will click on the "select files" button the open file dialog box in window title bar. i need to directly focus the window.
for that i have changed the plupload.js file using wmode "transparent" to window,
but "select files" caption are now not displaying.

Please can you guide me.

Thanks
rajesh

Hi Davit,

have you got any success to upload the test image as per we have provided configuration ?

Please let me know your feedback.

Hi Davit,

Client side Linux workstation, With Flash run-time. Progress bars shows but never ends and image are not uploading to the server. Particular the test image that I have provided you with given configuration.

Thanks
Rajesh

Hi Davit,

I have remove the my previous post,

Please check again you are on right path, i think you will get the solution soon. please check the below detail

There was not issue with chunk_size and permissions. We are successfully uploaded the other images except given the "text image" that only image(Low resolution) not uploaded with above configuration.

And I have told the test image was upload successfully with 1.4.1 version but not worked with currently newly version 1.4.2

You will check the test image with your current examples given in website just remove the chunk_size option and tried with them.

Please check again and let me know.

Is there you have tried the image with your current examples without chunk_size ?

Thanks
Rajesh

Hi Admin,

One more thing, Davit has mentioned that he has Mac and testing machine is Linux so i guess he means that client side is Mac and server is Linux.

Where as we have clearly mentioned that issue is on client side and there is no issue on server side, the issue is with resize option and without chunk_size option when client machine is Linux.

So test with given configuration and with given image on Linux as both client and server side.

I hope you understand what i mean.

Please check the issue only in linux environment.

Hi Davit,

After doing some more testing, i have found the issue.
It is working for you because i guess that you are testing in windows,environment.  Where as given image upload is not working in Linux environment. Try to test the given image in Linux. I am sure that it will not work for you. My environment information.

Linux localhost 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux

Thanks.

Hi Davit,

We haven't done any modification,

see our upload.php code,

<?php
/**
 * upload.php
 *
 * Copyright 2009, Moxiecode Systems AB
 * Released under GPL License.
 *
 * License: http://www.plupload.com/license
 * Contributing: http://www.plupload.com/contributing
 */

 // HTTP headers for no cache etc
 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
 header("Cache-Control: no-store, no-cache, must-revalidate");
 header("Cache-Control: post-check=0, pre-check=0", false);
 header("Pragma: no-cache");

 // Settings
 $targetDir = '/home/rajesh/web/www.test.com/www' . DIRECTORY_SEPARATOR . "plupload/uploaded_images"; 

 
 $cleanupTargetDir = false; // Remove old files
 $maxFileAge = 60 * 60; // Temp file age in seconds

 // 5 minutes execution time
 @set_time_limit(5 * 60);

 // Uncomment this one to fake upload time
 // usleep(5000);

 // Get parameters
 $chunk = isset($_REQUEST["chunk"]) ? $_REQUEST["chunk"] : 0;
 $chunks = isset($_REQUEST["chunks"]) ? $_REQUEST["chunks"] : 0;
 $fileName = isset($_REQUEST["name"]) ? $_REQUEST["name"] : '';

 // Clean the fileName for security reasons
 $fileName = preg_replace('/[^\w\._]+/', '', $fileName);

 // Make sure the fileName is unique but only if chunking is disabled
 if ($chunks < 2 && file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName)) {
  $ext = strrpos($fileName, '.');
  $fileName_a = substr($fileName, 0, $ext);
  $fileName_b = substr($fileName, $ext);

  $count = 1;
  while (file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName_a . '_' . $count . $fileName_b))
   $count++;

  $fileName = $fileName_a . '_' . $count . $fileName_b;
 }

 // Create target dir
 if (!file_exists($targetDir))
  @mkdir($targetDir);

 // Remove old temp files
 if (is_dir($targetDir) && ($dir = opendir($targetDir))) {
  while (($file = readdir($dir)) !== false) {
   $filePath = $targetDir . DIRECTORY_SEPARATOR . $file;

   // Remove temp files if they are older than the max age
   if (preg_match('/\\.tmp$/', $file) && (filemtime($filePath) < time() - $maxFileAge))
    @unlink($filePath);
  }

  closedir($dir);
 } else
  die('{"jsonrpc" : "2.0", "error" : {"code": 100, "message": "Failed to open temp directory."}, "id" : "id"}');

 // Look for the content type header
 if (isset($_SERVER["HTTP_CONTENT_TYPE"]))
  $contentType = $_SERVER["HTTP_CONTENT_TYPE"];

 if (isset($_SERVER["CONTENT_TYPE"]))
  $contentType = $_SERVER["CONTENT_TYPE"];

 // Handle non multipart uploads older WebKit versions didn't support multipart in HTML5
 if (strpos($contentType, "multipart") !== false) {
  if (isset($_FILES['file']['tmp_name']) && is_uploaded_file($_FILES['file']['tmp_name'])) {
   // Open temp file
   $out = fopen($targetDir . DIRECTORY_SEPARATOR . $fileName, $chunk == 0 ? "wb" : "ab");
   if ($out) {
    // Read binary input stream and append it to temp file
    $in = fopen($_FILES['file']['tmp_name'], "rb");

    if ($in) {
     while ($buff = fread($in, 4096))
      fwrite($out, $buff);
    } else
     die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "Failed to open input stream."}, "id" : "id"}');
    fclose($in);
    fclose($out);
    @unlink($_FILES['file']['tmp_name']);
   } else
    die('{"jsonrpc" : "2.0", "error" : {"code": 102, "message": "Failed to open output stream."}, "id" : "id"}');
  } else
   die('{"jsonrpc" : "2.0", "error" : {"code": 103, "message": "Failed to move uploaded file."}, "id" : "id"}');
 } else {
  // Open temp file
  $out = fopen($targetDir . DIRECTORY_SEPARATOR . $fileName, $chunk == 0 ? "wb" : "ab");
  if ($out) {
   // Read binary input stream and append it to temp file
   $in = fopen("php://input", "rb");

   if ($in) {
    while ($buff = fread($in, 4096))
     fwrite($out, $buff);
   } else
    die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "Failed to open input stream."}, "id" : "id"}');

   fclose($in);
   fclose($out);
  } else
   die('{"jsonrpc" : "2.0", "error" : {"code": 102, "message": "Failed to open output stream."}, "id" : "id"}');
 }

 // Return JSON-RPC response
 die('{"jsonrpc" : "2.0", "result" : null, "id" : "id"}');

Ok and if possible then upload one example with only flash support and without chunk size so that we can directly test using live url of plupload.

for e.g.

http://www.plupload.com/example_jquery_ui.php

currently in above example you have used more then one run time and chunk size, if possible then provide example with only flash runtime and without chunk size so that we can directly test our images there.


I think i am sure that there is some issue because we haven't done any modification in downloaded example.

Hi Davit,

I am sure that the image is not working in 1.4.2, we have tried with the  downloaded example from plupload with the following configuration, use exactly same configuration that i will provide over here  and i am sure that it will not work for you as well. Nothing happens and you will not get any result at all.  Please don't use any other configuration then following. Thanks.

$("#flash_uploader").pluploadQueue({
  // General settings
  runtimes : 'flash',
  url : 'upload.php',
  max_file_size : '10mb',
  unique_names : true,
  resize : {width : 1700, height : 1700, quality : 90},
  filters : [
   {title : "Image files", extensions : "jpg,gif,png"},
   {title : "Zip files", extensions : "zip"}
  ],

  // Flash settings
  flash_swf_url : '../js/plupload.flash.swf'
 });

Hi Davit,

File is not uploading and continues progress bar is displaying.
And not getting any alert or error.
We have wait for 1 hr ,but progress bar continues going. And Image file not upload.

with previous version same image successfully uploaded in normal time.

Please can you guide me it would be great help.
have you tried with our above configuration without chunk is there image uploaded ?

Hi Admin,

Have you download the image and check with above configuration ?

Hi Davit,

Yes there is specific reason behind multipart false, its consumes more and more memory while trying to upload more then 800 or 900 MB images using IE web browser and then it  crashed user systems. So to prevent it we have used streaming upload option rather then using multipart.

Hi Davit,

We have uploaded testing image here
http://www.4shared.com/file/gIJQ0AbL/testimage.html, download the zip file.
This image was working in 1.4.1 previous version , but not working in current version(1.4.2).

Our plupload js configuration here, we are using below parameters.
we don't want to use chunk size option.

jQuery('#'+id_flash).pluploadQueue({
        runtimes : 'flash',
        url : jQuery("#photouploadurl").val(),
        max_file_size : '10mb',
        resize : {width :widthval , height : heightval, quality : 90},
        unique_names : false,
        multi_selection : true,
        multipart : false,
        multipart_params : false,
        urlstream_upload : false,
        multiple_queues : true,
        progress : true,
        filters :[{
            title : "Image files",
            extensions : "jpg,jpeg,png,JPG,JPEG,PNG"
        }],
        flash_swf_url : jQuery("#swffileurl").val()
    });

Thanks
Rajesh

Hi Admin,

We are regulary updating the plupload new version, and our all customers are using this plupload. but your new version 1.4.2 has one bug, they are not supported to upload low resolutions image file.

In previos version 1.4.1 has resolved that problem, but 1.4.1 not support to upload high resolution image. that was fixed in 1.4.2

but now problem with low resultion image. see i have posted that bug in forums you will check here

http://www.plupload.com/punbb/viewtopic.php?id=470

Both cases should work in 1.4.2, please resolve the issue asap, our clients will waiting for that.

thanks
rajesh

Hi All,

When you will release new updated version? I think as per below link problem has been resolved

without chunking resized issued fixed here.

https://github.com/moxiecode/plupload/c … 7d1d110d3c

can you updae asap new version, so it would be great help to us.

awaiting for prompt reply.

Thanks

As we are using latest plupload version with Flash component,
we have upload more then 5mb files without resize attribute then uploading fine.
but when we are using resize paramters (1700 * 1700)  in uploading then resize not worked properly for more then 5mb image size. its work for 3-4 mb upto.  we have checked the functionality with your custom examples as well. but does not worked.

don't be ask about post max size, upload max size , memory limit, timeout paramters of php.ini, its very high.

we are uploading 10mb files without resize its working fine but with resize 1700 * 1700 its not worked. kindly please guide or solve the issue with pluload component.  your previous version works fine with resize.

thanks
rajesh

there is no limit to upload files according to width and height.

today we have put the console.log and get the below errors can you guide me properly so we will rectify this error.

IO error.
Error #2032
file status 4

Server has 32 MB post max and upload max size memory limit is 128MB. and yes jquery("url") has server side url.

we are uploading files with below function
$putdata = fopen("php://input","rb");

not using multipart.

Kindly thanks for your support.

Thanks.

Hi
I have uploaded 11mb file with Flash uploader. I am using simple below code to resize the images. please check and guide me. when we uploading the 11mb file it's displaying progress bar continue for long time but not display any error or upload the file.
please guide asap.

jQuery('#'+id_flash).pluploadQueue({
        // General settings
        runtimes : 'flash',
        url : jQuery("#URL").val(),
        max_file_size : '15mb',
        resize : {width :1700 , height : 1700, quality : 90},
        unique_names : false,
       multi_selection : true,
       multipart : false,
       multipart_params : false,
        urlstream_upload : false,
        progress : true,
        filters :[{
            title : "Image files",
            extensions : "jpg,jpeg,png,JPG,JPEG,PNG"
        }],
       
        flash_swf_url : .swf file here
    
});

Please guide me asap
Thanks
rajesh

Hi,

Dear All,

We are resizing the image when user upload the big files more than 4000*4000,
here is code
runtimes : 'flash',
        //max_file_size : '20mb',
//        chunk_size : '1mb',
        resize : {width : 4000, height : 4000, quality : 90},
        unique_names : false,
        multi_selection : true,
        multipart : true

now i want to stop the resizing if resizing taking more time, some time user's system have open many applications the memory not support to resize the big images like 10MB.

so is there we can get any resize status runtime so will stop the resizing of that image and skip that image and other images will continue to upload.

please let me know urgently anyone has solution

hi,

you can remove the option permanently from code.
runtimes : 'flash',
       max_file_size : '20mb',
        chunk_size : '1mb',
//        resize : {width : 500, height : 500, quality : 90},

like this comment the resize paramater with //

Hi All,

I am also facing same problem, is there any solution for QueueProgress, , will need to fetch bytespersec and other things. any one can guide me.
Thanks