Mediawiki样式表错误

时间:2018-05-15 13:27:05

标签: php nginx mediawiki mediawiki-installation

我的mediawiki安装有问题。有些网站没有正确加载。我已经阅读了很多小时的错误帖子,但是找不到我的解决方案。 大多数网站都运行良好:

Main Page

Version Page

在"编辑"网站格式中断: Edit Page

我遇到以下错误: Warning Error

警告翻译:使用Script for Source ....

加载失败

所有网站上都会显示警告和错误。

URL / load.php给了我这个:

/* This file is the Web entry point for MediaWiki's ResourceLoader:
   <https://www.mediawiki.org/wiki/ResourceLoader>. In this request,
   no modules were requested. Max made me put this here. */

的LocalSettings.php:

<?php
if ( !defined( 'MEDIAWIKI' ) ) {
    exit;
}

$wgSitename = "Some_Name";
$wgScriptPath = "";
$wgServer = "http://wiki.intern.zz";
$wgResourceBasePath = $wgScriptPath;
$wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";
$wgEnableEmail = false;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "apache@wiki.intern.zz";
$wgPasswordSender = "apache@wiki.intern.zz";
$wgEnotifUserTalk = false; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = true;
$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "wikidb";
$wgDBuser = "wikiuser";
$wgDBpassword = "7YdLrbOCrtXnOS2FFGzF";
$wgDBprefix = "";
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
$wgDBmysql5 = false;
$wgMainCacheType = CACHE_ACCEL;
$wgMemCachedServers = [];
$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
$wgUseInstantCommons = false;
$wgPingback = false;
$wgShellLocale = "en_US.utf8";
#$wgCacheDirectory = "$IP/cache";
$wgLanguageCode = "de";
$wgSecretKey="46c344c2c3d7af5f4210a0ead3f30002075087328e91aeece74cd086f22bbbb6";
$wgAuthenticationTokenVersion = "1";
$wgUpgradeKey = "d585d23ed115e0bd";
$wgRightsPage = ""; 
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
$wgDiff3 = "/usr/bin/diff3";
$wgDefaultSkin = "vector";
wfLoadSkin( 'CologneBlue' );
wfLoadSkin( 'Modern' );
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Vector' );

$wgShowExceptionDetails = TRUE;

nginx.conf:

        server{
                listen 80;
                root /data/www/mediawiki;
                index index.php
                server_name wiki.intern.zz;


        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                include fastcgi.conf;
                include fastcgi_params;
        }
        }
}

始终清除缓存。

操作系统是使用Nginx和php-fpm的Alpine Linux。

/ tmp文件夹是可写的。

Nginx中没有设置重写。

旧版本是1.30.0。与英语和1.29.2相同的错误

如果您需要任何其他信息,请询问。谢谢

0 个答案:

没有答案