mVentory / MVentory_S3CDN

mVentory S3 CDN extension for Magento for keeping images on AWS
GNU Affero General Public License v3.0
31 stars 21 forks source link

Images are Not uploading to CDN #6

Open ishantsaxena opened 9 years ago

ishantsaxena commented 9 years ago

I am using your Plugin AWS S3 CDN for product images. i followed each step you mentioned in the github URL

https://github.com/mVentory/MVentory_S3CDN

I have the same settings of AWS as you mentioned in bucket policies and also have same setting in magento admin for the extension.

Now my problem is that images are not uploading to the CDN while creating a test product from magento admin .Please help me in this issue

anatolykazantsev commented 9 years ago

Can you please show your settings on both global and website scopes for the extension? You can replace sensitive data with some dummy values.

ishantsaxena commented 9 years ago

Hi , Thanks for your reply. Here i am attaching all the screen shot of my settings i have done.

As i am debugging the process of upload images from admin category page. I see the my root directory path instead of cdn path.

/lib/Varien/File/Uploader.php line number 193

$destinationFile variable shows this path

/home1/xxxxx/public_html/xxxx-xxx/media/catalog/category/

instead of my aws s3 path

cdn1 secure cdn

.

tayeke commented 9 years ago

Any luck with this @ishantsaxena ? I am having the same issue with no upload happening.

ishantsaxena commented 9 years ago

no @tayeke , I am trying to debug the plugin. Need help of contributors of this plugin.If you find any solution please share with me .

rimutaka commented 9 years ago

Guys, we ll get one of our engineers to help. Your contribution is appreciated.

ishantsaxena commented 9 years ago

Thanks Rimutaka, your help is appreciated .I am very much in need of this plugin

ishantsaxena commented 9 years ago

Hi everbody.

Is there any update .I am in need of this . efforts are really appriciated

tayeke commented 9 years ago

I couldn't get any extensions to give me this functionality, so I ended up just using S3FS to use my s3 buckets. Then to serve from S3 you can change your base media route, or set up cloudfront distribution.

Sent from my Google Nexus device. On Apr 10, 2015 4:35 AM, "ishantsaxena" notifications@github.com wrote:

Hi everbody.

Is there any update .I am in need of this . efforts are really appriciated

— Reply to this email directly or view it on GitHub https://github.com/mVentory/MVentory_S3CDN/issues/6#issuecomment-91525642 .

anatolykazantsev commented 9 years ago

Hey, guys, please, try simple fix from https://github.com/mVentory/MVentory_S3CDN/issues/3 while we're fixing it properly.

Don't forget to copy your website prefix to Default (Global) scope

ishantsaxena commented 9 years ago

Thanks for Your Reply Anatolykazantsev . I am new in magento so could you please elaborate this.

I tried to put the following code on the following path app/etc/config.xml. But images are still not uploading.

text 1 0 0 4
anatolykazantsev commented 9 years ago

I'm not sure what you did. Can you please fork the project, apply your changes and create pull request.

ishantsaxena commented 9 years ago

@anatolykazantsev I have not made any changes in this current extension.

sebastianwahn commented 9 years ago

Hi,

i think you will not find a proper solution for this problem.

3 is a workaround, but there is a major issue:

In the admin section you will never have the website scope (basically, yeah which website is the admin?), therefore the bucket-prefix is always empty. On the frontend on the other hand, there is the bucket-prefix correctly set (at least in my setup).

A solution could be that the plugin uploads the pictures in every defined bucket on the default level. But i think this is not the thing we want to achieve when we separate pictures in different buckets, since the pictures would be redundant in every bucket.

Cheers,

Sebastian

johnsonmartin commented 8 years ago

I am followed this plugin, default images are created but product images are not uploading, please help