CE Image
ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3
Back to this add-on's main page
View Other Add-ons From Causing Effect
There was a problem uploading your file to AWS
Support (Resolved)
dsoneil
|
Posted: 09 July 2014 11:41 AM |
# 16
|
|
|
I was having the exact same problem and Assets was reporting the same InvalidAccessKeyId error, but I could still access the files in the bucket. It seemed to be a server caching issue, I’m using Redis. I had to restart apache (apache2ctl graceful) and clear the EE cache and then everything worked. This may not work for everyone, but it might help someone. Cheers
|
|
|
tibitabo
|
Posted: 17 May 2015 05:06 AM |
# 17
|
|
|
Hi there,
I just purchased CE_Image and I’m having the same problem - without using Assets.
How did you solve this? I tried everything recommended in this thread, but it didn’t work.
Using CE Image v2.4.5 on a local EE v2.10.1 build running PHP 5.5.23.
PHP WARNINGS:
A PHP Error was encountered Severity: Notice
Message: Undefined property: stdClass::$body
Filename: libraries/Ce_s3.php
Line Number: 1993
A PHP Error was encountered Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at ../system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 479
DEBUG INFO:
Calling Class/Method: Ce_img/single -> Class Called: Ce_img -> Method Called: single *** CE Image debug: Base path: 'WEBROOT' *** CE Image debug: Source image: 'PATH', Fallback image: '' *** CE Image debug: The image 'PATH' is cached. Calling Extension Class/Method: Ce_img_aws_ext/pre_parse *** CE Image - AWS debug: There was a problem uploading your file to AWS.
|
|
|
tibitabo
|
Posted: 17 May 2015 05:21 AM |
# 18
|
|
|
OK, I was able to solve the warning by switching to PHP 5.4.39, but the AWS issue still occurs. :(
|
|
|
tibitabo
|
Posted: 18 May 2015 08:31 AM |
# 19
|
|
|
Any ideas anyone?! I need to get this to work soon. :(
|
|
|
CreateSean
|
Posted: 29 May 2015 01:47 PM |
# 20
|
|
|
HI,
I’m having this issue as well. My bucket is all lowercase. EE 2.9.3 CE Image 2.4.5. Images are being successfully uploaded to Amazon via Assets using the same credentials.
I have added the following to my focuslab config set up:
// CE Image AWS $env_config['ce_image_aws_key'] = '****************'; $env_config['ce_image_aws_secret_key'] = '*****************'; $env_config['ce_image_bucket'] = 'sparkphotography2'; $env_config['ce_image_aws_request_headers'] = array(); $env_config['ce_image_aws_request_headers']['Cache-Control'] = 'max-age=' . (30 * 24 * 60 * 60); $env_config['ce_image_aws_request_headers']['Expires'] = gmdate("D, d M Y H:i:s T", strtotime('+1 month') ); $env_config['ce_image_aws_storage_class'] = 'STANDARD';
The above config items give me a php error on the front end which disappears if I comment above out:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$body
Filename: libraries/Ce_s3.php
Line Number: 1993
My debug info is:
(0.219819 / 11.68MB) *** CE Image debug: Base path: 'D:/xampp/htdocs/sparks-photos/' (0.219839 / 11.68MB) *** CE Image debug: Source image: 'http://s3.amazonaws.com/sparksphotography2/Assets/Photographers_Images/Clay_Stang_Commissions/01_01.jpg', Fallback image: '' (0.219846 / 11.68MB) *** CE Image debug: The image 'D:/xampp/htdocs/sparks-photos/images/made/images/remote/http_s3.amazonaws.com/sparksphotography2/Assets/Photographers_Images/Clay_Stang_Commissions/01_01_375_500.jpg' is cached. (0.221027 / 11.67MB) Calling Extension Class/Method: Ce_img_aws_ext/pre_parse (0.555324 / 11.93MB) *** CE Image - AWS debug: There was a problem uploading your file to AWS. (0.555471 / 11.91MB) -> Data Returned
|
|
|
jjpmann
|
Posted: 01 February 2016 10:56 AM |
# 21
|
|
|
Just has similar issue this morning. Did a var_dump of the variables and notice AWS was complaining about the server time being off. Simple update to re-sync server time fixed the issue.
|
|
|
PP
|
Posted: 12 January 2021 07:00 AM |
# 22
|
|
|
Sorry for digging out this old thread. I have the same debug error info. I am running EE 2.5.2. Is it even possible to connect to AWS with this old version? I can connect to AWS with the same info usin Transmit.
|
|
|
PP
|
Posted: 13 January 2021 03:36 AM |
# 23
|
|
|
How can I get more information about the error than “CE Image - AWS debug: There was a problem uploading your file to AWS.”?
|
|
|