Closed TangLiang closed 8 years ago
@TangLiang have you setup up magento user and checked if file permissions are as recommended?
@mazhalai
Yes,my environment is LNMP+magento 2.0 lastest developer mode. 1,the web server user is www groud is www 2,I adduser magento,and create a strong passwd. 3,usermod -g www magento. 4,cd /home/wwwroot/xxxx.com/(magento root folder) 5,chown -R magento:www ./ 6,find . -type d -exec chmod 770 {} \; && find . -type f -exec chmod 660 {} \; && chmod u+x bin/magento
After i did above,i can install magento 2 from setup wizde.But when i login to backend and go to product or category page it show the error
Hi Tang, It is hard to help you with current set of information.
Issue with rjsResolver.js means that requirejs-config.js
wasn't loaded on the page or wasn't executed. So first of all we ask to check file permissions. But if you can log in Admin area and navigate to Product list page, then Magento application in general works.
I can suggest you to:
requirejs-config.js
. First of all it should exist.var config = {
.In case all is right you can check Network tab in developer tools of your browser: look for abandoned requests, 50x requests or somethng similar.
If here you has nothing strange we will to go deeper in your environment configuration.
Closing due to lack of response.
Steps to reproduce
http://www.xxx.com/static/adminhtml/Magento/backend/en_US/rjsResolver.js Failed to load resource: the server responded with a status of 404 (Not Found) require.js:141 Uncaught Error: Script error for: rjsResolver http://requirejs.org/docs/errors.html#scripterror
I am using the google chrome,after switch browser to firefox it's come back to normal.
I think this is a bug