Hi,
I don't now, but if don't create the log or you setup a bad path or there is a permissions problem
Put this code in a php page (in your site root) and run it to verify your write permissions
<?php //********************** // Multiple File Upload //********************** require_once("./dwzMultipleUpload/dwzMultiUpload.php"); //**************************** // http://www.DwZone-it.com // MultipleFileUpload // Version 1.0.0 //**************************** set_time_limit(5400); $dwzUpload_1 = new dwzMultiUpload(); $dwzUpload_1->SetInstance("1"); $dwzUpload_1->SetExtraInfo("Vista|_|5400|_|block|_|500,150|_|true|_|"); $dwzUpload_1->SetRedirectUrl(""); $dwzUpload_1->SetPath("/publica/|_|1"); $dwzUpload_1->SetTempPath("/publica/|_|1"); $dwzUpload_1->TestEnvironment(); $dwzUpload_1->Init(); $dwzUpload_1->SetRootPath("./"); $dwzUpload_1->SetConnPar(@$hostname_Void, @$database_Void, @$username_Void, @$password_Void); $dwzUpload_1->SetTexts("<b>Multiple upload files</b>|_|Upload|_|Start upload files|_|Remove all|_|Remove queued files|_|Stop|_|Stop upload process|_|Total progress|_|Total file size|_|Uploaded size|_|Time elapsed|_|Time remaining|_|Total speed|_|Current speed"); $dwzUpload_1->SetMessages("The file cannot be removed|_|Upload in progress|_|Upload complete|_|Remove file from queue|_|SwfUpload not defined|_|No files selected|_|Upload complete with error|_|Total file size exceed limit"); $dwzUpload_1->SetButtonParameters("/dwzMultipleUpload/Graphics/Vista/BrowseButton.png|_|110|_|20|_|Browse...|_|font-family:Arial, Helvetica, sans-serif;font-size:12px;font-weight:bold;|_|font-family:Arial, Helvetica, sans-serif;font-size:12px;font-weight:bold;color:#cccccc;|_|20|_|3"); $dwzUpload_1->SetOverwriteMode("1"); $dwzUpload_1->SetAllowedExtensions("*.gif|_|*.jpg|_|*.jpeg|_|*.png|_|*.bmp"); $dwzUpload_1->SetAllowedExtensionsDescription("Gif Images|_|Jpg Images|_|Jpeg Images|_|Png Images|_|Bmp Images"); $dwzUpload_1->SetSizes("0,0,0"); $dwzUpload_1->SetInsertParameters("0|_||_||_||_|0|_||_||_||_||_||_||_||_|"); $dwzUpload_1->SetResizeParameters("0|_|0|_|450|_|450|_|80|_|1|_|0|_|200|_|200|_|80|_|1|_|_m|_|2|_|0|_|75|_|75|_|80|_|1|_|_s|_|2");
$dwzUpload_1->SetUploadFolder(); $dwzUpload_1->WriteLog("TEST WRITE LOG"); $dwzUpload_1->GetLastError(); ?>
Gianluigi
|
|
|