hi all,
I have a self-hosted installation of drupal updated recently to 7.41 release on a Debian 8 server (apache2 2.4.10). All of the modules are updated to the most recent versions.

The site is collecting many photogalleries that authenticated users can view and download, and always worked fine.
In the last few days I get an AJAX HTTP error when I try to upload multiple images to generate a gallery (modules multiple_filefield_widget and multiple_imagefiled_widget were uninstalled and reinstalled trying to resolve the issue).
When I try to upload even a couple of images I get this error:

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /photogallery/?q=file/ajax/field_images/und/form=
StatusText: n/a
ResponseText: Request Enitity Too Large
The requested resource /photogallery/ does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
Apache/2.4.10 (Debian) Server at 192.168.1.2 Port 80
ReadyState: undefined.

I've already tried to expand the php.ini parameters for max_post_size and others to 4 GB without solving the problem, checked and eventually disabled global and local copies of .htaccess files, cheched the free space on hdd.
Maybe is a mysql db issue? If so, how can I try to troubleshoot the problem?

Sorry for my ugly english and thanks a lot to all who can help me.

Comments

nevets’s picture

Besides max post size there is a PHP setting for max upload size. You make also need to increase max timeout or PHP could time out for large files.

cianux’s picture

Hi nevets,
thanks for your quick reply. I've checked the settings and even the max upload size is set to 4 GB. I've not found in the /etc/php5/apache2/php.ini any general directive regarding the max timeout, except for the default_socket_timeout (set to 3600) and the mysql.connect_timeout (3600 too). Even with such modifications and the apache2 service restarted the problem remains. Is there something I can check and modify in the php.ini and .htaccess files?