Welcome to Geeklog, Anonymous Monday, December 02 2024 @ 09:26 pm 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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
PHP has a default file size limit of 2 MB. You can change that in the php.ini (if you have access to that file - otherwise you need to contact your hosting service). bye, Dirk
 Quote

Status: offline

isol8

Forum User
Regular Poster
Registered: 05/14/02
Posts: 73
check blaine's site www.langfamily.ca this has been addressed a few times
 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.
 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
 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
 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.
 Quote

All times are EST. The time is now 09:26 pm.

  • 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