1. #141
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    497
    Vote Rating
    4
    MaximGB is on a distinguished road

      0  

    Default


    Please post in the Ext 2.x extensions forum thread next time. I can't confirm the bug, can you provide me a link to online bug demo, and / or your server side code where you check for 'comment' param.
    Use the force - read the source.

  2. #142
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Moscow
    Posts
    137
    Vote Rating
    0
    Chemist is on a distinguished road

      0  

    Default


    One more thing...

    In file locale/ru.utf-8.js look at last string : note_aborted. There is comma at the end of the string, but it shouldn't be there.

  3. #143
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    497
    Vote Rating
    4
    MaximGB is on a distinguished road

      0  

    Default


    Thanks for report.
    Use the force - read the source.

  4. #144

    Default I'm in trouble after the upload.

    I'm in trouble after the upload.


    I'm in trouble after the upload when I try to run rmdir() of php. What?
    Sorry my English.

  5. #145
    Sencha User
    Join Date
    Mar 2008
    Location
    Mexico
    Posts
    1
    Vote Rating
    0
    golr007 is on a distinguished road

      0  

    Default


    Hi MaximGB, im new on ExtJS and its amazing what u can do with this framework
    first than all, your plugin is wonderfull and i've trying to make it work on my project but i can't

    I can make popup the uploaddialog but when i click the upload button, inmediatly get the legend "Update error", so i'm here asking for your help









    this is my js code
    Code:
    ...
    if (!dialog) {
       var dialog = new Ext.ux.UploadDialog.Dialog(null, {
       autoCreate: true,
       closable: true,
       collapsible: false,
       draggable: true,
       minWidth: 400,      
       minHeight: 200,
       width: 400,
       height: 350,
       proxyDrag: true,
       resizable: true,
       constraintoviewport: true,
       url: '/upload/loadPicture.php',
       reset_on_hide: false,
       allow_close_on_upload: true,
       upload_autostart: true,
       base_params: { reqaction: 'uploadfile', resptype: 'json' }
    });
    }								
    
    dialog.show();	
    ...
    and this is my php code

    PHP Code:
    $uploaddir 'C:/Xampp/htdocs/ug/upload/';
    $uploadfile $uploaddir basename($_FILES['file']['name']);

    if (
    move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile)) {
        
    $response = array(
            
    'success' => true,
            
    'error' => 'OK.'
        
    );
    }
    else {
        
    $response = array(
            
    'success' => false,
            
    'error' => 'Description of the error occured.'
        
    );
    }

    echo 
    json_encode($response); 
    i hope u can tell my where is the error
    thanks a lot beforehand

  6. #146
    Ext User
    Join Date
    Mar 2007
    Posts
    170
    Vote Rating
    0
    gkassyou is on a distinguished road

      0  

    Default


    I'm trying the uploadDialog with Google Chrome and it saves the file to size of 0 therefore not saving the file data. Anyone else have this problem?

  7. #147
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    497
    Vote Rating
    4
    MaximGB is on a distinguished road

      0  

    Default


    I don't. I've just checked the Google Chrome on the demo and everything works ok.

    p.s. Next time please use the correct thread for 2.x version of the dialog.
    Use the force - read the source.

  8. #148
    Ext User
    Join Date
    Mar 2007
    Posts
    170
    Vote Rating
    0
    gkassyou is on a distinguished road

      0  

    Default


    I'm actually using ext1.1.1 and uploadDialog for 1.1

    Here's my code.
    Code:
    uploaddlg = new Ext.ux.UploadDialog.Dialog(null, {
    		                            autoCreate: true,
    		                            closable: false,
    		                            collapsible: false,
    		                            draggable: true,
    		                            minWidth: 400,      
    		                            minHeight: 200,
    		                            modal:true,
    		                            width: 400,
    		                            height: 350,
    		                            proxyDrag: true,
    		                            resizable: false,
    		                            constraintoviewport: true,
    		                            title: 'Upload',
    		                            url: '<@appfilepath>jsonController.taf?function=uploadLogo',
    		                            reset_on_hide: true,
    		                            allow_close_on_upload: true,
    		                            upload_autostart: true,
    		                            permitted_extensions: ["gif","GIF","jpg","jpeg","JPG"]
    		        		});
    It works perfectly with firefox and IE but google chrome is not sending the data. Therefore the "file" variable passed to the server on the post has no data.

  9. #149
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    497
    Vote Rating
    4
    MaximGB is on a distinguished road

      0  

    Default


    Sorry, but 1.x version of the dialog is not supported any more.
    Use the force - read the source.

  10. #150
    Ext User
    Join Date
    Mar 2007
    Posts
    170
    Vote Rating
    0
    gkassyou is on a distinguished road

      0  

    Default


    The issue is with Google Chrome not being able to send the content type post header for upload.

    Anyone else with the same issue and has a work around.