Support » Knowledge Base » Files »
When uploading one or several files using WebAsyst Files you may receive a message of kind "1 file(s) successfully uploaded", but the uploaded files will not actually appear in the destination folder. This can happen if you have WebAsyst Files installed on your own/dedicated server or on a virtual web hosting. Possible causes of this problem are explained below.
Note: Users of the online services cannot upload files over 200 MB in size.
SecFilterEngine OffIf you fail to disable the module by editing file .htaccess, contact you server administrator to have mod_security disabled for your web hosting account.
SecFilterScanPOST Off
<?php
if (isset($_GET['PHPSESSID'])) {
session_id($_GET['PHPSESSID']);
session_start();
if (isset($_SESSION['test_upload'])) {
$result = '<font color="green">Session successfully created</font>';
} else {
$result = '<font color="red">Error creating session</font>';
}
echo $result;
} else {
session_start();
$_SESSION['test_upload'] = true;
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].
"?PHPSESSID=".session_id();
echo <<<HTML
Please copy this URL and open it with another browser: <br />
<a href="{$url}">{$url}</a>
HTML;
}
?>
Upload file test.php to your server and enter its URL in a web browser. A message of the following kind should appear:
Copy this URL and open it with another browser:
http://domain.com/test.php?PHPSESSID=7aa3b0883d574a6c61126f34695a2b91
Copy the URL of the generated link, run another browser (if your are currently using Internet Explorer, open Firefox, Chrome, Safari or Opera etc.) and paste the copied URL to its address bar. The page that opens will display a message saying either "Session successfully created" or "Error creating session". In the latter case contact your web hosting company support team or the server administrator to have the server re-configured accordingly.