Closed VoBB-Technologies closed 11 years ago
@Code-BlUe I have recently fixed the issue. The problem was with the $args at the A2Base, now you can use the default settings as it was. Thanks for your input!
see commit 610d2bc
@tonydspaniard : great !
it is better if we can use custom prefix in aws-config , as some may have few instance(multiple accounts) for the same service .
if you can implement http://bit.ly/ZpPgtS , that would be a huge advantage . I have few instances (like above) ,so still i'm using my own code modification (as i stated above).
@tonydspaniard FYI:
I use 'default_settings' (aws-config.php) with your modification , still getting "A2S3 and its behaviors do not have a method or closure named "listObjects"".
with above settings , AWS connection initiate correctly with AWS SDK , but initiated connection will not return correctly [A2Base.php->line 87 (http://bit.ly/14bs0EE)], thus the error popups .
In my code i return initiated connection immediately (return $command) , with out passing it to parent (CComponent)
side note : other than above I think the error was with A2Base.php->line 87 (http://bit.ly/14bs0EE) =>not returning/initiating the method and arguments correctly .
@Code-BlUe A2Base.php->line 87 you are right... fixing it... Thanks Code
Will implement the new configuration settings asap. Please, write an enhancement request.
BTW with default settings I do work on my current project. I wonder why it doesn't for all.
Below is the Error in using Composer... Installing dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
@Venu85 what do you suggest? Versioning? Should I tag versions? Any advice will be highly appreciated
@tonydspaniard : I didn't try this , but yeah , I think versioning is a must when it comes to composer .
@VoBB-Technologies I have tagged the branch https://github.com/2amigos/yii-aws/tree/v1.0
You can now reference "2amigos/yii-aws": "v1.0"
on your composer file
Hi ,
I was unable to perform argument passing functions eg:s3->listObjects(array('Bucket'=>'xx')) when using custom prefix , other than 'default_settings' in aws-config.php .
I made minor code modification to the a2base,php -> http://pastebin.com/PTRLCHPi
hope this helps !