Although I selected the file/files to upload on the server, then the upload starts, but in the end I get the following message:
"You didn't pick a file to upload"
All permissions are setup ok.
What could be the problem?
upload_max_filesize = 2M
post_max_size = 8M
upload_max_filesize = 100M
post_max_size = 100M
php_value upload_max_filesize 100M
php_value post_max_size 100M
<script type="text/javascript">
$(function(){
$('#swfupload-control').swfupload({
upload_url: "upload.php?do=verify&method=flash",
file_post_name: 'upfile',
file_size_limit : "179200", <<<--------------------------------------- this part right here
file_types : "*",
file_types_description : "File Types",
file_upload_limit : 5,
flash_url : "js/swfupload/swfupload.swf",
button_image_url : 'js/swfupload/wdp_buttons_upload_114x29.png',
button_width : 114,
button_height : 29,
button_placeholder : $('#button')[0],
debug: false
dasistgood wrote:Hi,
I would like to kick the topic. I have a problem with the v1.2 and the flash upload.
I can transfer bigger files than 4mb (standard max_file_size of my host) via a .htaccess edit and the HTML form, but if i use the flash button it keeps saying i didn't select any files (if larger than 4mb).
In de source i found a part where the problem may be, but my knowledge doesn't reach that far if that is even the case. I can;t find the file that contains that code either.
- Code: Select all
<script type="text/javascript">
$(function(){
$('#swfupload-control').swfupload({
upload_url: "upload.php?do=verify&method=flash",
file_post_name: 'upfile',
file_size_limit : "179200", <<<--------------------------------------- this part right here
file_types : "*",
file_types_description : "File Types",
file_upload_limit : 5,
flash_url : "js/swfupload/swfupload.swf",
button_image_url : 'js/swfupload/wdp_buttons_upload_114x29.png',
button_width : 114,
button_height : 29,
button_placeholder : $('#button')[0],
debug: false
Any ideas on how to fix the filelimit for the flashbutton?
PeterS wrote:This is not a bug, and that message is caused by several reasons:
1) A file was not selected. (not your case in this situation).
2) PHP.INI values are below the size you set on DFH.
In php.ini change the following values to the limit you set in DFH:
- Code: Select all
upload_max_filesize = 2M
post_max_size = 8M
e.g.
- Code: Select all
upload_max_filesize = 100M
post_max_size = 100M
OR
if you do not have access to the php.ini file, change the values by using .htaccess, by adding the following values in the .htaccess file located in the dir of the script.
- Code: Select all
php_value upload_max_filesize 100M
php_value post_max_size 100M
<Files *.mfh>
order allow,deny
deny from all
</Files>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/?$ download.php?file=$1 [L]
php_value upload_max_filesize 100M
php_value post_max_size 100M
Return to Daddy's File Host v1.X
Users browsing this forum: No registered users and 2 guests