Lose files?

Last post 08-22-2011, 10:55 AM by Vizzent. 10 replies.
Sort Posts: Previous Next
  •  08-04-2011, 1:19 PM 69272

    Lose files?

    Hello, I'm trying this uploader in my sever and I don't achieve to make it works. I try to use the demo1.php on my server. It seems to work but when the upload bar is completed, the server show me this message error: 
    "Unable to find file 00BA3C04-3264-AC88-7A11-E263C7E42195 in /tmp"
     
    I expect that you can understand the trouble. 
  •  08-05-2011, 7:54 AM 69299 in reply to 69272

    Re: Lose files?

    Hi Vizzent,
     
    It maybe cause by the temp folder permission problem. Please check the permission of folder /tmp and ensure that your side have the write/read permission of it.
     
    Window system temp folder should be "C:\Windows\Temp"
     
    Regards,
     
    ken
  •  08-05-2011, 10:40 AM 69301 in reply to 69299

    Re: Lose files?

    Hi Kenneth,
    and thank you for your answer. 
     
    It isn't. The tmp folder have all the permission (drwxrwxrwt  2 user root  2720 Aug  5 17:44  tmp). It happens too if I change the "TempDirectory" to anyfolder with all the permissions. My server is UNIX not Windows.
     
    Sorry for my english. 

     

    Goodbye 
  •  08-08-2011, 8:11 AM 69405 in reply to 69301

    Re: Lose files?

    Hi Vizzent,
     
    Is your site online? If so, can you create a simple page by the code below and send me the test page url? We will check it and get back to you as soon as possible.
     
    <?php require_once "phpuploader/include_phpuploader.php" ?>
    <?php session_start(); ?>
    <html>
    <body>
    <form id="form1" method="POST" >
    <?php
    //Step 2: Create Uploader object.
    $uploader=new PhpUploader();
    //Step 3: Set a unique name to Uploader
    $uploader->Name="myuploader";
    //Step 4: Render Uploader
    $uploader->Render();
    ?>
    </form>
    </body>
    </html>
     
    Regards,
     
    ken
  •  08-17-2011, 6:10 AM 69633 in reply to 69405

    Re: Lose files?

    Sorry! Finally I did to work it. I made it all again like other user and it works.Thanks
    Now I have troubles with multiple upload... in thetest that i do it works well. But when i adapt it to my project i can select the files but the when the first upload execute CuteWebUI_AjaxUploader_OnTaskComplete(task) but the uploader don't confirm the uploadfile and it wait all time.
     
     I   hope that you understand the trouble and thanks for all :)
  •  08-17-2011, 7:56 AM 69636 in reply to 69633

    Re: Lose files?

    Hi Vizzent,
     
    Did you get any javascript errors?
     
    Is this site online now? If so, please send me the url, so we can check it for you directly.
     
    Can you try remove all other contents just uploader there, does it work?
     
    Regards,
     
    Ken
  •  08-19-2011, 5:53 AM 69706 in reply to 69636

    Re: Lose files?

    I found the solution changing the <div> where i write the form to the picture. Noe the uploader works good, but when all files are upload, and appear all forms, in my <div>,the page refresh and i dont know why... If i quit my javascript(CuteWebUI_AjaxUploader_OnTaskComplete) , all happen equally,. How can i prevent or avoid this refresh??
  •  08-19-2011, 7:39 AM 69709 in reply to 69706

    Re: Lose files?

    Hi Vizzent,
     
    After the file upload success, uploader will do a post back to the server.
     
    If you want it post back manually, please try this example  http://www.ajaxuploader.com/Demo/Start-uploading-manually.aspx
    Regards,
     
    Ken
  •  08-22-2011, 5:13 AM 69753 in reply to 69709

    Re: Lose files?

    I believe I don't tell you well... I show it with pictures beacuse to explain well is hard to me.
     
    I go to my page to upload images. I click the button to select my files.
    I select the file and it's started to upload to the server.
     
    After the upload the file, and thanks my javascript, apears a little <div> with a  <form>, but in  1-2seg the page refresh and I can submit the <form> beacuse It desapear with the uploaded files.
     
     
    When i test and work with the demo1, it is diferent. The refresh don't happen.
     This is:
    Select file:
    And the file is uploaded and the form appear and it stay.
      I hope to understand me. THAKS
  •  08-22-2011, 7:42 AM 69757 in reply to 69753

    Re: Lose files?

    Hi Vizzent ,
     
    I think you put the uploader into the <form> target in your page.  Try move it out of the <form> target.
     
    Regards,
     
    Ken
  •  08-22-2011, 10:55 AM 69760 in reply to 69757

    Re: Lose files?

    You are awesome!
    Thanks  
    Kenneth, it works
View as RSS news feed in XML