When I try to upload an image using the example module, it refuses to upload and shows an error saying the file is too big.

See https://www.drupal.org/files/issues/2017-06-07-filebrowsererror.png

As you can see here: https://www.drupal.org/files/issues/2017-06-07-filebrowser_field_setting... My php max size is set to 15 GB, and my field is set to allow 1GB uploads. This is on my laptop, so I keep the limits high...

I could find no configuration anywhere limiting the upload to 2mb. I checked php.ini, .htaccess, Drupal settings under config -> file system, etc.

Here are some details about my set up:

blah@laptop $drush status
 Drupal version                  :  8.3.2                                                                                                      
 Site URI                        :  http://default                                                                                             
 Database driver                 :  mysql                                                                                                      
 Database hostname               :  localhost                                                                                                  
 Database port                   :  3306                                                                                                       
 Database username               :  root                                                                                                       
 Database name                   :  familysitedev                                                                                              
 Drupal bootstrap                :  Successful                                                                                                 
 Drupal user                     :                                                                                                             
 Default theme                   :  pixture_reloaded                                                                                           
 Administration theme            :  seven                                                                                                      
 PHP executable                  :  /usr/bin/php                                                                                               
 PHP configuration               :  /etc/php/7.0/cli/php.ini                                                                                   
 PHP OS                          :  Linux                                                                                                      
 Drush script                    :  /home/blah/.composer/vendor/drush/drush/drush.php                                                       
 Drush version                   :  8.1.2                                                                                                      
 Drush temp directory            :  /tmp                                                                                                       
 Drush configuration             :                                                                                                             
 Drush alias files               :                                                                                                             
 Install profile                 :  standard                                                                                                   
 Drupal root                     :  /home/blah/dev/sites/drupal8/public                                                                  
 Drupal Settings File            :  sites/default/settings.php                                                                                 
 Site path                       :  sites/default                                                                                              
 File directory path             :  sites/default/files                                                                                        
 Temporary file directory path   :  /tmp                                                                                                       
 Sync config path                :  sites/default/files/bljlksjdf/sync 

 blah@laptop $php --version
PHP 7.0.18-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.18-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
 blah@laptop $cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"


Is there any other information that could help?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jerrac created an issue. See original summary.

jerrac’s picture

Issue summary: View changes
axooh’s picture

We currently have the same issue.

samuel.mortenson’s picture

Could you try applying the latest patch from #2808687: Use reusable settings defined on field level rather than duplicating configuration and seeing if that resolves this issue? DropzoneJS currently doesn't support field settings, but with the latest patch it should. Thanks!

samuel.mortenson’s picture

Status: Active » Closed (duplicate)

Closing as a duplicate of the issue mentioned in #4, which should address this issue.