上周,我一直在寻找一个关于如何在一起使用Visual /Parsoid和扩展的答案。
当我试图创建/编辑一个页面时,我得到了以下错误:
Error loading data from server: apierror-visualeditor-docserver-http: HTTP 500. Would you like to retry?当前环境:
LocalSettings.php
$wgEnableWriteAPI = true;
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'http://localhost:8000',
'domain' => 'localhost',
);config.yaml
mwApis:
uri: 'http://localhost/api.php'
domain: 'localhost'httpd.conf
<Directory "D:/Wiki/htdocs">
Options None
AllowOverride All
Order allow,deny
Allow from all
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
SSPIOmitDomain On
Require valid-user
</Directory>当我从我的计算机到Parsoid服务器时,它正在工作。http://xx.xxx.xx.xx:8000。如果禁用Auth Remoteuser扩展,则Visual可以正常工作。
我试着按照Parsoid文档中的建议转发cookie,但它不起作用。这个Wiki不是私人的。
当我将以下内容添加到httpd.conf可视化编辑器中时,效果如下:
Allow from 127.0.0.1
Satisfy Any唯一的问题是,它不会自动使用Windows凭据登录用户。
发布于 2019-05-18 20:05:17
可能有点晚了,但我也有同样的问题。看来这解决了这个问题。只需注释php.ini error_reporting=E_ALL -> ;error_reporting=E_ALL中不推荐的设置即可
'error_reporting‘键在'PHP’部分下会引起问题。
https://stackoverflow.com/questions/48120475
复制相似问题