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

Backend Javascript Errors (new instalation) #1016

Closed
SKovbel opened this issue Jan 31, 2015 · 12 comments
Closed

Backend Javascript Errors (new instalation) #1016

SKovbel opened this issue Jan 31, 2015 · 12 comments
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@SKovbel
Copy link

SKovbel commented Jan 31, 2015

Folder /static/adminhtml/Magento/backend/en_US/jquery doenst present

m1218

@anupdugar
Copy link
Contributor

@anupdugar
Copy link
Contributor

Also check similar issue previously reported for static content not being loaded: #972

@vpelipenko
Copy link
Contributor

@Mackovey, did you have a chance to look at previous comments with suggestions?

@SKovbel
Copy link
Author

SKovbel commented Feb 8, 2015

Looked #972, my apache2/php configuration is ok, mod_rewrite is enabled.

Did new installation (beta7), error still presents (screenshot is similar to above one).

"NetworkError: 404 Not Found - pub/static/adminhtml/Magento/backend/en_US/jquery/jquery-migrate.js"
"NetworkError: 404 Not Found - pub/static/adminhtml/Magento/backend/en_US/jquery/jquery-ui-1.9.2.js"

Attached new screenshot of folder pub/static/adminhtml after first launch.
p.s.
Everything work fine after have manually copied /jquery-migrate.js

m1255

@anupdugar
Copy link
Contributor

Thanks for the information.
Interestingly, all the static content except jquery related files are getting generated ( assuming your Magento instance is not running in developer mode). Looking into reproducing this on our end. Meanwhile feel free to share any additional steps (if not previously specified) to help reproduce it.

@buskamuza
Copy link
Contributor

@Mackovey , Error 404 may be sent in case of any exception during processing of the file.
Would you mind to try the following experiment?

  1. enable "developer" mode (add SetEnv MAGE_MODE developer in root .htaccess file)
  2. remove everything, except .htaccess file from pub/static folder
  3. open the web-site
  4. find one of non-loaded jquery resources and open it in the browser

If any exception happens during processing of this resource, the error should be displayed on step 4.
If not, please, look at pub/static folder - it should contain only .htaccess file.

@SKovbel
Copy link
Author

SKovbel commented Feb 10, 2015

In developer mode everything works fine.

@buskamuza
Copy link
Contributor

@Mackovey , thanks for the testing. I created an issue in our internal tracker.

Internal ticket MAGETWO-34173

@vpelipenko vpelipenko added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Feb 23, 2015
@dmytroleonenko
Copy link

Disable MultiViews in pub/static/.htaccess like
Options -MultiViews
the reason is that there is jquery.js file (symlink) within en_US and apache tires jquery.* pattern when it sees that there is no jquery directory. After it finds jquery.js it tries to process jquery.js/jquery-migrate.js and the rewrite conditions are resulting in false

@hrmnngth
Copy link

hrmnngth commented Mar 9, 2015

After disabling MultiViews, everything goes well with admin navigation, ver. 0.42.0-beta8.
Similar problem I experienced in ver. 0.42.0-beta7, so the solution was installing the public key for ssl connection in root directory, after that everything gone well

@vpelipenko
Copy link
Contributor

@Mackovey, this issue is fixed internally and will be available for public after next weekly update.

@sshrewz
Copy link

sshrewz commented Mar 23, 2015

@Mackovey, this is now available in 0.74.0-beta1. Thank you again for submitting this issue!

@sshrewz sshrewz closed this as completed Mar 23, 2015
magento-team pushed a commit that referenced this issue Apr 11, 2017
magento-team pushed a commit that referenced this issue Dec 22, 2017
…ot set #1016

 - Merge Pull Request magento-engcom/magento2ce#1016 from serhii-balko/magento2:github-11743
 - Merged commits:
   1. 2629726
   2. b326714
   3. 5f4363b
   4. 9ce4730
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

8 participants