WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Amazon S3 Uploads] Specified key doesn't work…

[Resolved] [Plugin: Amazon S3 Uploads] Specified key doesn't work…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Paul Barthmaier

    @pbarthmaier

    Contributor Day Volunteer

    Similar problem for me, but the plugin seems to work on my root site of Multisite. On a subdomain, I’m getting:

    Warning: S3::listBuckets(): [InvalidAccessKeyId] The AWS Access Key Id you provided does not exist in our records. in /public_html/mydomain.com/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in public_html/mydomain.com/wp-content/plugins/amazon-s3-uploads/asssu-models.php on line 244

    Warning: S3::getBucketLocation(): [InvalidAccessKeyId] The AWS Access Key Id you provided does not exist in our records. in /public_html/mydomain.com/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222

    Is this a path issue? If so, where would I go to specify?

    Plugin Author atvdev

    @atvdev

    I searched the net and the ‘key’ means file. So the problem is that a file is uploaded to S3 and the name on S3 is different from that in the wp db.

    At first I thought it is because of the space used in your filename, but I try putting manually a file to S3 with a space in it and it works normally with %20 or + replacing the space in url.
    After I tried using wp to upload a file with space in it, but wp changed the space with – and again the file uploaded to S3 normally and worked ok.

    So if you, can please look in your S3 folder for that file, or similar filename and tell me if you find something.

    AWS S3 screenshot: http://ScrnSht.com/ctjgwi

    Here’s the S3 link, per S3: https://s3.amazonaws.com/tourkick-uploads-8624c237/2010/10/01%2BbobbyGREY-1197421381-O-277×300.jpg

    So the “+” needed to be converted to “%2B” in order for the URL to work.

    Reference: http://www.w3schools.com/tags/ref_urlencode.asp

    Plugin Author atvdev

    @atvdev

    Plugin updated!

    That was tough one. WP uploads your file leaving + as is. But for a request + in url is translated to ‘space’, so I think WP should by default replace + to – in filenames.

    Anyway, in 1.09 I change + to – before the upload to S3. Also if a file with + is requested, the plugin fixes it to – in the Amazon and in wp db.

    Any solution with %2B didn’t work as htaccess dont uderstand the difference between %2B and +

    Hi – I’m getting the following error across the top of my screen

    Warning: S3::listBuckets(): [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method. in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222
    
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/asssu-models.php on line 276
    
    Warning: S3::getBucketLocation(content.mozakdesign.com): [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method. in /home/mozakweb/public_html/install/wp-content/plugins/amazon-s3-uploads/tpyo-amazon-s3-php-class/S3.php on line 222

    @mozakdesign – I’m sorry to say, but I don’t think the plugin developer is around anymore. We haven’t heard from him in months… It’s a shame, this was the best S3 plugin around! Maybe try [ link removed ] if you really need quick help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Amazon S3 Uploads] Specified key doesn't work…’ is closed to new replies.