Jump to content

Topic on Project:Support desk/Flow

Install failed on CentOS 5.3

14
78.0.236.84 (talkcontribs)

Hi, Just tried to install latest MediaWiki on my CenOS but failed in the first step after I chose language (English). The page I get after I choose language just shows some icons and emtpy disfunctional links, it's totaly messed up. What to do?

Here is a screenshot: http://www.2shared.com/photo/Z1mzj_gY/MediaWikiFail.html

Bawolff (talkcontribs)

Wow that is a fail...

Do you have php warnings enabled? perhaps some warning was emitted that would help use debug the problem.

Posting the html source of that page might be useful in debugging (or might not, I'm not really sure).

82.20.220.212 (talkcontribs)

I have exactly this problem. I have tried the hack of Installer.php as suggested by an article in this discussion group but to no avail.

Is this something to do with it?

"If you are installing MediaWiki on CentOS 5.6, use the php53 package instead of php. The php package contains PHP 5.1.x, which is not compatible with the latest version of MediaWiki."

I do not know what the php53 package is.

82.20.220.212 (talkcontribs)

I have successfully got round this problem by using version 1.15.1 of MediaWiki.

89.164.121.2 (talkcontribs)

I have updated my php to 5.3.3 but it didn't help.

89.164.121.2 (talkcontribs)

Here is error log:

[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:00 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:00 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:07 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:07 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php

Does that help?

89.164.121.2 (talkcontribs)
Bawolff (talkcontribs)

I believe it is the UTF problem. If possible try to recompile php so that PCRE has full unicode support (or use a package other than default centos package)

89.164.177.115 (talkcontribs)

I installed version 1.16 instead. It works. It's a shame that new version doesn't work.

89.164.196.212 (talkcontribs)

Anything new on this? Can I update to new version of mediawiki?

82.20.220.212 (talkcontribs)
89.164.196.212 (talkcontribs)

Anything new on this? Can I update to 1.20 version of mediawiki maybe? I'm still on 1.16 because of this error.

88.130.110.243 (talkcontribs)

You could try updating, but I don't think that this would help you. This is no bug in MediaWiki, but a sub-optimal configuration on your machine. I don't think that this would have been "fixed" in newer versions of MediaWiki.

You could try recompiling PHP or to take another PHP package so that PCRE has full unicode support. Maybe your webhost also offers a newer PHP version, which has complete PCRE unicode support.

89.164.196.212 (talkcontribs)