no upload possible

  •  08-02-2010, 12:03 PM

    no upload possible

    Hi,
     
    i have changed in upload.php the temporary upload folder with:
     $uploader->TempDirectory=$_SERVER['DOCUMENT_ROOT']."/temp";
    This works fine, files uploaded are written in this temporary directory. I see files like "persisted.545ec26c-628d-46b7-9206-ba21bb0c70e5.Lighthouse.jpg.resx" in this directory
     
    now i want these temporary files to be moved to directory$_SERVER['DOCUMENT_ROOT']."/Uploads"
    But no file is moved to this directory, I can't find them anywhere and also get no error message. My code is following:
     
    $editor=new CuteEditor();   
    $editor->Text="Stay tuned";
    $editor->Width="100%";
    $editor->Height=300;
    $editor->ConfigurationPath = "/Configuration/myTools.config";
    $editor->ThemeType="Office2007";
    $editor->ShowPreviewMode=false;
    $editor->ShowCodeViewToolBar=false;
    $editor->ShowHtmlMode=false;
    $editor->ToggleBorder=false;
    $editor->ID="texte";    
    $uppath ="/Uploads";
    $editor->ImageGalleryPath=$uppath;
    $editor->MediaGalleryPath=$uppath;
    $editor->FlashGalleryPath=$uppath;
    $editor->FilesGalleryPath=$uppath;
    $editor->MaxImageSize="5000000";
    $editor->MaxMediaSize="20000000";
    $editor->MaxFlashSize="5000000";
    $editor->MaxDocumentSize="10000000";
    $editor->ImageFilters=".jpg,.jpeg,.png,.gif";
    $editor->MediaFilters=".avi,.mpg,.mpeg,.mp3,.wav,.wmv";
    $editor->DocumentFilters=".jpg,.jpeg,.png,.gif,.avi,.mpg,.mpeg,.mp3,.wav,.wmv,.txt,.doc,.pdf,.docx,.htm,.html";
    $editor->AllowUpload="true";
    $editor->AllowCreateFolder="true";
    $editor->AllowRename="true";
    $editor->AllowDelete="true";
    $editor->Draw();   
    What is wrong here?
     
    Many Thanks
View Complete Thread