문제

내 Texvc 인 작동,이후 texvc /home/wiki/tmp /home/wiki/math "y=x+2"

Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn>

LocalSettings.php at/var/www/wiki (원본)

$IP = "81.111.1.1";
$wgMathPath         = "{$wgUploadPath}/math";
$wgMathDirectory = "{$IP}/images/math";
$wgUploadDirectory  = "{$IP}/images";
$wgUploadPath       = "{$wgScriptPath}/images";
$wgTexvc            = "{$IP}/math/texvc";  # Path to compiled 
texvc
$wgMathDirectory    = "{$wgUploadDirectory}/math";
$wgTmpDirectory     = "{$wgUploadDirectory}/tmp";

나는 나 Firefox 에서 위키고 나오 출력

Warning: require_once(81.111.1.1/includes/OutputHandler.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/wiki/includes/WebStart.php on line 123

Fatal error: require_once() [function.require]: Failed opening required '81.111.1.1/includes/OutputHandler.php' (include_path='/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:.:/usr/share/php:/usr/share/pear') in /var/www/wiki/includes/WebStart.php on line 123

내가 사용하고 나의 올바른 IP 변수$IP 에 /var/www/wiki/LocalSettings.php.나는 복사/wiki/includes/DefaultSettigs.php 기/wiki/지만,수학 방정식은 여전히 노력하고 있습니다.

나는 성공적으로 실행 RCS'에 대한 제안을 포함하여 경로를 변수$IP.나는 비슷한 경고와 오류가합니다.

당신은 무엇을 변경에서 나는 설정을 만들 수학 formulee 작동하는가?

도움이 되었습니까?

해결책

체크인 경우에는 수학 temp 디렉토리가 존재하고 사용 권한에서는 디렉토리에 있습니다.내 생각에 모드 777 이 필요하다면(즉, chmod a+w /path/to/dir).

몇 가지 추가 도움말에서 미디어위키 설명서.

편집:변수 $IP 은(지역)포함한 경로 및 IP-주소:

포함한 경로:합$IP(경로를 포함)변수 보유하고있는 로컬 파일의 경로를 기초의 설치합니다.는지 확인을 참조하는 완전한 자격을 갖춘 파일 경로.을 포함하지 않는 슬래의 끝에서 경로.이 DefaultSettings.php 파일을 가져옵 로드 디렉토리에서 지정한 IP 변수입니다.

다른 팁

내 미디어위키에서 찾/var/www/wiki.그러나 내$IP 에만 의미하는 IP 주소가 있습니다.그것은 또한 참조하의 위치는 설치 디렉토리에 있습니다.

경$IP 변수에서 /usr/share/mediawiki 하기 /var/www/wiki 지로 리디렉션에 모두.정말 유용하고 편리하게 액세스할 수 있는 내 wiki 내 집의 외부지 없어 내에 IP 변수입니다.

이 변화학 formulee 작동합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top