Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:11 pm EST

Geeklog Forums

Uploading issue (file size?) filemgmt


Curly

Anonymous
Hi there,

I am using filemgmt plugin and seem to have an issue with uploading files larger than about 500Kb. I have edited

upload_max_filesize in my php.ini to 100M
post_max_size also to 100M
max_execution_time = 500
max_input_time = 60
memory_limit = 100M

These sizes are far in excess of what I need but I was testing.

Restarted Apache, and doesn't make any difference. When I try to upload a bigger than approx 500Kb file, I get a 'page cannot be displayed' error. Is there anywhere else where max upload sizes may appear? I can't think of any other reason as less than 500Kb is fine.

Thanks in advance,
Curly
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
A few thoughts:

- Are you going through any sort of proxy
- Is this on a public internet server or internal corp network
- What browsers have you tried
- Are you certain the php.ini you are editing is the correct one - what have you done to verify this

There are no limits in the plugin code or Geeklog to restrict the download size. Any limits are PHP, Apache, Network, Browser related.


Geeklog components by PortalParts -- www.portalparts.com
 Quote

Curly

Anonymous
Hi, thanks for your reply. I am not running through a proxy, and am running an internal web server running Red Hat Enterprise 3, although its internet facing. I only have one php.ini file on my system as far as I can tell, and the gallery plugin works fine even when uploading photos greater than 500Kb.

Am guessing its not a permissions issue (chgrp) as smaller files work ok, and I have googled a bit assuming its a php issue, and have found forum posts of the problem, but no solution. I might try EasyFile and see if that gives me the same problem.

Is there anything related to uploads in the apache httpd.conf?

Curly
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Take a look in /etc/httpd/conf.d/php.conf


SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288


This file is added to httpd.conf as an include, so it's very easy to
miss any configuration settings that might be set here.

BTW, you can set LimitRequestBody to zero, which is the same as
setting no limit. Although I'd recommend setting it the same as your
max php upload size.

Hope this helps.

Geeklog components by PortalParts -- www.portalparts.com
 Quote

All times are EST. The time is now 12:11 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