Andrew Reeves-Hall wrote:
I copied all the Media Wiki 1.3.2 files into my
1&1 (
www.1and1.com)
webspace, set up 1&1 to create a database, chmod 777 the config directory
and ran the install web page...sadly, it hung after I submitted all my
details (database name, etc).
Has anyone else run into this problem? What's the solution?
These things can be hard to diagnose because error messages may
disappear into PHP's buffering or just never get shown.
The ugly answer I'm afraid is to try digging in and look for the error;
the most reliable (though annoying) way is to add a die("Got here");
statement into the script, which forces the script to end, print a
message, and flush all output to the browser. Keep moving the die()
farther and farther until you stop seeing its output, and you'll have a
better idea where the problem is.
It also help *A LOT* if you can get PHP's error logging turned on, as
you might get more detailed error messages directly. Check with your
hosting provider's support staff to see if they can do this for you
and/or try adding the following near the top of config/index.php (after
the <?php bit):
ini_set('log_errors', true);
ini_set('error_log', '/filesystem/path/to/your/webspace/errors.log');
I'm not 100% sure this would work within the script, but try it.
-- brion vibber (brion @
pobox.com)