Upload Errors
-
Errors when attempting to add new gallery is images are too big.
Anything less than around 1,500 KB seems to upload OK but anything larger fails.Should be able to upload images that size without any issues.
-
Have you checked your hosting/PHP settings for maximum upload size and post size. You can hit that limit if you upload a lot of large files – not just images.
Yes that should not be a problem. It won’t even let me upload an image that is 540 KB
Plugin Version
4.0.3
WordPress Version
6.9
PHP Version
8.3.28
GD Version
bundled (2.1.0 compatible)
ImageMagick Version
ImageMagick 6.9.10-68 Q16 x86_64 2024-01-12 https://imagemagick.org
Memory Limit
512M
Max Upload Size
512 MB
Server Software
ApacheHas anyone checked if these issues are database related? I am having the same problems you’re describing, but also since upgrading I’m now having issues with similar resource errors when uploading to the WordPress media library. I tried installing Envira & Foo Gallery and am now getting upload errors with those as well.
Are you experiencing uploaded errors with the default Media Library?
You’re right I am getting errors there. I’ll contact hostgator and see what they say.
Will report backI too am having upload issues. 1/2 of my gallery failed – the files are only 250kb range. I notice the ones that failed all had faces in them. I cannot find anything anywhere that might be preventing the uploads.
Contacted Hostgator they changes some settings in PHP ini file but it did not help:
memory_limit 512M – 1024M
max_execution_time 120
upload_max_filesize 512M – 1024M
max_input_vars 3000
post_max_size 1024M
I will say that this server is running an outdated database – Server version 5.7.23-23
And I have the same issue on another hosting account running the same outdated database version.
But if I try uploading a file to a site hosted with a more recent database the upload completes.
Have to wonder if that is the issue.This may not be the issue. Just tried it on a site on a 3rd server running that same outdated database and no issues uploading so I don’t know.
-
This reply was modified 1 week, 2 days ago by
jimk1416.
Hostgator techs have escalated the issue and could take another 24 hours to resolve. I doubt they’ll say exactly what they did IF they resolve it but I will report back if it resolves the issue.
Thank you for your patience.Received a reply from Hostgator.
The issue is caused by PHP crashing when Imagick attempts to process the JPG for thumbnail generation.
They also said, while the WordPress dashboard displays an error when uploading images, please note that any images you upload are still being saved in the Media Library, which you can check after refreshing the page.But I can see the images in the upload folder only via FTP not in the actual Media library and this still would not allow images to be uploaded with the plugin so the issue remains.
They said they do not have an exact ETA for the fix, but resolving this is a high priority for us, and we are doing everything possible to restore full functionality as quickly as we can.
But as I stated earlier this server is running outdated database software so I’m really not expecting them to get this resolved so I would probably have to switch to another hosting provider.Realistically you shouldn’t have to switch hosting providers because of a plugin.
I went through all of the same you just mentioned and found a temporary solution with help from Imagely support – although it doesn’t really address the full issue.From support: “Older versions of PHP GDlibrary like 2.1.0 can cause memory leaks, leading to upload failures. We recommend upgrading to at least version 2.2.5. We suspect the issue might be due to PHP GD Library version 2.1.0 using excessive memory when images have EXIF rotation metadata. Some users have found that removing the EXIF rotation metadata using a third-party editor can help with uploads”
HostGator will not upgrade your GDLibrary unless you’re on a Dedicated server or VPS.
So… I used a utility to batch strip all EXIF data from my photos and then uploaded them to a folder via FTP, ran “scan folder”. NextGen then imported everything as it normally should have (100+ photos), to my surprise and the gallery functioned just fine on-page afterwards, whereas before it would just give a 503 error page.It’s great that this works, but it’s not ideal to have to strip EXIF data from hundreds of photos before uploading and still doesn’t explain why suddenly this is now also an issue when uploading with the WP Media Uploader and other plugins. I don’t know enough about how the image file processing works to decipher why that might be happening.
So that may be a temporary solution to get you by for now, but it’s not really a fix.
We’re now exploring alternatives to NextGen as we’ve had other problems in the past and it’s just becoming a time sink.-
This reply was modified 1 week, 1 day ago by
mikefc.
Thank you for the information and the time spent.
In my case, due to the database being outdated and not meeting WordPress minimum requirements I would still opt for new hosting provider.
This one website is also a client’s website so they’re not going to be able to or want to do anything above what they need to do. -
This reply was modified 1 week, 2 days ago by
You must be logged in to reply to this topic.