Topic on Project:Support desk

[RESOLVED] Installation of V 1.18.2 stopps while creating "secret key"

18
Carchaias (talkcontribs)

While installing mediawiki with the installer on a Windows2003 Server the installation got "hung up" on the step "Geheimschlüssel erstellen" (create secret key) without error messages. V1.18.1 does fine - 1.18.2 not. Any ideas are welcome.

62.28.80.66 (talkcontribs)

Hello, i have the same problem. Any ideas? tks

146.174.224.100 (talkcontribs)

Same issue here.

Jasper Deng (talkcontribs)

The developers had better check to see whether this may result from someone tinkering with the repository... See if re-downloading that or using a trunk version (the latter requires using Git) may work to rule that out.

68.15.229.108 (talkcontribs)

I also have the same issue on Windows Server 2003. - Hope there is a fix soon.

Jasper Deng (talkcontribs)

It's pretty unlikely to be dependent on your OS though...

Bawolff (talkcontribs)

Actually its probably a Unix vs Windows thing. The method for getting random numbers varries depending on OS (we call mcrypt_create_iv - but it does different things on unix vs windows).

Reedy (talkcontribs)

For reference (and interest), are you using IIS or Apache? What version?

Is it x86 or x64 windows?

Also, what PHP version?


Just wondering if we can generate a minimal test case to replicate it (as I don't really want to have to setup MW under IIS on Server 2003....)

Jasper Deng (talkcontribs)

If it's a random # generation issue, it may be webserver-independent.

Reedy (talkcontribs)

Sure, but it wouldn't be the first time weird s*** happened ;)

220.166.211.156 (talkcontribs)

iis7, win vista, php 5.3.13, mw 1.19. God damn it! :)

86.181.140.72 (talkcontribs)

Hi there,

Just for more information here..

I am on windows 2003, PHP 5.5.4, IIS, FastCGI.

I was getting the FastCGI timeout error when trying to install MediaWiki. I extended the FastCI activitytimeout to something silly and the page did complete but the keys were not generated and I could not progress.

I tried all mediawiki versions to 1.15 with the same result...so Id say it was something about the server installation rather than something in MediaWiki.

Rolf

Carchaias (talkcontribs)

My machine is win2003, IIS, php 5.3.3, cgi-fcgi, mysql 5.1.49-community

64.129.187.116 (talkcontribs)

I was having this exact same problem with mediawiki 1.19.1 and scouring the web I couldn't find the answer. For me the solution was as simple as updating PHP from vs 5.3.6 to 5.4.x. I don't know if it was a specific problem with just that release of 5.3 or what...

197.121.150.49 (talkcontribs)

@MrBassam managed to pass this bug by stop the call to mcrypt_create_iv in CryptRand.php Changae the following line , line no:306

    if ( function_exists( 'mcrypt_create_iv' )) {

To

    if ( function_exists( 'mcrypt_create_iv' ) && 1==2 ) {

Try to run install process, It will complate, And you may have to change some settings manually

75.146.105.101 (talkcontribs)

This worked great for me. Thanks

149.8.236.171 (talkcontribs)

Thank you! this worked for me too. Except the file is now called "MWCryptRand.php" under the includes folder, line 310. (version 1.22.1)

Reply to "[RESOLVED] Installation of V 1.18.2 stopps while creating "secret key""