Topic on Project:Support desk

Problem installing MediaWiki

5
46.239.99.227 (talkcontribs)

Hi,

I'm sorry if this has been solved elsewhere in the forum but I couldn't find any posts which hade these issues regarding installation. Trying to install MediaWiki on an website hosted @ byethost I ran into this problem during the installation:

Install
Setting up database... done
Creating tables... done
Creating database user... done
Populating default interwiki table... done
Initializing statistics... done
Generating secret keys... done
Warning: Secure keys ($wgSecretKey and $wgUpgradeKey) generated during installation are not completely safe. Consider changing them manually.
Creating administrator user account...
MWHttpRequest::factory: allow_url_fopen needs to be enabled for pure PHP http requests to work. If possible, curl should be used instead. See http://php.net/curl.
Backtrace:
  1. 0 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/includes/installer/Installer.php(1445): MWHttpRequest::factory('https://lists.w...', Array)
  2. 1 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/includes/installer/Installer.php(1423): Installer->subscribeToMediaWikiAnnounce(Object(Status))
  3. 2 [internal function]: Installer->createSysop(Object(MysqlInstaller))
  4. 3 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/includes/installer/Installer.php(1314): call_user_func(Array, Object(MysqlInstaller))
  5. 4 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/includes/installer/WebInstallerPage.php(1084): Installer->performInstallation(Array, Array)
  6. 5 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/includes/installer/WebInstaller.php(250): WebInstaller_Install->execute()
  7. 6 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/mw-config/index.php(46): WebInstaller->execute(Array)
  8. 7 /home/vol7/byethost32.com/b32_5337545/htdocs/wiki/mw-config/index.php(14): wfInstallerMain()
  9. 8 {main}


I have:

Operating system: Linux (That byethost is running on)

Apache version:2.2.15 (Unix)

PHP version:5.2.13

MySQL version:5.1.45


The url: http://tune.byethost32.com/wiki

I can't seem to understand what the problem is. But this is the first time I have tried to install MediaWiki so I don't understand the number of error messages very well either. For reference Wordpress is working just fine with the Sql and PHP.

I really appreciate all the help I can get...

MaxSem (talkcontribs)

Your PHP doesn't seem to have any means of making HTTP requests. Installer exploding in such situations is certainly a bug, as a workaround don't choose Subscribe to the release announcements mailing list.

46.239.99.227 (talkcontribs)

I might have figured out what the problem is. That the webhosting service I use have the "allow_url_fopen" disabled in PHP, and does not support curl in the free version. Have I understood it correctly that this is infact the problem, and there is no workaround for this?

MaxSem (talkcontribs)

Reported as bug 29959, see the workaround above.

46.239.99.227 (talkcontribs)

Thanks for the very fast reply Max.

This solved the problem.

Reply to "Problem installing MediaWiki"