Forum
Asset upload fails with no error.
I am uploading a 23MB zip file. I have added zip to the allowed file types and have successfully uploaded them before. If I upload the file, it seems to complete, but then is not shown in the asset list. If I upload a smaller file it seems to upload. My max file upload size is 100M so that shouldn't be an issue. No errors seem to be logged.
My diagnostics:
PERCH INFORMATION
Perch: 2.8.32
Production mode: Production (100)
Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_forms (1.8.3), perch_shop_orders (1.0.9), perch_shop_products (PERCH_SHOP_VERSION), perch_shop (1.0.9), perch_members (1.5)
DB driver: PDO
DB tables: perch2_categories (3), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (92), perch2_content_items (28), perch2_content_regions (2), perch2_forms (5), perch2_forms_responses (5), perch2_members (4), perch2_members_forms (0), perch2_members_member_tags (0), perch2_members_sessions (4), perch2_members_tags (1), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (1), perch2_resource_log (156), perch2_resource_tags (0), perch2_resources (222), perch2_resources_to_tags (0), perch2_settings (26), perch2_shop_addresses (21), perch2_shop_admin_index (30), perch2_shop_brands (1), perch2_shop_cart (66817), perch2_shop_cart_data (118), perch2_shop_cart_items (39), perch2_shop_countries (250), perch2_shop_currencies (152), perch2_shop_customers (7), perch2_shop_emails (2), perch2_shop_index (2105), perch2_shop_option_values (0), perch2_shop_options (0), perch2_shop_order_items (191), perch2_shop_order_promotions (0), perch2_shop_order_statuses (9), perch2_shop_orders (90), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (0), perch2_shop_product_options (0), perch2_shop_product_tags (0), perch2_shop_products (36), perch2_shop_promotions (0), perch2_shop_search (36), perch2_shop_shipping_zone_countries (4), perch2_shop_shipping_zones (1), perch2_shop_shippings (1), perch2_shop_tax_exhibits (123), perch2_shop_tax_group_rates (1), perch2_shop_tax_groups (1), perch2_shop_tax_locations (1), perch2_shop_tax_rates (0), perch2_shop_variants (0), perch2_user_passwords (2), perch2_user_privileges (69), perch2_user_role_privileges (57), perch2_user_roles (2), perch2_users (2)
Users: 2
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_forms',
'perch_members',
'perch_shop',
);
Editor plug-ins: markitup, ckeditor, redactor
H1: d9803f246d6e4ed14ac50ff63ac5e85d
L1: 631c421152c1f13dd7654cb910052040
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: https://www.mydomain.co.uk/
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.31: done
latest_version: 2.8.15
perch_members_update: 1.4
update_2.8.32: done
perch_shop_update: 1.0.9
headerScheme: light
perch_members_login_page: /members/
perch_shop_price_tax_mode: inc
perch_shop_site_url:
perch_shop_product_url: /shop/{slug}
perch_shop_default_currency: 47
perch_shop_reporting_currency: 47
perch_shop_invoice_number_format: SGS#%d
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /my_cms/resources/email-logo-1.png
on_sale_version:
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: mydomain_admin2
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: mydomain_cms
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: name@mydomain.co.uk
PERCH_EMAIL_FROM_NAME: Name
PERCH_LOGINPATH: /my_cms
PERCH_PATH: /home/mydomain/public_html/my_cms
PERCH_CORE: /home/mydomain/public_html/my_cms/core
PERCH_RESFILEPATH: /home/mydomain/public_html/my_cms/resources
PERCH_RESPATH: /my_cms/resources
PERCH_HTML5: 1
PERCH_SSL: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/mydomain/public_html/my_cms/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
PERCH_SHOP_VERSION: 1.0.9
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS
PHP: 5.6.30
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.6.35
Free disk space: 1.10 TB
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, imap, intl, json, magickwand, exif, mcrypt, mysqlnd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, SimpleXML, soap, sockets, SourceGuardian, sqlite3, tidy, timezonedb, tokenizer, uploadprogress, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend Guard Loader, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 100M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
CONTEXT_DOCUMENT_ROOT: /home/mydomain/public_html
DOCUMENT_ROOT: /home/mydomain/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTPS: on
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmsa=1; cpsession=%3aK7dLaja1mBm3SDYL%2c8349b00632b09604807df6484501f0cc; PHPSESSID=tkvl2stgsjv5fjdi8irp62e5d1
HTTP_HOST: www.mydomain.co.uk
HTTP_REFERER: https://www.mydomain.co.uk/my_cms/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
HTTP_X_HTTPS: 1
PATH: /bin:/usr/bin
PHP_INI_SCAN_DIR: /opt/cpanel/ea-php56/root/etc/php.d/:/home/mydomain/
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 92.15.239.210
REMOTE_PORT: 49883
REQUEST_METHOD: GET
REQUEST_SCHEME: https
REQUEST_URI: /my_cms/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /homemydomain/public_html/my_cms/core/settings/diagnostics/index.php
SCRIPT_NAME: /my_cms/core/settings/diagnostics/index.php
SCRIPT_URI: https://www.mydomain.co.uk/my_cms/core/settings/diagnostics/
SCRIPT_URL: /my_cms/core/settings/diagnostics/
SERVER_ADDR: 77.92.80.175
SERVER_ADMIN: webmaster@mydomain.co.uk
SERVER_NAME: www.mydomain.co.uk
SERVER_PORT: 443
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
SSL_TLS_SNI: www.mydomain.co.uk
TZ: Europe/London
UNIQUE_ID: WUGCEWHfL-PX@ooSK1jHTAAAABI
PHP_SELF: /my_cms/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1497465361.77
REQUEST_TIME: 1497465361
argc: 1
Lisa, I am guessing this is on a shared server. Even though your settings allow for large upload files, the server likely has smaller allocations per client, therefore your upload is being dropped when you reach the hosted limits, rather then your own settings. This is often the issue on shared hosting accounts. :(
Hi Lisa - you've got a php.ini setting showing Total max uploadable file size: 8M - that's probably set by your hosting company, as Robert says.