Running Moodle v 2.3
Installed TeX required packages: /usr/bin/latex /usr/bin/dvips /usr/bin/convert - all ticks.
Turned on debugging and ran the debug page "http://localhost/moodle/filter/tex/texdebug.php"
Selected option 3 and clicked on Do it. Below is the output:
The shell command
"/var/www/html/moodle/filter/tex/mimetex.linux" -e "/var/moodledata/filter/tex/9608176195573c30c6beb3cf078fdf66.gif" -- '\Large f(x)=\int_{-\infty}^x~e^{-t^2}dt'
returned status = 0
File size of mimetex executable /var/www/html/moodle/filter/tex/mimetex.linux is 830675
The file permissions are: 100755
The md5 checksum of the file is 56bcc40de905ce92ebd7b083c76e019e
Image not found!
No text output available
Now if I run the command myself from the command line it works, provides an image which I can then open in gimp (or other editor). However, re-executing this test deletes that image and gives me the same results.
I have no experience with this but I imagine I might have some permission issue, I tried to check by running the command as sudo -u apache (which again, works) so I'm a bit puzzled. Also if there was a permission problem with my /var area I would imagine the test wouldn't be able to delete my already present image.
Can anyone help me with this?
Thanks in advance.