Page 1 of 1
Pafiledb showing 0 byte size when adding files through URLs

Posted:
Sun Aug 30, 2009 2:05 pm
Author: golgoth
I just noticed that pafiledb doesn't check the filesize if you choose to add it through an URL and not through direct uploading.
Now all my files are 0 bytes... is there a way to enable the check?
Thanks
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Mon Aug 31, 2009 9:57 am
Author: Helter
it does not check file size because the files are not stored locally. It has no way to check the files size and since it is not using space on your server, there is no need other than for general information.
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Mon Aug 31, 2009 12:15 pm
Author: golgoth
I asked for it since i use remote URLs to add files that i can only upload through ftp because they are too big... i suppose i have to add filesize manually through phpmyadmin then, right?
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Tue Sep 01, 2009 7:43 pm
Author: .QUACK.Major.Pain
Not sure, but isn't there a 2MB cap?
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Tue Sep 01, 2009 11:03 pm
Author: Helter
2 megs is the default upload size of most php packages set in the php.ini
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Tue Sep 01, 2009 11:42 pm
Author: golgoth
I can upload files < 8 MB, but for the bigger ones i have to use ftp.
And since i have many of them, this is why i asked.
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Wed Sep 02, 2009 8:08 am
Author: Helter
are you on shared hosting, or do you have access to your php.ini?
if so, what are the settings for these?
post_max_size =
upload_max_filesize =
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Wed Sep 02, 2009 8:33 am
Author: golgoth
Shared hosting, no way to change the maximum upload limit <img>
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Wed Sep 02, 2009 2:10 pm
Author: .QUACK.Major.Pain
Look in ACP>Tools> PHP Info
And find the 2 above lines and it tells you your max limits.
I am 128 M - I guess that is MB?
Probably varies with hosts.
I have unlimited storage, but limited to FTP.
I have to use FTP also for large files.
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Wed Sep 02, 2009 7:45 pm
Author: Helter
try adding this to your config.php
ini_set("memory_limit", "200000000");
ini_set("post_max_size", "64M");
so it should look like this (but with your own db info)
- Code: Select all
<php>
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Thu Sep 03, 2009 12:59 pm
Author: golgoth
I tried with a 25 MB file: pafiledb says that the file has been correctly uploaded, but there's no trace of it in my downloads... with a 7 MB file everything's right.
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Fri Sep 04, 2009 12:03 am
Author: Helter
did you check the "Maximum Filesize" in acp/Download/Configuration/ ?
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Fri Sep 04, 2009 12:33 am
Author: golgoth
Yep, i set it to unlimited.
Probably my hosting service doesn't allow to increase the max upload size in any way... but i just saw that now the limit is 20M, so i will be able to upload most of my files without having to use remote URLs <img>
Thanks anyway
P.S. Hey JWI, did you read my question about thumbnails [url=http]here[/url]?
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Fri Sep 04, 2009 4:50 am
Author: .QUACK.Major.Pain
Using "0" may not work on your host.
Our old host it worked, but our new host, it didn't and we had to select a higher number for max file size, and seems to work now.
Try setting a higher number and test it.
Re: Pafiledb showing 0 byte size when adding files through U

Posted:
Fri Sep 04, 2009 11:46 am
Author: golgoth
Tried, but no results... np anyway, 20M are enough for most of the files i have to upload