تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
20138 أدوات العرض

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
مايو 17
4381
0
أبريل 19
3401
0
يونيو 18
3842
4
أبريل 18
5399
0
يناير 16
4012