When I try to upload images into NextGen, it stops at different procentages and then after a while I get this error message:
An unexpected error occured. This is most likely due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance.
0 images were uploaded
However, when I look in the gallery the picture has been uploaded, but only the first picture if I do bulk uploads.
It started to occur at the same time as I changes host for my WP blog. That made me believe it was something wrong with the new host so I contacted 2nd line support and they looked into the issue. They see no error on the server side, al they get is a timeout string as this:
[Tue Jan 14 16:43:41 2014] [warn] [client 22.214.171.124] Timeout waiting for output from CGI script /usr/bin/php-cgi
[Tue Jan 14 16:43:41 2014] [error] [client 126.96.36.199] Premature end of script headers: php-cgi
[Tue Jan 14 16:48:41 2014] [warn] [client 188.8.131.52] Timeout waiting for output from CGI script /usr/bin/php-cgi
The timeout setting for the php installation is set quite high so shouldn't be the problem:
max_execution_time = 1600
The files I'm trying to upload is normal jpeg's between 200k and 2Mb so should not timeout.
I have turned on debug on WP but can not see anything there related to this.
The host has other WP customers and none of them have reported this issue.
At the same time, might not be related to the same error, plug-in and core updates also stop in the progressbar and finally time out as the upload for the images do. When I check all the updates were still performed.
I have searched the web and looked through your support forum but I can not find a fix for this, please help.