- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
production mode not working
require-cookie.js:1 Failed to load resource: the server responded with a status of 409 () main.js:37 Error: Script error for: Magento_Cookie/js/require-cookie http://requirejs.org/docs/errors.html#scripterror at makeError (d107af78e82a6e5e49c7f00b8396a7fe.js:16) at HTMLScriptElement.onScriptError (d107af78e82a6e5e49c7f00b8396a7fe.js:114)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: production mode not working
Hello @decornmore,
Please run below command in magento root directory
chmod -Rf 777 ./pub
--
If my answer is useful, please Accept as Solution & give Kudos
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: production mode not working
The given URL and the commands for the full permission for the folder pub. This is we already set many time and confirmed it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: production mode not working
GET https://babybeddingdesign.r.worldssl.net/pub/static/frontend/Smartwave/porto/en_US/Magento_Cookie/js/require-cookie.js net::ERR_ABORTED 404 main.js:37 Error: Script error for: Magento_Cookie/js/require-cookie http://requirejs.org/docs/errors.html#scripterror at makeError (d107af78e82a6e5e49c7f00b8396a7fe.js:16) at HTMLScriptElement.onScriptError (d107af78e82a6e5e49c7f00b8396a7fe.js:114)
please help me solve this problem as I test it also on the default theme and I get the same error! magento is full of bugs. from the day, I move t Magento 2 I have the only problem. I am so sorry I got Magento 2!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: production mode not working
Hello @decornmore,
Please check this error
GET https://babybeddingdesign.r.worldssl.net/pub/static/frontend/Smartwave/porto/en_US/Magento_Cookie/js/require-cookie.js net::ERR_ABORTED 404
Which indicates file isn't at that location so There will be an issue while generating. There is two issue for it.
- Permission issue
- Ownership issue of file
Please fix above issue then issue will be resolved.
--
If my answer is useful, please Accept as Solution & give Kudos
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: production mode not working
@gelanivishal wrote:Hello @decornmore,
Please check this error
GET https://babybeddingdesign.r.worldssl.net/pub/static/frontend/Smartwave/porto/en_US/Magento_Cookie/js/require-cookie.js net::ERR_ABORTED 404Which indicates file isn't at that location so There will be an issue while generating. There is two issue for it.
- Permission issue
- Ownership issue of file
Please fix above issue then issue will be resolved.
--
If my answer is useful, please Accept as Solution & give Kudos
i try but not solve the problem.