-- "You didn't pick a file to upload" Allow larger uploads--

All support enquiries for DFH go in here...

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Wed Feb 15, 2012 3:45 am

Where is this Php.ini ? I get errors on file size In the admin CP settings is set to 100mb max upload, and as far as modifying the htaccess, there's one in every folder. Can you be more specific as to which htaccess file to modify and what to add? I think the solution to this would have been default 100mb upload and ability to scale it down.
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby SamEA » Thu Feb 16, 2012 1:35 am

toxist wrote:Where is this Php.ini ? I get errors on file size In the admin CP settings is set to 100mb max upload, and as far as modifying the htaccess, there's one in every folder. Can you be more specific as to which htaccess file to modify and what to add? I think the solution to this would have been default 100mb upload and ability to scale it down.


The .htaccess is in the root directory of where DFH is placed. For example, if DFH was placed in ./home/example.com/dfh, then ./home/example.com/dfh/.htaccess is responsible for managing everything in ./dfh. For more info, I advise you ask your web hoster as many have different methods of editing the php.ini file.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Thu Feb 16, 2012 1:37 am

Yo add to the problem, I now get, " You didn't choose a file to up load?? what am i missing here.
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Thu Feb 16, 2012 1:44 am

I found the htacces file in the root. what code do I add to it please.

RewriteEngine on
<Files 403.shtml>
order allow,deny
allow from all
</Files>
<Limit GET HEAD POST>
order allow,deny
allow from all
</LIMIT>
deny from 77.0.0.0/8
deny from 91.201.
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://asianfuflix.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://asianfuflix.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.asianfuflix.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.asianfuflix.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.usdoj.gov/criminal/cybercrim ... lking.html [R,NC]
RewriteCond %{HTTP_HOST} ^asianfuflix.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.asianfuflix.com$
RewriteRule ^/?$ "http\:\/\/asianfuflix\.com\/forum\/forum\.php" [R=301,L]
#RewriteCond %{HTTP_HOST} ^.*$
#RewriteRule ^/?$ "http\:\/\/www\.asianfuflix\.com\/forum\/" [R=301,L]
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby SamEA » Thu Feb 16, 2012 11:21 am

At the end of the .htaccess file, but shouldn't really matter where you place it.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Thu Feb 16, 2012 8:46 pm

If I add as it is written to the htaccess above in the previous post, I get a server error. It would seem there needs to be something more in this add on to the htaccess

php_value upload_max_filesize 100M
php_value post_max_size 100M
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby SamEA » Thu Feb 16, 2012 8:59 pm

Are you on Windows? If so, I advise you to edit the php.ini file directly instead of using .htaccess. Are you on a server that has root access?
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Thu Feb 16, 2012 9:24 pm

Note: Did we ever find a solution to the error " You didn't Pick a file to upload?" after it uploads the file
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby toxist » Fri Feb 17, 2012 1:18 am

The host gave me the cpanel link to edit the PHP.ini file, since it is in the root, I can now upload ->100mb when i use the kill file url given I get this error :
Fatal error: [] operator not supported for strings in /hermes/web07/b68/moo.Mysitecom/dfh/index.php on line 24
yet it deletes the file OK It also fixed the you did not pick a file error

Where do i need to go to fix it?
toxist
Premium
 
Posts: 12
Joined: Tue Feb 14, 2012 9:10 am

Re: -- "You didn't pick a file to upload" Allow larger uploa

Postby SamEA » Fri Feb 17, 2012 3:27 pm

SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

PreviousNext

Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 21 guests

cron