Dear List,
has anybody encountered/solved this kind of problem?
Michael
__________________
Dear list,
sorry for what may turn out a beginner's blunder. With the configuration
outlined below, I still get an error message when trying to upload a file
(no matter what size or type): "The file you uploaded seems to be empty".
I found a lot of stuff on this, but somehow...
Any help would be greatly appreciated
Michael
MediaWiki 1.20.3
SUSE LES 11
Apache/2.2.12
PHP 5.3.8
MySQL 5.5.29
+ + httpd.conf + +
<Directory /srv/www/htdocs>
LimitRequestBody 104857600
</Directory>
+ + php.ini + +
memory_limit = 128M
post_max_size = 100M
file_uploads = On
upload_tmp_dir = /srv/www/htdocs/temp_upload
upload_max_filesize = 32M
max_file_uploads = 20
safe_mode = Off
; open_basedir
++ LocalSettings.php + +
$wgEnableUploads = true;
$wgGroupPermissions['autoconfirmed']['upload_by_url'] = true;
$wgAllowCopyUploads = true;
$wgCheckFileExtensions = true;
$wgMaxUploadSize = 104857600; // 100MB
$wgFileBlacklist = array('html', 'htm', 'js', 'jsb',
'mhtml', 'mht',
'xhtml', 'xht', 'php', 'phtml', 'php3',
'php4', 'php5', 'phps', 'shtml',
'jhtml', 'pl', 'py', 'cgi','exe', 'scr',
'dll', msi', 'vbs', 'bat', 'com',
'pif', 'cmd', 'vxd', 'cpl' );
$wgUploadDirectory = "{$IP}/public"; // "false" defaults to
"{$IP}/images"
$wgUploadPath = "{$wgScriptPath}/public"; // "false" defaults to
"{$wgScriptPath}/images"
$wgFileExtensions[] = 'png';
$wgFileExtensions[] = 'jpg';
$wgFileExtensions[] = 'jpeg';
$wgFileExtensions[] = 'gif';
$wgFileExtensions[] = 'ppt';
$wgFileExtensions[] = 'ogg';
$wgFileExtensions[] = 'pdf';
$wgFileExtensions[] = 'doc';
$wgFileExtensions[] = 'ppt';
$wgFileExtensions[] = 'xls';
+ + File Permissions ++
upload_tmp_dir
images
public
File permissions for all directories mentioned above: 0777
Michael
www.dw.de
mobile.dw.de
mediacenter.dw.de