Sorry if there is not the correct location to post this. If not, could someone let me know where is the more approriate list/board etc. Thank you.
"Warning: $wgProxyKey is insecure Can't find a writable temp directory for the XHTML template. Check that the TMP environment variable points to a writable directory, or that the default temp dir (/tmp) exists and is writable."
That is the error that I am getting in attempting to install MediaWiki.
From here:
http://mail.wikipedia.org/pipermail/wikitech-l/2004-August/024401.html it was mentioned that it was something to do with the tmp-directory on the virtual hosting machine. I asked my provider to look into that and they tried a couple of things but it still didn't work.
Is that actually the issue? The manner in which the virtual hosting machine is configured in respect to the tmp directory?
Any insight or assistance would be greatly accepted.
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Nov 22, 2004, at 5:37 PM, dbw@ozreef.org wrote:
Sorry if there is not the correct location to post this. If not, could someone let me know where is the more approriate list/board etc. Thank you.
"Warning: $wgProxyKey is insecure
^^ ignore the above part, it's unrelated and harmless.
Can't find a writable temp directory for the XHTML template. Check that the TMP environment variable points to a writable directory, or that the default temp dir (/tmp) exists and is writable."
Most likely in the messages above this, there is something about PHP being in safe mode. (The installer asks that you post the complete output when seeking help; this is so that instead of guessing what your problem is, we have a better chance of being able to tell for sure.) Safe mode (and also some related options) can make it pretty much impossible for a PHP script to access the /tmp directory.
As a fallback, the wiki will try to use the images subdirectory to store the compiled template, as this is more likely to work -- but you have to make it writable first.
If you are able to set the TMP environment variable (for instance from an .htaccess file, if your hosting provider allows this) then you can also use that to set a directory for it to try using.
As a worst case, you can try disabling the template for the MonoBook skin, and it will fall back to the old default look. If the installation completed, you can set this in LocalSettings.php:
$wgUsePHPTal = false;
If installation itself is not completing, edit includes/Default.php to force it off.
From here:
http://mail.wikipedia.org/pipermail/wikitech-l/2004-August/024401.html it was mentioned that it was something to do with the tmp-directory on the virtual hosting machine. I asked my provider to look into that and they tried a couple of things but it still didn't work.
What things did they try, exactly?
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org