Quote:
Originally Posted by emath
on the errors from the log file i wrote it says : "unable to open image `143ebf4431f6923c64587a2965b56602_1355335161.ps': No such file or directory."
so it seems that maybe something in the script is wrong, the directory isnt right..
|
Every formula goes thought several formats: tex, dvi, ps and finally png. According to your first message, the process breaks at the dvi phase, so it's expected that the ps file doesn't get created.
To test further, please do the following. Edit vlatex/class_vlatex.php. Around line 411 (pretty at the end), change
PHP Code:
if (file_exists($f)) unlink($f);
To
PHP Code:
// if (file_exists($f)) unlink($f);
This effectively disables the cleanup of the temp directory. Please clean it by hand (something like rm vlatex/temp/*) so we can see the results of the test.
Then, log into your forum and try to add a formula to a post. The temp folder will fill up with some files, so we can know how many of them get created ok. Please, tell me the result of ls -l after that test, or delte also vlatex/temp/index.htm so I can take a look at the directory listing at
http://www.emath.co.il/forums/vlatex/temp/ (you can recreate the file after the test)