跳至內容
選單
此問題已被標幟
5 回覆
19864 瀏覽次數

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

頭像
捨棄

Clear the cache

最佳答案

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
頭像
捨棄
作者 最佳答案

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.

頭像
捨棄

Enterprise or community?

作者

Community I tihnk. I am working on localhost.

相關帖文 回覆 瀏覽次數 活動
2
5月 17
4200
0
4月 19
3104
0
6月 18
3542
4
4月 18
5132
0
1月 16
3712