Navigation
Records in this category
- How to install SVN (subversion) on Bluehost/Hostmonster etc.?
- How to use SVN to access the projects?
- How to install MediaWiki on hosting servers like Bluehost etc.?
- Can I install LaTeX/TeX systems on a shared host like BlueHost?
- Why latexrender based on LaTeX does not work in my WordPress/blog?
- Can I install latex2html on a shared host?
- How to use latex2html to convert my paper to webpages?
- What if I forgot the username and password for logging Ubuntu....
- A list of commonly used Linux commands/tips...
- How to enable math on MediaWiki?
- How to resolve this problem: Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert) in MediaWiki when I try to enable math?
- Error "Nothing to build for project XXX" when using Eclipse CDT?
- Eclipse failed to launch, giving the error message "Launcher unable to locate companion shared library", how to resolve it?
- Failed to parse (Can't write to or create math temp directory) when enabling math on MediaWiki, what is the problem?
Tags
Sticky FAQs
Education » Computer Science » Open Source Projects
Failed to parse (Can't write to or create math temp directory) when enabling math on MediaWiki, what is the problem?
This is related to another error How to resolve this problem: Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert) in MediaWiki when I try to enable math?
First, make sure you have two folders, each with permission 777:images/math and /images/tmp
If they do exist and have the correct permission, then check if any png file is generated under /images/math, if not, see the above problem for another error. Or, it is because of the two variables that are incorrectly set in LocalSettings.php. ---> for me this is the problem.
Look at the following vars:
$wgUploadPath = "";
$wgUploadDirectory = "";
The first one will be used for accesing the png online, in my case, my site uses redirection, so the images are not located, hence I used the absolute path for the first one, e.g., $wgUploadPath = "http://wujiewen.com/wikinotes/images". If you are to use a local path, be sure to include a slash before the folder name! e.g., /image
The second one however does not need the slash before it!
Tags: latex, math, mediawiki, parse
Related entries:
- How to create multiple indexes?
- I prefer to have my own bibliography appearance, e.g., customize my bibliography for a particular publication, how to do that?
- I need to generate both DVI and PDF, what should I write in the source code?
- Error message: ! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored ...
- How to install SVN (subversion) on Bluehost/Hostmonster etc.?
Last update: 2009-09-29 16:59
Author: Admin
Revision: 1.1
You can comment this FAQ