Last modified: 2010-05-15 15:32:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2240 - mRedirect problem
mRedirect problem
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.4.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-24 09:37 UTC by Bernhard Gschaider
Modified: 2010-05-15 15:32 UTC (History)
0 users

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


Attachments

Description Bernhard Gschaider 2005-05-24 09:37:51 UTC
When I call a page from the Wiki with http://www/wiki/index.php it does not work
(Webbrowser gives me a timeout). If I call it with
http://www/wiki/index.php/Main_Page it works.
After that browsing the Wiki works. If I edit a page and press the 'save' button
I get a timeout (but the content of the page is saved).

Manually calling the wiki from the command line (php index.php) gives no output
at all.

If I insert the line

print_r($wgOut); 

just before $wgOut->output(); I get the ouztput given below.

If I leave the command in the code and browse the Wiki it looks like all the
pages that work have in common, that the mRedirect-field is empty.

The output:

outputpage Object
(
    [mHeaders] => Array
        (
        )

    [mCookies] => Array
        (
        )

    [mMetatags] => Array
        (
        )

    [mKeywords] => Array
        (
        )

    [mLinktags] => Array
        (
        )

    [mPagetitle] => 
    [mBodytext] => 
    [mDebugtext] => 
    [mHTMLtitle] => 
    [mRobotpolicy] => 
    [mIsarticle] => 1
    [mPrintable] => 
    [mSubtitle] => 
    [mRedirect] => http://www/non_cdl/OpenFOAMWiki/index.php/Main_Page
    [mLastModified] => 
    [mCategoryLinks] => Array
        (
        )

    [mScripts] => 
    [mLinkColours] => 
    [mSuppressQuickbar] => 
    [mOnloadHandler] => 
    [mDoNothing] => 
    [mContainsOldMagic] => 0
    [mContainsNewMagic] => 0
    [mIsArticleRelated] => 1
    [mParserOptions] => parseroptions Object
        (
            [mUseTeX] => 1
            [mUseDynamicDates] => 
            [mInterwikiMagic] => 1
            [mAllowExternalImages] => 1
            [mSkin] => skinmonobook Object
                (
                    [lastdate] => 
                    [lastline] => 
                    [linktrail] => /^([a-z]+)(.*)$/sD
                    [rc_cache] => 
                    [rcCacheIndex] => 
                    [rcMoveIndex] => 
                    [postParseLinkColour] => 
                    [skinname] => 
                    [stylename] => 
                    [template] => 
                    [mOptions] => Array
                        (
                            [highlightbroken] => 1
                            [hover] => 1
                        )

                )

            [mDateFormat] => 0
            [mEditSection] => 1
            [mEditSectionOnRightClick] => 0
            [mNumberHeadings] => 
            [mShowToc] => 1
        )

    [mShowFeedLinks] => 
    [mEnableClientCache] => 1
    [mLanguageLinks] => Array
        (
        )

    [mSquidMaxage] => 1200
    [mRedirectCode] => 301
)
Comment 1 Bernhard Gschaider 2005-05-25 07:30:01 UTC
When the index.php hangs these messages appear in the Syslog:

May 25 09:24:06 server httpd2: PHP Warning:  array_map(): The first argument,
'utf8_encode', should be either NULL or a valid callback in
/var/www/non_cdl/OpenFOAMWiki/includes/GlobalFunctions.php on line 104
May 25 09:24:06 server httpd2: PHP Warning:  Invalid argument supplied for
foreach() in /var/www/non_cdl/OpenFOAMWiki/includes/GlobalFunctions.php on line 119
May 25 09:24:06 server httpd2: PHP Warning:  implode(): Bad arguments. in
/var/www/non_cdl/OpenFOAMWiki/includes/GlobalFunctions.php on line 122
Comment 2 Bernhard Gschaider 2005-05-25 08:41:50 UTC
It was pointed out to me, that the ServerName in the apache configuration was
set incorrectly. That fixed it.

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


Navigation
Links