[Mediawiki-l] Math dir is empty

Farshad Bashir farshadbashir at gmail.com
Mon Jun 12 09:42:53 UTC 2006


Hallo all,

I have Mediawiki now for 1 year and everything worked fine.

I upgraded my OS to Fedora Core 4 (from 2) and I upgraded my Mediawiki
version to 1.6.7.

I have set $whUseTex to true and then installed imagemagick, latex,
dvips, gs, and convert, TeTex, Ghostscript and AMS fonts.
I have also compiled texvc.

I next loaded one of his pages and get in red text:
Can't write to or create math output directory)

I can see the PNG-file in the ../images/tmp/ dir, but nothing in math dir...

I thing it has to do something with the new hierarchy of
../images/math/ dir, but I don't know.

images/math exist.

PHP is not runnig under "safe mode".

My images dir is chmoded 777,
images/math is chmoded 777, user apache, group apache.

The images/tmp is chmoded 753, user apache, group apache.

The program can write in images/tmp dir, but it can't copy the file to
the images/math dir.

Logfile from debugmode (last part):
==============
EditPage::edit: Checking blocks
TeX: ./math/texvc
'/var/www/vhosts/zonow.com/subdomains/nl/httpdocs/images/tmp'
'/var/www/vhosts/zonow.com/subdomains/nl/httpdocs/images/tmp' 'x^3'
'utf-8'
TeX output:
 ccd81d846781f418f883642fab802ae4a<i>x</i><sup>3</sup>
---
TeX: getHashPath, hash is: cd81d846781f418f883642fab802ae4a, path is:
/var/www/vhosts/zonow.com/subdomains/nl/httpdocs/images/math/c/d/8
** private caching;  **
Request ended normally
=============

If I now look in the images/tmp/ dir, I can find the math formule, but
if I look in the images/math/ dir, there is nothing.

I don't know what to do.

Please help me, beceause I become crayzy, I am now working days on this issue.

Thanks and kind regards,



Farshad Bashir



More information about the MediaWiki-l mailing list