Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
20136 Lượt xem

After installing odoo 10 successfully on windows 10, it will not show page in proper design. I'll check my console it will gives me following warning :



Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/content/342-135f5fc/web.assets_common.0.css".

login:23 Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/content/560-1497dfa/web.assets_frontend.0.css".


When I have write "http://localhost:8069/web?debug=assets#" at first in url, it works fine.

Is it problem of css and js unloaded?

Please help me. Thanks in advance

Ảnh đại diện
Huỷ bỏ

Clear the cache

Câu trả lời hay nhất

Check out the installation of NODE.JS .

In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:

$ wget -qO- https://deb.nodesource.com/setup | bash -
$ apt-get install -y nodejs

In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs

$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node

AND restart
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I tried with clearing cache many times, but didn't work.


One more time I tried to uninstalled odoo and installed again. at first screen (http://localhost:8069/web/database/selector) It will give me error with 


In firefox : 

The stylesheet http://localhost:8069/web/static/lib/fontawesome/css/font-awesome.css was not loaded because its MIME type, “application/x-css”, is not “text/css”.  

The stylesheet http://localhost:8069/web/static/lib/bootstrap/css/bootstrap.css was not loaded because its MIME type, “application/x-css”, is not “text/css”.


in chrome : 

Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/static/lib/fontawesome/css/font-awesome.css".

Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/static/lib/bootstrap/css/bootstrap.css".


 Please help me.

Ảnh đại diện
Huỷ bỏ

Enterprise or community?

Tác giả

Community I tihnk. I am working on localhost.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 17
4380
0
thg 4 19
3398
0
thg 6 18
3842
4
thg 4 18
5399
0
thg 1 16
4010