Last modified: 2011-04-30 01:16:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19938, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17938 - {{{ITENAME}}} - Parser.php Line 2181 Bug
{{{ITENAME}}} - Parser.php Line 2181 Bug
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.14.x
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 15:32 UTC by CG
Modified: 2011-04-30 01:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description CG 2009-03-11 15:32:42 UTC
Hi,

I installed MedaWiki 1.14 on my server. When I open the wiki after the installation the mainpage ist displayed, but instead of "About MyNewWiki" it says "About {{{ITENAME}}}" at the bottom of the page.

Here is an extract of my logfile:

[Wed Mar 11 15:42:38 2009] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Uninitialized string offset:  0 in /xxxx/wiki/httpdocs/wiki/includes/parser/Parser.php on line 2181, referer: http://wiki.xxxx.de/wiki/config/index.php
[Wed Mar 11 15:42:38 2009] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Uninitialized string offset:  0 in /xxxx/wiki/httpdocs/wiki/includes/parser/Parser.php on line 2181, referer: http://wiki.xxxx.de/wiki/config/index.php

BUT when I open the loginpage "About MyNewWiki" is displayed correctly.

I also encounter some strange behavior when editing a page. The changes were applied but the first character of some lines has been dleted ...??

The copyright notice under the edit inputfield isn't displayed properly either (missing charactes and strange spaces...).

Any suggestions ?

Regards 
CG
Comment 1 Chad H. 2009-03-11 15:49:44 UTC
Kind of a dupe to bug 17897. Fixed in the 1.14 branch in r48315
Comment 2 CG 2009-03-11 17:55:57 UTC
Did not solve the problem!!

The error in the logs is gone(no wonder) but now every site is affected --> About {{{ITENAME}}}

The Parser.php behaves very strange now, have a look at --> http://wiki.blubyte.de/wiki/index.php/BluBYTE_TechWiki:Portal

Comment 3 Chad H. 2009-03-11 18:00:09 UTC
What am I supposed to be seeing? All I see is an empty page that hasn't been created. Seem to be able to edit ok.
Comment 4 CG 2009-03-11 18:00:41 UTC
Sorry, cacheproblem. patch works!
Comment 5 CG 2009-03-11 21:30:43 UTC
I'm sorry to reopen this bug, but its back. 
After patching I restarted the webserver and everything worked fine! But after some time the bug occured again. It seems that it needs some requests before it start's behaving strange.
There are no errors in the apachelog since the patch.

It's not parsing correctly: 
<an class="plainlinks"> in den zugehörigen [{[{[{{url:Special:Log|p|g|={={{{{ncode:{{{{{{PAGENAME}}}}}}}}}gbüchern suchen] oder dieser Seite [{{[{{[{{l:{{F{{L{{GENAME}}|}}|}}|=ed=t}} }}a}}eiten]</s<an<. </ 

<v>

Here's a link: http://wiki.blubyte.de/wiki/index.php/BluBYTE_TechWiki:Portal



Comment 6 Chad H. 2009-03-11 23:03:28 UTC
I'm not seeing the PHP error described in the original request, or any problems at all really. All I'm seeing in that link is a blank uncreated page. Main Page (Hauptseite) loads fine too. Reclosing as FIXED.
Comment 7 Gabriel Fjellander 2009-05-25 09:59:07 UTC
I have this bug too. I installed the wiki yesterday from the latest install package on the website. It is hard to do a link to because it appears only in perhaps one fifth of the cases. It appears only when you try to edit a page. What happens is that it appears one or more lines in the top of the page as descried above:

Notice: Uninitialized string offset: 0 in /[xxx]/laurentiistiftelsen.se/public_html/mediawiki/includes/parser/Parser.php on line 2181

and it does not display any wiki-links on the page correctly. For example "[[{{Med[[{{ki:Helppage}}|hjäl}}idan]])". I have a screenshot of it, unfortunately my page is in swedish so perhaps it isn't very understandable, but anyway. It can't really handle the wiki formatting of the links.
Comment 8 Gabriel Fjellander 2009-05-25 10:11:23 UTC
Bug seem to be fixed in revision r48311: https://bugzilla.wikimedia.org/show_bug.cgi?id=17897

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links