![]() |
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.. |
Quote:
To test further, please do the following. Edit vlatex/class_vlatex.php. Around line 411 (pretty at the end), change PHP Code:
PHP Code:
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) |
i commented the row u asked .
the ls -l gives now (while im in the temp dir) : total 56 -rw-r--r-- 1 emath emath 49872 Dec 12 23:23 efa4c40fe23d50f46436522f01f442b1_1355350982.tex |
Quote:
Code:
(Path to LaTeX) --interaction=nonstopmode efa4c40fe23d50f46436522f01f442b1_1355350982.tex Code:
/usr/bin/latex --interaction=nonstopmode efa4c40fe23d50f46436522f01f442b1_1355350982.tex See if any error happens, and see if more files are generated in the directory (i.e, check ls -l again). If the previous command failed, try the same line but without the full path (just latex instead of /usr/bin). This should work, since we tested a different thing a while ago. |
ok, the command succeeded. (with the full path)
ls -l gives : Quote:
|
Quote:
It might be worth trying to install libpng just to see if that makes any difference; If you installed latex using a package manager (apt-get, yum, yast or whatever) then the dependence should have been installed, check your linux distribution on details why it wasn't. Anyway, I don't think that's the problem, so let's try something else. I'm going to prepare a debug version of class_vlatex.php to gather more information and I'll get back to you when I have it. That is unless... and I know this is a delicate question, but would you consider giving me temporary and limited ssh access to the restricted vlatex directory so I could perform tests by myself much more quickly? I'll get back to you when I have the debug class_vlatex.php. |
Quote:
For the record, if it helps somebody else, it was a LaTeX install issue, latex.fmt was missing. What finally solved the problem was to run: Code:
fmtutil-sys --all |
Quote:
and the mod requires it to be at : /.texmf/web2c/ so ive just copied the file to that directory ( using cp command ) . thanks to pod for the help. one more little thing : why does the \\ command for new line doesnt work? |
Quote:
Quote:
[tex]\begin{gathered} line 1 \\ line 2 \end{gathered}[/tex] |
in mimetex it worked with no problem, and we wrote for years like this .
is there anyway to enable this command ? |
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|