Hi All
I have run through the install process on my Debian box using the web installer thing, and all I get for my troubles is a blank page...well not entirely blank, it contains the following:
<html><body></body></html>
The install process seems to work OK, it indicates success and everything. I've just run it again so I could copy and paste the info I get back, and the same thing happens. Here is what I see:
MediaWiki 1.2.4 installation
Checking environment...
* PHP 4.3.3 ok
* PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
* Have zlib support; enabling output compression.
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
* Installation directory: /var/www/internal/wiki
* Script URI path:
* Connected to database... 4.0.18-log; enabling MySQL 4 enhancements
* Database wikidb exists
* There are already MediaWiki tables in this database. Checking if updates are needed...
...ipblocks is up to date.
...already have interwiki table
...indexes seem up to 20031107 standards
...have linkscc table.
...have hitcounter table.
Initialising "MediaWiki" namespace...
Reading....done
Setting up....Done
Processing...Done
Writing...Done
Writing to MediaWiki:All_messages
Finished
* Finished update checks.
Creating LocalSettings.php...
Success! Move the LocalSettings.php file into the parent directory, then follow this link to your wiki.
...which I dutifully do, resulting the aforementioned blank page. I'd debug it if I could find *any* info on how to turn on debugging, or where debugging messages go to :-( certainly nothing is going in the webserver logs.
Anyone seen this before? Is it a database thing?
...Mike
On Apr 21, 2004, at 14:04, Mike Dickson wrote:
I have run through the install process on my Debian box using the web installer thing, and all I get for my troubles is a blank page…well not entirely blank, it contains the following:
<html><body></body></html>
Does the page actually output that, or is that just what Mozilla shows in View Source? (Mozilla will show <html><body></body></html> when there is *no output at all* from the web server.)
* Installation directory: /var/www/internal/wiki
* Script URI path:
^^^^^^^^^^^^^^^^^^^^
Ahh, that's interesting.... but seems ok.
…which I dutifully do, resulting the aforementioned blank page. I’d debug it if I could find *any* info on how to turn on debugging, or where debugging messages go to L certainly nothing is going in the webserver logs.
You could set $wgDebugLogFile = "/tmp/wikilog"; or such. (Must be writable by the web server.)
Anyone seen this before? Is it a database thing?
We've had vague reports which no developer has been able to reproduce, and nobody experiencing it has debugged it themselves. :(
Check that everything in LocalSettings.php is correct. Check the hostname. Check the paths. Check the permissions on the directories. Check that the mysql user account was set up and that you can log in with those settings. Use a packet sniffer, the "Live HTTP headers" extension for Firefox, or just telnet to port 80 to poke at it and see exactly what it returns. Try different pages. Try special pages. Try edit pages. Try changing the $wgArticlePath to "$wgScript?title=$1". Try stepping through with a debugger. Try adding die("Got to this point") statements all over the place until you see where it stops. Check your PHP configuration. (Any non-standard settings? Safe mode? File open limitations? Etc?) Try running the script from the command line. Try turning error reporting settings up or down.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org