To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

500 Internal Server Error - Uploading Images

J
43 posts
Tue Jan 23, 18 7:29 AM CST
Hi All!

All of a sudden I am having trouble uploading images. Every image I try gives me an Internal Server Error. Retrying gets me the same result. This started just last night. Any ideas?

Thanks so much!
16,148 posts (admin)
Tue Jan 23, 18 9:57 AM CST
Maybe the photos are larger than what you normally upload and too large for the server to process.

In the upload dialog, click View Server Configurations. If your photo file sizes are larger than Upload Max File Size or Post Max Size, then that is the problem.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
43 posts
Tue Jan 23, 18 10:16 AM CST
Hi,

I checked that and it is not the problem. Those values are set to 20M and some of the images are as small as 3mb. :(

Thanks
16,148 posts (admin)
Tue Jan 23, 18 10:47 AM CST
Are the dimensions of the photos larger than normal? Could be that is too large. depending on the memory limit value. Try smaller photos. If that doesn't work then you might have to contact your host because a 500 error is a server error.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
43 posts
Tue Jan 23, 18 12:12 PM CST
Hi Tim,

I manually adjusted the max dimensions on a single upload and that didn't seem to help me. Is there someplace I should change it so that it doesn't ask for it every time?

I haven't made any changes to the photo sizes I upload or the operating conditions, outside of running the Stylist update.

I'm not sure what I need to be telling my host, as they don't offer any support for Stylist.
J
43 posts
Tue Jan 23, 18 12:17 PM CST
It might be important to note that I can directly FTP up the same images with no problems... When processing them on the Stylist site, the window is void of any images and displays just "Processing photos. Do not leave this window."
Edited Tue Jan 23, 18 12:24 PM by Jen Dera
16,148 posts (admin)
Tue Jan 23, 18 12:21 PM CST
I can tell by your error log that the photos are too large for the server to process.

When I asked if the dimensions of the photos larger than normal, I mean the dimensions of the photo file you are uploading. Not the resize settings.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
43 posts
Tue Jan 23, 18 12:28 PM CST
Hi Tim,

I haven't made any changes to the way I export my images for uploading. Where can I find the max dimensions?
D
10 posts
Tue Jan 23, 18 10:27 PM CST
This is exactly what is happening to me. I checked one of my images. It is 2.25mb (resized with lightroom and viewed properties in windows file explorer) but when opened in photoshop it is listed as 12x18 inches and 57mb!!!!!! Same exact file. I just downloaded new lightroom and photoshop. Could they be utterly bugged? The files behave like small files and upload like 2 megs not 57 megs (they ARE 2 meg files!) but obviously something is telling photoshop the file is much larger. A bug?

I also have had no trouble in the past with this and have changed nothing except downloading the new programs on a new laptop. Something in error in the metadata telling the server it is a 57mb file somehow? Going to Dr Google this. Did you also just download a new copy of lightroom Jen?
Edited Tue Jan 23, 18 10:33 PM by Dean Lake
16,148 posts (admin)
Wed Jan 24, 18 3:42 AM CST
You should be able to see the dimensions by viewing the file properties on your computer or the image size in Photoshop.

Like with Dean, it may be 2.25MB, but it could have the dimensions of 6000 x 4000 or higher which might be too big for the server to process.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
J
43 posts
Wed Jan 24, 18 7:41 AM CST
What are the suggested export dimensions?
16,148 posts (admin)
Thu Jan 25, 18 4:03 AM CST
That really depends on the PHP/Server settings. Maybe try around 3000 pixels on the longest size.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
490 posts
Tue May 22, 18 5:16 PM CST
Currently having this issue; could anyone from this thread give an update on if they solved the issue and what steps were required?

I have a consistent export from Lightroom which we use all the time, and today the same size export that worked last week is giving us grief.
Edited Tue May 22, 18 6:14 PM by Michael Leenheer
Michael Leenheer   || My Sytist: https://subphoto.ca/client_galleries/demo01/
A
31 posts
Tue May 22, 18 5:42 PM CST
I am following this thread. I am having the same issue.

Update as well. I tried a different browser as Megan Grommes suggested and it also worked. I was using Mozilla as I have for years. Switched to Google Chrome and it worked. Thanks for the tip Megan.

Amy
Edited Wed May 23, 18 8:00 AM by Amy Sprunger
490 posts
Tue May 22, 18 6:32 PM CST
I've been working on this for about 45 minutes; the confusing thing is that I am trying to upload the exact same photo that we uploaded previously and it is giving the error now where it didn't before.

Here's what I've tried:

  • Editing the php.ini file. I tried a few different "Server Configuration" settings; the original was 20M/256M/20M. I played with a few settings, all the way up to 199M/1024M/199M without success. The server updates were reflected in the Sytist upload dialogue box but the end result was still an error.

  • Compressing the JPG files. A higher JPG compression factor made no difference, we got the upload file to be about 2MB where they usually are between 4-6MB, but that didn't work.

  • Shrinking the pixel dimensions. THIS WORKS, BUT IS NOT IDEAL. As I mentioned, the photo originally uploaded at a larger size, and now it's been ordered I can't swap the retouched file into their order at the same dimensions. This means I'm giving my customers a lower quality / smaller file than they paid for, and I can't upload files that I could a few weeks ago. Basically if I reduced my photo from the original size (3744x4680px) to about 16.5 Megapixels (3633x4541px) then the photos would upload.


I hope that helps or gives someone a clue as to what might be going on.

Edited Tue May 22, 18 6:34 PM by Michael Leenheer
Michael Leenheer   || My Sytist: https://subphoto.ca/client_galleries/demo01/
J
43 posts
Tue May 22, 18 6:35 PM CST
Hello there!

The only thing I got to fix it was shrinking the pixel dimensions. Not at all what I wanted and not required of me before. But only thing that got it running again.

I do, from time to time forget to shrink it, and here and there it works that way. But not often.

It is unfortunate and not something I'm thrilled with because I have clients that purchase full resolution downloads and the smaller pixel dimension isn't really ideal in that case.
490 posts
Tue May 22, 18 7:14 PM CST
Tim - I have noticed that your "Memory Limit" does not refresh when the php.ini file is changed.

memory_limit = 512M - on server
Memory Limit 1024M - displayed in Sytist "View Server Configurations"

not sure if this could be connected.
Michael Leenheer   || My Sytist: https://subphoto.ca/client_galleries/demo01/
M
2 posts
Tue May 22, 18 8:14 PM CST
I am having the same problem too. Last week everything worked as normal. Today I tried to upload the gallery and it only uploads one picture. Did something recently change?

UPDATE - I used a different browser (Microsoft Edge) rather than the one I normally use (Modzilla) and the pictures uploaded. . .
Edited Tue May 22, 18 8:21 PM by Megan Grommes
16,148 posts (admin)
Wed May 23, 18 4:42 AM CST
You may need to update the sy-config file too for the PHP memory limit. See this:
http://www.picturespro.com/sytist-manual/articles/issues-uploading-photos/

And yes, the pixel dimensions does play a factor when the server is processing the photos.

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
D
10 posts
Mon May 28, 18 9:49 PM CST
Here is my fix. This worked just fine but it's Lightroom only.

In the Export window that comes up in Lightroom, you limit your file size. 3000 kilobytes works for me. Hopefully that is already a given.
Here's the fix: In the Image Sizing panel in the export screen, click the check box for Resize to Fit; choose long edge and set it to 12 inches (or less).
It should upload fine.

What I believe happened is Adobe made some change to the metadata Lightroom adds that misinforms software as to the real image size. This fix forces Lightroom to give the right info to a server.
490 posts
Tue May 29, 18 9:30 PM CST
I'm using an older standalone version of Lightroom, but that tip is useful. I used the "Megapixels" export limit, my usual upload was 17.5MP (3744 x4680) which I usually compressed at 80% so it would be about a 4 MB file. Using the "Megapixel" limit in Lightroom resizes the photos regardless of their crop ratio though and it seems to work.

Just BTW for anyone reading this, I cranked my server settings as below, I don't really know what the limits are but these either were beyond the 'hard' limit set by my host (no idea how to tell what those would be) or they just made no difference.

Upload Max File Size 256M
Memory Limit 1024M
POST Max Size 256M
Michael Leenheer   || My Sytist: https://subphoto.ca/client_galleries/demo01/
490 posts
Tue Jun 19, 18 1:56 AM CST
A clue has surfaced!! (Posted also in https://www.picturespro.com/support-forum/sytist/index.php?t=36925-uploads-fail)

I recently played with my watermarking and uploaded a new .png file to use. I started to get a huge increase in upload failures (Failed: 500 Internal Server Error).

The new watermark file was about 1.5MB, where my old watermark file was about 75kb. THE WATERMARK LIMITS THE PHOTO UPLOAD SIZE! I tested this with a new version of the watermark which was around 250kb; I could upload a larger photo, but not as big as when using the 75kb watermark.

Tim - is there any way the resizing and watermark processing can be delayed and separated from the upload process? It might reduce the number of upload errors (but I'm no programmer and don't know how challenging that would be).
Michael Leenheer   || My Sytist: https://subphoto.ca/client_galleries/demo01/
16,148 posts (admin)
Tue Jun 19, 18 5:10 AM CST
The resize process is done separate from the watermarking process (resizes first then watermarks). When you have a large watermark file is uses more memory when watermarking the file which is where you run into limits ... hitting the PHP memory limit.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
L
48 posts
Tue Feb 08, 22 8:10 PM CST
I am trying to test/setup the S3 setup and I am still get the 500 internal server error when uploading.

I followed the procedure, I have rechecked everything a dozen times. I deleted and retried again. No joy.

i have gone through all the topics looking for answers and nothing suggested works.

What is weird is that the images are displaying on my website, maybe they are not moved to the S3 bucket? When I try to manually move them, the box opens and nothing happens.

Help!
16,148 posts (admin)
Wed Feb 09, 22 5:55 AM CST
You can email me the following for me to look into it:

1) Link to your Sytist admin.

2) The admin username and password (or create me an admin account by clicking Admins in the upper right corner of the admin pages).

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
25 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 1,407 times
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close