Topic on Project:Support desk

Please set up the wiki first.

10
80.213.70.8 (talkcontribs)

Hello.

When i press on the "Set up the wiki" then I come to my webhost's direct admin.

I tried to goto the /config/index.php but I still come to my webhost (domain.us:2222/

Any solutions ?

MaxSem (talkcontribs)

Rename config/ directory so some other title, e.g. mwconfig/.

80.213.70.8 (talkcontribs)

Thx. Works now

216.250.224.12 (talkcontribs)

I'm having the same issue, however, renaming the config directory doesn't work, it just redirects to a 404. Each subsequent time visiting server.com/wiki/index.php results in the 'Please setup the wiki first' message despite the fact that the LocalSettings.php file exists in the same directory and can be read by apache.

Thanks for any info

Reach Out to the Truth (talkcontribs)

If you could't run the installer, where did your LocalSettings.php come from?

216.250.224.12 (talkcontribs)

From an upgrade, I already had the LocalSettings.php file configured.

Thanks!

216.250.224.12 (talkcontribs)

I got this to work, so it's no longer an issue. Something must have gotten mucked up during my initial upgrade.

I re-did this from scratch, simply pointed a fresh current version to the existing (previously upgraded) database.

Thanks again,

Reach Out to the Truth (talkcontribs)

Not sure what your exact problem was, but you do not need to rerun the installer to upgrade. Copy the new files over the old, leaving LocalSettings.php in place, and run update.php to update your database.

85.228.24.61 (talkcontribs)

I've hit a similar problem. I upgraded an existing 1.16.1alpha mediawiki to 1.16.4 and now just keep getting the "Please set up the wiki first" page. I simply copied the files, then ran the DB update script. No errors seen. Any suggestions? I'm running IIS7 and PHP 5.3.6.

85.228.24.61 (talkcontribs)

There's clearly some problem with line 109 in webstart.php for me -

if( !file_exists( "$IP/LocalSettings.php" ) ) {

Simply disabling this if block allows the wiki to work fine.

Ahhh .... I just managed to google a solution. written by me when doing a mediawiki upgrade 3 years ago! LOL

problem is that IIS requires read access to the parent folder for realpath() to work properly

Reply to "Please set up the wiki first."