Topic on Project:Support desk

[RESOLVED] I got a syntax error while I trying to set up my wiki

5
120.105.3.100 (talkcontribs)

Hello,

Recently I trying to build my Wiki site which is hosted in 2freehosting.com.

And there are some basic information for my site:

Website: http://dpwwiki.3eeweb.com/wiki/

MediaWiki Version: 1.23.3

Main reason while I use this version is MediaWiki version which provided from hosting site is too old for me (v1.18.1).


After I uploaded all files in archive when I downloaded from MediaWiki website, and I trying to set up my site, an error occurred:

Parse error: syntax error, unexpected 'level' (T_STRING) in /home/u732177279/public_html/wiki/includes/Title.php on line 2097

(URL: http://dpwwiki.3eeweb.com/wiki/mw-config/index.php)


I have no idea to deal with this error.

Is there any solution to deal with it?

Florianschmidtwelzow (talkcontribs)

Hello!

That sounds scary. Can you post line 2097 from includes/Title.php please? Have you uploaded all files new, or overwritten some old?

120.105.3.100 (talkcontribs)

Hello, Florianschmidtwelzow,

Here's line 2097 from includes/Title.php:

[SOME OUTPUT CUT]


if ( preg_match( '/^' . preg_quote( $user->getNametion level on the source page, but it's


[SOME OUTPUT CUT]

and I'm sure I uploaded all files new.

Is there any errors on this line?

Florianschmidtwelzow (talkcontribs)

Yes, this isn't correct. It seems, that the lines 2097 to 2164 was removed. Can you download your MediaWiki version again and upload all files after you delted the old ones?

120.105.3.100 (talkcontribs)

Thank you, Florianschmidtwelzow.

I'll re-download my MediaWiki version and upload all files again.

Reply to "[RESOLVED] I got a syntax error while I trying to set up my wiki"