Magento 2.0.7 is not creating certain files in pub/static and pub/media The Next CEO of Stack Overflowrequired error in magento2?Magento 2.0.7 After page refresh some js giving error?Adding Custom JS to Magento 2 ThemeMagento 2 require js throw errorMagento 2 Product checkout isnt loadError loading popper.js on Magento 2 Theme (require js)Issue with bootstrap 4 in magento 2Magento 2 checkout page keeps on loading.In console,$.event.props is undefined in jquery.mobile.custom.js:44:2.How to clear that?Multi website Magento store (2.2.6) 404-error on /pub/media on one storeMagento 2 Stuck on Checkout page
Can I board the first leg of the flight without having final country's visa?
Asymptote: 3d graph over a disc
Help! I cannot understand this game’s notations!
Are the names of these months realistic?
Yu-Gi-Oh cards in Python 3
Audio Conversion With ADS1243
The Ultimate Number Sequence Puzzle
Is there an equivalent of cd - for cp or mv
What is the difference between "hamstring tendon" and "common hamstring tendon"?
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
How do you define an element with an ID attribute using LWC?
how one can write a nice vector parser, something that does pgfvecparseA=B-C; D=E x F;
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
What CSS properties can the br tag have?
What's the commands of Cisco query bgp neighbor table, bgp table and router table?
Why did early computer designers eschew integers?
IC has pull-down resistors on SMBus lines?
Is there a reasonable and studied concept of reduction between regular languages?
Which Pokemon have a special animation when running with them out of their pokeball?
It is correct to match light sources with the same color temperature?
Physiological effects of huge anime eyes
Reshaping json / reparing json inside shell script (remove trailing comma)
What connection does MS Office have to Netscape Navigator?
Magento 2.0.7 is not creating certain files in pub/static and pub/media
The Next CEO of Stack Overflowrequired error in magento2?Magento 2.0.7 After page refresh some js giving error?Adding Custom JS to Magento 2 ThemeMagento 2 require js throw errorMagento 2 Product checkout isnt loadError loading popper.js on Magento 2 Theme (require js)Issue with bootstrap 4 in magento 2Magento 2 checkout page keeps on loading.In console,$.event.props is undefined in jquery.mobile.custom.js:44:2.How to clear that?Multi website Magento store (2.2.6) 404-error on /pub/media on one storeMagento 2 Stuck on Checkout page
For some reason mage 2 is not creating files that seems to be needed for a proper working of the shop. For example there is a file http://dev.domain.co.uk/pub/media/catalog/productno_selection requested but a 404 is delivered because it is not there. I guess that might be a file containing the amount of items in basket since my top right corner does not state the products amount and I can't reach the basket without going directly in there via url. The top right basket doesn't let me in, stating that no products are in basket... which is wrong.
Going to that url directly delivers an empty page.
The other files missing are javascript-files that should be created by mage2 in pub/static too, it seems. For example I mapped the right filename (.js is not needed or allowed) to the left handle
'jquery_191': 'js/jquery-1.9.1.min',
Then mage2 requests the filename http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/de_DE/jquery_191.js but this file does not exist.
Going to that file directly gives some mage bugs claiming that the file does not exist.
What's wrong? Why are these files not created? I think it brings certain problems to my installation.
PS: Errors in chrome console after setup:upgrade and setup:static-cache:deploy with the correct language.
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
(index):366 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
productno_selection:1 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
jquery-migrate.js:21 JQMIGRATE: Logging is active
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/jquery_191.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: jquery_191
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/script_code_header.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: script_code_header
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
magento2 magento-2.0.7
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
For some reason mage 2 is not creating files that seems to be needed for a proper working of the shop. For example there is a file http://dev.domain.co.uk/pub/media/catalog/productno_selection requested but a 404 is delivered because it is not there. I guess that might be a file containing the amount of items in basket since my top right corner does not state the products amount and I can't reach the basket without going directly in there via url. The top right basket doesn't let me in, stating that no products are in basket... which is wrong.
Going to that url directly delivers an empty page.
The other files missing are javascript-files that should be created by mage2 in pub/static too, it seems. For example I mapped the right filename (.js is not needed or allowed) to the left handle
'jquery_191': 'js/jquery-1.9.1.min',
Then mage2 requests the filename http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/de_DE/jquery_191.js but this file does not exist.
Going to that file directly gives some mage bugs claiming that the file does not exist.
What's wrong? Why are these files not created? I think it brings certain problems to my installation.
PS: Errors in chrome console after setup:upgrade and setup:static-cache:deploy with the correct language.
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
(index):366 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
productno_selection:1 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
jquery-migrate.js:21 JQMIGRATE: Logging is active
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/jquery_191.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: jquery_191
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/script_code_header.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: script_code_header
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
magento2 magento-2.0.7
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
For some reason mage 2 is not creating files that seems to be needed for a proper working of the shop. For example there is a file http://dev.domain.co.uk/pub/media/catalog/productno_selection requested but a 404 is delivered because it is not there. I guess that might be a file containing the amount of items in basket since my top right corner does not state the products amount and I can't reach the basket without going directly in there via url. The top right basket doesn't let me in, stating that no products are in basket... which is wrong.
Going to that url directly delivers an empty page.
The other files missing are javascript-files that should be created by mage2 in pub/static too, it seems. For example I mapped the right filename (.js is not needed or allowed) to the left handle
'jquery_191': 'js/jquery-1.9.1.min',
Then mage2 requests the filename http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/de_DE/jquery_191.js but this file does not exist.
Going to that file directly gives some mage bugs claiming that the file does not exist.
What's wrong? Why are these files not created? I think it brings certain problems to my installation.
PS: Errors in chrome console after setup:upgrade and setup:static-cache:deploy with the correct language.
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
(index):366 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
productno_selection:1 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
jquery-migrate.js:21 JQMIGRATE: Logging is active
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/jquery_191.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: jquery_191
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/script_code_header.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: script_code_header
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
magento2 magento-2.0.7
For some reason mage 2 is not creating files that seems to be needed for a proper working of the shop. For example there is a file http://dev.domain.co.uk/pub/media/catalog/productno_selection requested but a 404 is delivered because it is not there. I guess that might be a file containing the amount of items in basket since my top right corner does not state the products amount and I can't reach the basket without going directly in there via url. The top right basket doesn't let me in, stating that no products are in basket... which is wrong.
Going to that url directly delivers an empty page.
The other files missing are javascript-files that should be created by mage2 in pub/static too, it seems. For example I mapped the right filename (.js is not needed or allowed) to the left handle
'jquery_191': 'js/jquery-1.9.1.min',
Then mage2 requests the filename http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/de_DE/jquery_191.js but this file does not exist.
Going to that file directly gives some mage bugs claiming that the file does not exist.
What's wrong? Why are these files not created? I think it brings certain problems to my installation.
PS: Errors in chrome console after setup:upgrade and setup:static-cache:deploy with the correct language.
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
(index):366 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
productno_selection:1 GET http://dev.domain.co.uk/pub/media/catalog/productno_selection 404 (Not Found)
jquery-migrate.js:21 JQMIGRATE: Logging is active
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/jquery_191.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: jquery_191
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
require.js:1895 GET http://dev.domain.co.uk/pub/static/frontend/company/celo_theme/en_GB/script_code_header.js req.load @ require.js:1895load @ require.js:1639load @ require.js:820fetch @ require.js:810check @ require.js:840enable @ require.js:1143enable @ require.js:1511(anonymous function) @ require.js:1128(anonymous function) @ require.js:132each @ require.js:57enable @ require.js:1090init @ require.js:774(anonymous function) @ require.js:1416
require.js:166 Uncaught Error: Script error for: script_code_header
http://requirejs.org/docs/errors.html#scripterrormakeError @ require.js:166onScriptError @ require.js:1681
magento2 magento-2.0.7
magento2 magento-2.0.7
edited Jul 23 '16 at 16:50
Magento2noob
asked Jul 20 '16 at 6:38
Magento2noobMagento2noob
12
12
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try running both the codes below:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126515%2fmagento-2-0-7-is-not-creating-certain-files-in-pub-static-and-pub-media%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try running both the codes below:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
add a comment |
Try running both the codes below:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
add a comment |
Try running both the codes below:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Try running both the codes below:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
answered Jul 22 '16 at 9:31
user41152
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
add a comment |
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
Thanks for answering... I use the first command relatively regularly. The second command fails for a reason I do not understand. PHP claims having not enough memory. Though phpinfo.php has a memory limit way higher. And the cli-user has another php.ini that has unlimited ram. I wonder what the problem is.
– Magento2noob
Jul 22 '16 at 14:25
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
It was an error in chosing the wrong php.ini. Though even when running setup:upgrade and then running deploy with the correct language... it does not change a little bit. Are these files created by a special user that might be missing writing rights or something? I'm not sure what to do. I think about trying to upgrade to mage 2.0.8 or 2.1 but I wonder if it will change the issue. I added the console output in my first post...
– Magento2noob
Jul 23 '16 at 16:49
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
Maybe those missing files do not belong to the real static content like the require_js- folder in pub/static? It does not get deleted when deleting static content cache so maybe those files would not be created by deploying and the error lies in the engine that handles code files?
– Magento2noob
Jul 25 '16 at 9:08
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126515%2fmagento-2-0-7-is-not-creating-certain-files-in-pub-static-and-pub-media%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown