Uncaught Exceptions
-
[Tue Nov 18 13:43:52 2014] [error] [client 108.176.17.234] PHP Fatal error: Uncaught Aws\\S3\\Exception\\PermanentRedirectException: AWS Error Code: PermanentRedirect, Status Code: 301, AWS Request ID: 1902569AD752F8BB, AWS Error Type: client, AWS Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint: "s3.amazonaws.com"., User-Agent: aws-sdk-php2/2.6.15 Guzzle/3.9.2 curl/7.22.0 PHP/5.3.10-1ubuntu3.15 MUP\n thrown in /var/www/server.local/wp-content/plugins/tcs3/aws/Aws/Common/Exception/NamespaceExceptionFactory.php on line 91, referer: https://server.local/wp-admin/upload.php
The ability to test if the configuration is setup properly would help setup. I was using “US Standard” in S3, but since there was no option for this, I had to try them all. Amazon say’s the use the s3.amazonaws.com endpoint for the US Standard region, which resolves to either Virginia or West Coast. The test could upload a simple log file so that you can clearly see the path and file from S3 management in AWS console.
When all files are synced, there does not appear to be a way to un-sync or re-sync all. Using the sync button in settings fails due to a javascript issue: ids is null in the for loop. Use case would be if these are synced to the wrong path or the bucket gets emptied. Only recourse is to delete the meta_key “is_on_s3.” Similar to mark all as synced, there should be a mark all (or single if on the media page) as unsynced.
Cancel sync should be an option for bulk sync since you may have realized as I did that your setting are incorrect.
Your action hovers in media for “send this to s3” is missing an href tag and therefore lacks the cursor: pointer. At least a
javascript:void(0)
should be thrown in the href tag.
- The topic ‘Uncaught Exceptions’ is closed to new replies.