To post a new support question, click the Post New Topic button below.
Current Version: 5.2.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.

Uploading To S3 Stopped Working, Error 500

29 posts
Fri Feb 14, 25 12:23 PM CST

I always upload my photos to Amazon S3. It's been working great until I had to move my server and upgraded to the latest version of Sytist (5.25)
Now I get a 500 server error when I try to upload photos to S3.

I am pretty sure it's a problem on the Sytist server, not Amazon S3 since I can see all my previous photos on S3 in Sytist. 

Here's the error log for today when I tried to upload a photo to Sytist --> S3:

[14-Feb-2025 04:52:21 America/Los_Angeles] PHP Fatal error:  Uncaught TypeError: mktime(): Argument #6 ($year) must be of type ?int, string given in /var/www/sy-inc/photos_functions.php:187
Stack trace:
#0 /var/www/sy-inc/photos_functions.php(187): mktime()
#1 /var/www/sy-inc/sy-thumbnails.php(229): getSearchString()
#2 {main}
  thrown in /var/www/sy-inc/photos_functions.php on line 187
[14-Feb-2025 04:53:17 America/Los_Angeles] PHP Fatal error:  Uncaught TypeError: mktime(): Argument #6 ($year) must be of type ?int, string given in /var/www/sy-inc/photos_functions.php:187
Stack trace:
#0 /var/www/sy-inc/photos_functions.php(187): mktime()
#1 /var/www/sy-inc/sy-thumbnails.php(229): getSearchString()
#2 {main}
  thrown in /var/www/sy-inc/photos_functions.php on line 187
[14-Feb-2025 09:40:19 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Call to undefined function JmesPathmb_strlen() in /var/www/df-admin/aws/JmesPath/Lexer.php:343
Stack trace:
#0 /var/www/df-admin/aws/JmesPath/Parser.php(76): JmesPathLexer->tokenize()
#1 /var/www/df-admin/aws/JmesPath/AstRuntime.php(42): JmesPathParser->parse()
#2 /var/www/df-admin/aws/JmesPath/Env.php(33): JmesPathAstRuntime->__invoke()
#3 /var/www/df-admin/aws/Aws/Endpoint/PartitionEndpointProvider.php(117): JmesPathEnv::search()
#4 /var/www/df-admin/aws/Aws/Endpoint/PartitionEndpointProvider.php(99): AwsEndpointPartitionEndpointProvider::mergePrefixData()
#5 /var/www/df-admin/aws/Aws/ClientResolver.php(704): AwsEndpointPartitionEndpointProvider::defaultProvider()
#6 /var/www/df-admin/aws/Aws/ClientResolver.php(286): AwsClientResolver::_default_endpoint_provider()
#7 /var/www/df-admin/aws/Aws/AwsClient.php(187): AwsClientResolver->resolve()
#8 /var/www/df-admin/aws/Aws/S3/S3Client.php(325): AwsAwsClient->__construct()
#9 /var/www/df-admin/S3.V3.php(18): AwsS3S3Client->__construct()
#10 /var/www/df-admin/w-move-amazon.php(26): require('...')
#11 {main}
  thrown in /var/www/df-admin/aws/JmesPath/Lexer.php on line 343
[14-Feb-2025 10:10:53 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Call to undefined function JmesPathmb_strlen() in /var/www/df-admin/aws/JmesPath/Lexer.php:343
Stack trace:
#0 /var/www/df-admin/aws/JmesPath/Parser.php(76): JmesPathLexer->tokenize()
#1 /var/www/df-admin/aws/JmesPath/AstRuntime.php(42): JmesPathParser->parse()
#2 /var/www/df-admin/aws/JmesPath/Env.php(33): JmesPathAstRuntime->__invoke()
#3 /var/www/df-admin/aws/Aws/Endpoint/PartitionEndpointProvider.php(117): JmesPathEnv::search()
#4 /var/www/df-admin/aws/Aws/Endpoint/PartitionEndpointProvider.php(99): AwsEndpointPartitionEndpointProvider::mergePrefixData()
#5 /var/www/df-admin/aws/Aws/ClientResolver.php(704): AwsEndpointPartitionEndpointProvider::defaultProvider()
#6 /var/www/df-admin/aws/Aws/ClientResolver.php(286): AwsClientResolver::_default_endpoint_provider()
#7 /var/www/df-admin/aws/Aws/AwsClient.php(187): AwsClientResolver->resolve()
#8 /var/www/df-admin/aws/Aws/S3/S3Client.php(325): AwsAwsClient->__construct()
#9 /var/www/df-admin/S3.V3.php(18): AwsS3S3Client->__construct()
#10 /var/www/df-admin/upload/sytist-upload-process.php(972): require('...')
#11 {main}
  thrown in /var/www/df-admin/aws/JmesPath/Lexer.php on line 343
Attached Photos

16,905 posts (admin)
Sat Feb 15, 25 4:56 AM CST

Looks like the php mbstring extension is missing on the new server. Contact your host and have them install / enable it. 

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
2 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 39 times
Category: Error
 
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