我在Gandi.net上安装的MediaWiki有CSS问题:main page运行得很好。但是,所有的other pages都是无样式的,就好像浏览器不能访问CSS一样。
我尝试在Chrome中使用控制台进行调试,得到以下错误信息:
Refused to apply style from 'http://jollof.mariadavydenko.com/wiki/load.php?debug=false&lang=en&modules=mediawiki.feedlink%2Chelplink%2CsectionAnchor%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.content.externallinks%7Cmediawiki.skinning.interface%7Cmediawiki.special.changeslist%7Cmediawiki.special.changeslist.enhanced%2Clegend%7Cskins.monobook.styles&only=styles&skin=monobook' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
我运行的是PHP5.6和MySQL 5.7版本。我已经尝试过针对这些症状推荐的load.php .htaccess fix,但它不起作用-- load.php加载很好。任何帮助都将不胜感激。
发布于 2018-04-14 03:03:28
由于安装不完整,Cache.php文件丢失。都修好了。
https://stackoverflow.com/questions/49823330
复制相似问题