Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 05:01 am EST
Geeklog Forums
Filemgtmt Plugin File size limit
Status: offline
xspace
Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
I tried adding a five meg file, instead I got an error msg
Error code : 1017
Error: The file was no uploaded. Check permissions or duplicate file.
When I add small files, no issue @all ... Actually these are all from the same machine .. anyway to manually put it in w/o going thru the File Mgtmt Admin ???
Die young, stay Pretty
Die young, stay Pretty
18
16
Quote
Status: offline
Chalkhillian
Forum User
Chatty
Registered: 09/23/02
Posts: 67
Upload a small file to get the meta data for the file and then FTP the larger file over top of it.
18
22
Quote
Status: offline
DaveC
Forum User
Newbie
Registered: 11/08/04
Posts: 6
Location:NZ
If nothing else has worked, try this.
(I am running RedHat9, this is what caused mine to fail)
in /etc/httpd/conf.d/php.conf, increase the value of LimitRequestBody.
It is by default 524288 (0x80000)
Change it to something large - I used 10485760 (0xA00000) which gives me max file size of 10Mb, heaps of upload capacity.
cheers
DC
(I am running RedHat9, this is what caused mine to fail)
in /etc/httpd/conf.d/php.conf, increase the value of LimitRequestBody.
It is by default 524288 (0x80000)
Change it to something large - I used 10485760 (0xA00000) which gives me max file size of 10Mb, heaps of upload capacity.
cheers
DC
18
16
Quote
Status: offline
Schtonk
Forum User
Junior
Registered: 08/05/04
Posts: 30
Location:Dallas. Tx
Quote by Chalkhillian: Upload a small file to get the meta data for the file and then FTP the larger file over top of it.
I have used this method to trick the php.ini file size threshold....now how do i change the file size data to reflect the true file size?
Independent Media Magazine
35
18
Quote
Status: offline
DaveC
Forum User
Newbie
Registered: 11/08/04
Posts: 6
Location:NZ
I did that a few times too, until I worked out the real solution.
To fix it you have to edit the database record directly.
Easiest way is to use phpMyAdmin but if you are a regular SQL user you can do it from the mySQL command line.
There is a table called '??_filemmgmt_filedetail' (where the ?? is 'gl' by default but you may have changed it when you installed it)
This table has a field called 'size'
Change that to the correct size for your file record, remembering that 1k is actually 1024 bytes not 1000.
To fix it you have to edit the database record directly.
Easiest way is to use phpMyAdmin but if you are a regular SQL user you can do it from the mySQL command line.
There is a table called '??_filemmgmt_filedetail' (where the ?? is 'gl' by default but you may have changed it when you installed it)
This table has a field called 'size'
Change that to the correct size for your file record, remembering that 1k is actually 1024 bytes not 1000.
21
18
Quote
All times are EST. The time is now 05:01 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content