Forum
Large file uploads
Hello,
I'm having an issue uploading larger assets. My upload size limit is 100M and the files I'm trying to upload are only 30M. The I put the files directly into the resources folder no problem, but they still do not show in the asset app. I've tried this upload through the asset chooser & the asset app. Uploads do work on smaller files, so I don't think it would be a permissions issue either. Any way you can help?
Perch: 3.0.9, PHP: 5.4.24, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: 2d8f599f49e5e8d2f5ba7112b5c444b3e2e48cdf $, with PDO
Server OS: WINNT, cgi-fcgi
Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_events (1.9.5), perch_members (1.6.1)
App runtimes: <?php $apps_list = ['perch_events', 'perch_members' ];
PERCH_LOGINPATH: /perch
PERCH_PATH: C:\inetpub\wwwroot\Agenda-live\perch
PERCH_CORE: C:\inetpub\wwwroot\Agenda-live\perch\core
PERCH_RESFILEPATH: C:\inetpub\wwwroot\Agenda-live\perch\resources
Image manipulation: GD
PHP limits: Max upload 100M, Max POST 100M, Memory: 128M, Total max file upload: 100M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: C:\inetpub\wwwroot\Agenda-live
HTTP_HOST: sheboyganmeeting.com
Jared, just because your settings allow the large uploads, if your hosting plan is on a shared server all the resources have been divided amongst the other accounts, so often this results in exactly the issue your having. This is reported a lot with shared hosting and the really cheap hosting companies.
Hi Robert,
It is not on a shared hosting plan. I tested other file sizes and got up to around 26mb max before I run into the same issue. Anything over that (when entered in assets app) I am put at a 404 page: https://domain/perch/core/apps/assets/edit/ .
I raised the upload, post, and memory limit to 1000M to see if this would allow a 30MB pdf, but had the same issue. Is there anything else that could affect the ability to upload larger files?
I'm not sure. I just know the most common issue is generally with shared hosting plans. Hang in there cause I know you'll get more responses who may have a better idea what's up...
Do you have any additional security configuration such as mod_security enabled? The 404 sounds strange.
There was an SQL setting set to 30 MB max, separate from the php upload limits. The issue is now resolved.
~Thanks.