[Mediawiki-l] MediaWiki 1.7.1 Setup Keeps Going back to ConfigPage without errors

Simon Wagner wagner.sim88_mw at web.de
Wed Sep 13 11:19:26 UTC 2006


Well, the world won't explode, but your Mainpage won't be created.

> MA> I had the same problem (see below). As the installation got as far as
> MA> "created sysop account" I took a wild guess and commented out the next
> MA> piece of the installation file, just to see what would happen:
>
> MA> /*
> MA> $titleobj = Title::newFromText( wfMsgNoDB( "mainpage" ) );
> MA> $article = new Article( $titleobj );
> $newid = $article->>insertOn( $wgDatabase );
> MA> $revision = new Revision( array(
> 'page' =>> $newid,
> 'text' =>> wfMsg( 'mainpagetext' ) . "\n\n" . wfMsg( 
> 'mainpagedocfooter' ),
> 'comment' =>> '',
> 'user' =>> 0,
> 'user_text' =>> 'MediaWiki default',
> MA> ) );
> $revid = $revision->>insertOn( $wgDatabase );
> $article->>updateRevisionOn( $wgDatabase, $revision );
>
> MA> print "<li><pre>";
> MA> initialiseMessages();
> MA> print "</pre></li>\n";
> MA> */
>
>
> MA> And - lo and behold - the installation went on without reporting a 
> bug. The
> MA> LocalSettings.php file got written, I moved it to its directory and 
> the wiki is
> MA> working.
> MA> Does anyone know what the missing piece does? I have no idea. Somehow
> MA> I am afraid that the world will explode soon.
>
> MA> Martin
>
> MA> Am 11 Sep 2006 um 16:25 schrieb Zachary T. Wilson:
>
>>> Setting up media wiki is driving me crazy!
>>>
>>> I have tried it a couple different ways, once in my base dir and
>>> another in the wiki sub dir.  Either way it keeps going back to the
>>> config/index.php page without any errors or anything and it doesn't
>>> create my LocalSettings.php file.
>>>
>>> My permissions for the entire dir are set to user.user 777 on all
>>> files!
>>>
>>> The setup says it is ok to run:
>>>
>>> Checking environment...
>>>
>>> Please include all of the lines below when reporting installation 
>>> problems.
>>>
>>>     * PHP 5.1.6 installed
>>>     * Found database drivers for: MySQL
>>>     * PHP server API is apache; ok, using pretty URLs 
>>> (index.php/Page_Title)
>>>     * Have XML / Latin1-UTF-8 conversion support.
>>>     * PHP is configured with no memory_limit.
>>>     * Have zlib support; enabling output compression.
>>>     * Neither Turck MMCache nor eAccelerator nor APC are installed, 
>>> can't use object caching functions
>>>     * Found GNU diff3: /usr/bin/diff3.
>>>     * Found GD graphics library built-in, image thumbnailing will be 
>>> enabled if you enable uploads.
>>>     * Installation directory: /home/httpd/html/wiki/wiki
>>>     * Script URI path: /wiki
>>>     * Environment checked. You can install MediaWiki.
>>>
>>>
>>> Any ideas would be greatly appreciated!
>>>
>>>
>>> -Zach
>>>
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l at Wikimedia.org
>>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l 




More information about the MediaWiki-l mailing list