Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are Not uploading to CDN #6

Open
ishantsaxena opened this issue Apr 2, 2015 · 14 comments
Open

Images are Not uploading to CDN #6

ishantsaxena opened this issue Apr 2, 2015 · 14 comments

Comments

@ishantsaxena
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link

tayeke commented Apr 8, 2015

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

@ishantsaxena
Copy link
Author

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
Copy link
Member

rimutaka commented Apr 8, 2015 via email

@ishantsaxena
Copy link
Author

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

@ishantsaxena
Copy link
Author

Hi everbody.

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

@tayeke
Copy link

tayeke commented Apr 10, 2015

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" [email protected] 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
#6 (comment)
.

@anatolykazantsev
Copy link
Contributor

Hey, guys, please, try simple fix from #3 while we're fixing it properly.

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

@ishantsaxena
Copy link
Author

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.

Website Prefix text 1 0 0 4

@anatolykazantsev
Copy link
Contributor

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

@ishantsaxena
Copy link
Author

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

@sebastianwahn
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants