Welcome to Geeklog, Anonymous Sunday, June 22 2025 @ 04:00 am EDT
Geeklog Forums
File upload problems.
O.k. I have edited php.ini to have 40M for file uploads, but I am getting an error when I try to upload a file. Here is the error:
PHP Warning: POST Content-Length of 19457939 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referrer: http://***.***.***.***:***/gl/admin/plugins/filemgmt/index.php?op=newfileConfigAdmin
I have searched the forum for this and came up with nothing. I have also looked in the index.php file in /admin/plugins/filemgmt for 8388608 but it isn't there.
thanks in advance.
PHP Warning: POST Content-Length of 19457939 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referrer: http://***.***.***.***:***/gl/admin/plugins/filemgmt/index.php?op=newfileConfigAdmin
I have searched the forum for this and came up with nothing. I have also looked in the index.php file in /admin/plugins/filemgmt for 8388608 but it isn't there.
thanks in advance.
12
20
Quote
Status: offline
Forum User
Regular Poster
Registered: 12/02/03
Posts: 90
Sorry, I wasn't logged in when I types that. anyways, I wanted to edit it and say this is on geeklog 1.3.9 and is setup using aeonserv 1.5.25
12
16
Quote
Status: offline
Forum User
Full Member
Registered: 05/26/03
Posts: 329
I believe as you stated, it is due to the size limit in php.ini. Has nothing to do with GL. I would recommend typing part of the error in Google. There is plenty of literature about it.
13
15
Quote
Status: offline
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Status: offline
Forum User
Regular Poster
Registered: 12/02/03
Posts: 90
Yea, it is a file size limitation, or it may even be a .zip file problem. I recompressed the file as a .rar, which brough it down to 6.22MB and it uploaded perfectly.
I took a look at the article, but it didn't help out any
I also upped the php.ini to 90M.
Here is something I am thinking, even though the php.ini has the default limitation set to 2MB, when changing it should I put something like 6,523,492 for a 6.22meg file? From the looks of that error I had a limitation of 8meg even though I had the php.ini set to 40M
Now that I know I can upload 6 meg files, I am going to see if I can do 10meg
I took a look at the article, but it didn't help out any

I also upped the php.ini to 90M.
Here is something I am thinking, even though the php.ini has the default limitation set to 2MB, when changing it should I put something like 6,523,492 for a 6.22meg file? From the looks of that error I had a limitation of 8meg even though I had the php.ini set to 40M
Now that I know I can upload 6 meg files, I am going to see if I can do 10meg
16
18
Quote
(this worked for my RedHat9 install)
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 10Mb, heaps of upload capacity.
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 10Mb, heaps of upload capacity.
11
17
Quote
All times are EDT. The time is now 04:00 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